Added regression test for PR148.
[cacao.git] / tests / regression / bugzilla / All.java
index 8e144ea2e645dc5ba6347b584262081e53728938..206d7c9b6046cf18629632abe8d0a255d7a21afd 100644 (file)
@@ -1,6 +1,6 @@
 /* tests/regression/bugzilla/All.java - runs all CACAO regression unit tests
 
-   Copyright (C) 2008
+   Copyright (C) 2008, 2009
    CACAOVM - Verein zur Foerderung der freien virtuellen Maschine CACAO
 
    This file is part of CACAO.
 */
 
 
-import junit.framework.*;
-import junit.textui.*;
-
-public class All extends TestCase {
-    /**
-     * Runs all CACAO regression unit tests using
-     * junit.textui.TestRunner
-     */
-    public static void main(String[] args) {
-        Test s = suite();
-        TestRunner.run(s);
-    }
-
-    /**
-     * Collects all CACAO regression unit tests as one suite
-     */
-    public static Test suite() {
-        TestSuite suite = new TestSuite("CACAO Regression Unit Tests");
-
-        // Add your test here.
-
-        suite.addTest(new TestSuite(PR52.class));
-        suite.addTest(new TestSuite(PR57.class));
-        suite.addTest(new TestSuite(PR58.class));
-
-        return suite;
-    }
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
+
+@RunWith(Suite.class)
+
+@Suite.SuiteClasses({
+PR52.class,
+PR57.class,
+PR58.class,
+PR65.class,
+PR80.class,
+PR89.class,
+PR112.class,
+PR113.class,
+PR114.class,
+PR116.class,
+PR119.class,
+PR125.class,
+PR131.class,
+PR148.class
+})
+
+public class All {
 }