Browse Source

and away we go ... 1.5.3 tests

tags/PRE_PIPELINE
aclement 18 years ago
parent
commit
c3b3732cc9

+ 2
- 0
tests/src/org/aspectj/systemtest/AllTests15.java View File

@@ -10,6 +10,7 @@ import org.aspectj.systemtest.ajc150.AllTestsAspectJ150;
import org.aspectj.systemtest.ajc150.ataspectj.AtAjAnnotationGenTests;
import org.aspectj.systemtest.ajc151.AllTestsAspectJ151;
import org.aspectj.systemtest.ajc152.AllTestsAspectJ152;
import org.aspectj.systemtest.ajc153.AllTestsAspectJ153;

public class AllTests15 {

@@ -20,6 +21,7 @@ public class AllTests15 {
suite.addTest(AllTestsAspectJ150.suite());
suite.addTest(AllTestsAspectJ151.suite());
suite.addTest(AllTestsAspectJ152.suite());
suite.addTest(AllTestsAspectJ153.suite());
suite.addTest(AtAjAnnotationGenTests.suite());
//$JUnit-END$
return suite;

+ 32
- 0
tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java View File

@@ -0,0 +1,32 @@
/*******************************************************************************
* Copyright (c) 2006 IBM
* 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.ajc153;

import java.io.File;

import junit.framework.Test;

import org.aspectj.testing.XMLBasedAjcTestCase;

public class Ajc153Tests extends org.aspectj.testing.XMLBasedAjcTestCase {

// public void testArgnamesAndJavac_pr148381() { runTest("argNames and javac");}

/////////////////////////////////////////
public static Test suite() {
return XMLBasedAjcTestCase.loadSuite(Ajc153Tests.class);
}

protected File getSpecFile() {
return new File("../tests/src/org/aspectj/systemtest/ajc153/ajc153.xml");
}
}

+ 25
- 0
tests/src/org/aspectj/systemtest/ajc153/AllTestsAspectJ153.java View File

@@ -0,0 +1,25 @@
/*******************************************************************************
* Copyright (c) 2006 IBM
* 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.ajc153;

import junit.framework.Test;
import junit.framework.TestSuite;

public class AllTestsAspectJ153 {

public static Test suite() {
TestSuite suite = new TestSuite("AspectJ 1.5.3 tests");
//$JUnit-BEGIN$
suite.addTest(Ajc153Tests.suite());
//$JUnit-END$
return suite;
}
}

+ 17
- 0
tests/src/org/aspectj/systemtest/ajc153/ajc153.xml View File

@@ -0,0 +1,17 @@
<!DOCTYPE suite SYSTEM "../tests/ajcTestSuite.dtd"[]>

<!-- AspectJ v1.5.3 Tests -->
<suite>

<ajc-test dir="bugs153/pr148381" title="argNames and javac">
<!--compile files="C.java" options="-1.5"/>
<compile files="A.java" options="-1.5"/-->
<compile files="Main.java,Monitor.java" options="-1.5" outjar="foo.jar" classpath="code.jar"/>
<run class="test.Main" classpath="$sandbox/code.jar" ltw="aop.xml">
<stderr>
<line text="goo"/>
</stderr>
</run>
</ajc-test>
</suite>

Loading…
Cancel
Save