From: David S. <ds...@us...> - 2006-11-21 18:53:55
|
Update of /cvsroot/junit/junit/src/junit/tests In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv19867/src/junit/tests Added Files: AllTests.java WasRun.java package-info.java Log Message: Created a separate src folder for sources, and adjusted Eclipse classpath and build file accordingly --- NEW FILE: AllTests.java --- package junit.tests; import junit.framework.Test; import junit.framework.TestSuite; /** * TestSuite that runs all the JUnit tests * */ public class AllTests { public static void main(String[] args) { junit.textui.TestRunner.run(suite()); } public static Test suite() { TestSuite suite= new TestSuite("Framework Tests"); suite.addTest(junit.tests.framework.AllTests.suite()); suite.addTest(junit.tests.runner.AllTests.suite()); suite.addTest(junit.tests.extensions.AllTests.suite()); return suite; } } --- NEW FILE: WasRun.java --- package junit.tests; import junit.framework.TestCase; /** * A helper test case for testing whether the testing method * is run. */ public class WasRun extends TestCase { public boolean fWasRun= false; @Override protected void runTest() { fWasRun= true; } } --- NEW FILE: package-info.java --- /** * Tests the JUnit v3.x framework. */ package junit.tests; |