@@ -37,7 +37,6 @@ public class AllTests16 { | |||
suite.addTest(AllTestsAspectJ1610.suite()); | |||
suite.addTest(AllTestsAspectJ1611.suite()); | |||
suite.addTest(AllTestsAspectJ1612.suite()); | |||
suite.addTest(AllTests15.suite()); | |||
// $JUnit-END$ | |||
return suite; | |||
} |
@@ -0,0 +1,22 @@ | |||
/* | |||
* Created on 19-01-2005 | |||
*/ | |||
package org.aspectj.systemtest; | |||
import junit.framework.Test; | |||
import junit.framework.TestSuite; | |||
import org.aspectj.systemtest.ajc170.AllTestsAspectJ170; | |||
public class AllTests17 { | |||
public static Test suite() { | |||
TestSuite suite = new TestSuite("AspectJ System Test Suite - JDK 1.7"); | |||
// $JUnit-BEGIN$ | |||
suite.addTest(AllTestsAspectJ170.suite()); | |||
suite.addTest(AllTests16.suite()); | |||
suite.addTest(AllTests15.suite()); | |||
// $JUnit-END$ | |||
return suite; | |||
} | |||
} |
@@ -0,0 +1,43 @@ | |||
/******************************************************************************* | |||
* Copyright (c) 2008 Contributors | |||
* All rights reserved. This program and the accompanying materials | |||
* are made available under the terms of the Eclipse Public License v1.0 | |||
* which accompanies this distribution, and is available at | |||
* http://www.eclipse.org/legal/epl-v10.html | |||
* | |||
* Contributors: | |||
* Andy Clement - initial API and implementation | |||
*******************************************************************************/ | |||
package org.aspectj.systemtest.ajc170; | |||
import java.io.File; | |||
import junit.framework.Test; | |||
import org.aspectj.testing.XMLBasedAjcTestCase; | |||
/** | |||
* @author Andy Clement | |||
*/ | |||
public class Ajc170Tests extends org.aspectj.testing.XMLBasedAjcTestCase { | |||
public void testMissingImpl_363979() { | |||
runTest("missing impl"); | |||
} | |||
// public void testMissingImpl_363979_2() { | |||
// runTest("missing impl 2"); | |||
// } | |||
// --- | |||
public static Test suite() { | |||
return XMLBasedAjcTestCase.loadSuite(Ajc170Tests.class); | |||
} | |||
@Override | |||
protected File getSpecFile() { | |||
return new File("../tests/src/org/aspectj/systemtest/ajc170/ajc170.xml"); | |||
} | |||
} |
@@ -0,0 +1,25 @@ | |||
/******************************************************************************* | |||
* Copyright (c) 2008 Contributors | |||
* All rights reserved. This program and the accompanying materials | |||
* are made available under the terms of the Eclipse Public License v1.0 | |||
* which accompanies this distribution, and is available at | |||
* http://www.eclipse.org/legal/epl-v10.html | |||
* | |||
* Contributors: | |||
* Andy Clement - initial API and implementation | |||
*******************************************************************************/ | |||
package org.aspectj.systemtest.ajc170; | |||
import junit.framework.Test; | |||
import junit.framework.TestSuite; | |||
public class AllTestsAspectJ170 { | |||
public static Test suite() { | |||
TestSuite suite = new TestSuite("AspectJ 1.7.0 tests"); | |||
// $JUnit-BEGIN$ | |||
suite.addTest(Ajc170Tests.suite()); | |||
// $JUnit-END$ | |||
return suite; | |||
} | |||
} |
@@ -0,0 +1,24 @@ | |||
<!DOCTYPE suite SYSTEM "../tests/ajcTestSuite.dtd"[]> | |||
<suite> | |||
<ajc-test dir="bugs170/pr363979" title="missing impl"> | |||
<compile files="Example.java" options="-1.5"/> | |||
<run class="Example"> | |||
<stdout> | |||
<line text="yes"/> | |||
</stdout> | |||
</run> | |||
</ajc-test> | |||
<ajc-test dir="bugs170/pr363979" title="missing impl 2"> | |||
<compile files="Example2.java" options="-1.5"/> | |||
<run class="Example2"> | |||
<stdout> | |||
<line text="yes"/> | |||
</stdout> | |||
</run> | |||
</ajc-test> | |||
</suite> |