Browse Source

initial version of common JUnit driver usable from Eclipse

tags/mostlyLastEclipse2xTree_20040112
wisberg 20 years ago
parent
commit
73ea8b743c

+ 22
- 0
run-all-junit-tests/.classpath View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="testsrc"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="src" path="/ajbrowser"/>
<classpathentry kind="src" path="/ajde"/>
<classpathentry kind="src" path="/asm"/>
<classpathentry kind="src" path="/bridge"/>
<classpathentry kind="src" path="/build"/>
<classpathentry kind="src" path="/org.aspectj.ajdt.core"/>
<classpathentry kind="src" path="/org.eclipse.jdt.core"/>
<classpathentry kind="src" path="/runtime"/>
<classpathentry kind="src" path="/taskdefs"/>
<classpathentry kind="src" path="/testing"/>
<classpathentry kind="src" path="/testing-client"/>
<classpathentry kind="src" path="/testing-drivers"/>
<classpathentry kind="src" path="/testing-util"/>
<classpathentry kind="src" path="/util"/>
<classpathentry kind="src" path="/weaver"/>
<classpathentry kind="lib" path="/lib/junit/junit.jar" sourcepath="/lib/junit/junit-src.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>

+ 32
- 0
run-all-junit-tests/.project View File

@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>run-all-junit-tests</name>
<comment></comment>
<projects>
<project>ajbrowser</project>
<project>ajde</project>
<project>asm</project>
<project>bridge</project>
<project>build</project>
<project>org.aspectj.ajdt.core</project>
<project>org.eclipse.jdt.core</project>
<project>runtime</project>
<project>taskdefs</project>
<project>testing</project>
<project>testing-client</project>
<project>testing-drivers</project>
<project>testing-util</project>
<project>util</project>
<project>weaver</project>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

+ 38
- 0
run-all-junit-tests/testsrc/AllTests.java View File

@@ -0,0 +1,38 @@
/* *******************************************************************
* Copyright (c) 2003 Contributors.
* All rights reserved.
* This program and the accompanying materials are made available
* under the terms of the Common Public License v1.0
* which accompanies this distribution and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* Wes Isberg initial implementation
* ******************************************************************/

// default package
import junit.framework.*;

public class AllTests extends TestCase {

public static TestSuite suite() {
TestSuite suite = new TestSuite(AllTests.class.getName());
suite.addTest(AjbrowserModuleTests.suite());
suite.addTest(AjdeModuleTests.suite());
suite.addTest(AsmModuleTests.suite());
suite.addTest(BridgeModuleTests.suite());
suite.addTest(EajcModuleTests.suite());
suite.addTest(RuntimeModuleTests.suite());
suite.addTest(TaskdefsModuleTests.suite());
suite.addTest(TestingModuleTests.suite());
suite.addTest(TestingDriversModuleTests.suite());
suite.addTest(UtilModuleTests.suite());
suite.addTest(BcweaverModuleTests.suite());
return suite;
}

public AllTests(String name) {
super(name);
}

}

Loading…
Cancel
Save