summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbkolb2007-12-15 05:37:09 (EST)
committerbkolb2007-12-15 05:37:09 (EST)
commit51ca52b7ce2d3bd08ce3384792fef52f4ea7201d (patch)
tree647baf38e88a82019929655ec2284747b48c55b3
parente00676d3cc2f4d644d7555f2c0e78200423d2c48 (diff)
downloadorg.eclipse.xpand-51ca52b7ce2d3bd08ce3384792fef52f4ea7201d.zip
org.eclipse.xpand-51ca52b7ce2d3bd08ce3384792fef52f4ea7201d.tar.gz
org.eclipse.xpand-51ca52b7ce2d3bd08ce3384792fef52f4ea7201d.tar.bz2
fixed tests
-rw-r--r--tests/org.eclipse.m2t.common.recipe.ui.tests/src/org/eclipse/m2t/common/recipe/eclipseChecks/test/AllAllTests.java15
-rw-r--r--tests/org.eclipse.xpand.tests/src/org/eclipse/xpand/internal/tests/AllTests.java27
-rw-r--r--tests/org.eclipse.xtend.shared.ui.test/src/org/eclipse/xtend/shared/ui/test/AllTests.java15
-rw-r--r--tests/org.eclipse.xtend.typesystem.emf.tests/src/org/eclipse/xtend/typesystem/emf/AllAllTests.java8
-rw-r--r--tests/org.eclipse.xtend.typesystem.emf.tests/src/org/eclipse/xtend/typesystem/emf/AllTests.java1
5 files changed, 44 insertions, 22 deletions
diff --git a/tests/org.eclipse.m2t.common.recipe.ui.tests/src/org/eclipse/m2t/common/recipe/eclipseChecks/test/AllAllTests.java b/tests/org.eclipse.m2t.common.recipe.ui.tests/src/org/eclipse/m2t/common/recipe/eclipseChecks/test/AllAllTests.java
new file mode 100644
index 0000000..ff4ba58
--- /dev/null
+++ b/tests/org.eclipse.m2t.common.recipe.ui.tests/src/org/eclipse/m2t/common/recipe/eclipseChecks/test/AllAllTests.java
@@ -0,0 +1,15 @@
+package org.eclipse.m2t.common.recipe.eclipseChecks.test;
+
+import org.eclipse.m2t.common.recipe.eclipseChecks.test.tests.AllTests;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+public class AllAllTests{
+
+ public static Test suite() {
+ TestSuite suite = new TestSuite("All Test for org.eclipse.m2t.common.recipe.ui");
+ suite.addTest(AllTests.suite());
+ return suite;
+ }
+}
diff --git a/tests/org.eclipse.xpand.tests/src/org/eclipse/xpand/internal/tests/AllTests.java b/tests/org.eclipse.xpand.tests/src/org/eclipse/xpand/internal/tests/AllTests.java
index e1466fd..a0afd04 100644
--- a/tests/org.eclipse.xpand.tests/src/org/eclipse/xpand/internal/tests/AllTests.java
+++ b/tests/org.eclipse.xpand.tests/src/org/eclipse/xpand/internal/tests/AllTests.java
@@ -1,21 +1,24 @@
package org.eclipse.xpand.internal.tests;
-
import org.eclipse.xpand.internal.tests.analyze.AllPackageTests;
+import junit.framework.Test;
import junit.framework.TestSuite;
-public class AllTests extends TestSuite{
-
- public AllTests() {
- addTest(org.eclipse.xpand.internal.tests.pr.AllPackageTests.suite());
- addTest(org.eclipse.xpand.internal.tests.AllPackageTests.suite());
- addTest(AllPackageTests.suite());
- addTest(org.eclipse.xpand.internal.tests.codeassist.AllPackageTests.suite());
- addTest(org.eclipse.xpand.internal.tests.evaluate.AllPackageTests.suite());
- addTest(org.eclipse.xpand.internal.tests.impl.AllPackageTests.suite());
- addTest(org.eclipse.xpand.internal.tests.output.AllPackageTests.suite());
- addTest(org.eclipse.xpand.internal.tests.parser.AllPackageTests.suite());
+public class AllTests {
+
+ public static Test suite() {
+ TestSuite suite = new TestSuite("All Test for org.eclipse.xpand");
+ suite.addTest(org.eclipse.xpand.internal.tests.pr.AllPackageTests.suite());
+ suite.addTest(org.eclipse.xpand.internal.tests.AllPackageTests.suite());
+ suite.addTest(AllPackageTests.suite());
+ suite.addTest(org.eclipse.xpand.internal.tests.codeassist.AllPackageTests.suite());
+ suite.addTest(org.eclipse.xpand.internal.tests.evaluate.AllPackageTests.suite());
+ suite.addTest(org.eclipse.xpand.internal.tests.impl.AllPackageTests.suite());
+ suite.addTest(org.eclipse.xpand.internal.tests.output.AllPackageTests.suite());
+ suite.addTest(org.eclipse.xpand.internal.tests.parser.AllPackageTests.suite());
+ return suite;
+
}
}
diff --git a/tests/org.eclipse.xtend.shared.ui.test/src/org/eclipse/xtend/shared/ui/test/AllTests.java b/tests/org.eclipse.xtend.shared.ui.test/src/org/eclipse/xtend/shared/ui/test/AllTests.java
index 58f1ec2..8db83bb 100644
--- a/tests/org.eclipse.xtend.shared.ui.test/src/org/eclipse/xtend/shared/ui/test/AllTests.java
+++ b/tests/org.eclipse.xtend.shared.ui.test/src/org/eclipse/xtend/shared/ui/test/AllTests.java
@@ -2,15 +2,18 @@ package org.eclipse.xtend.shared.ui.test;
import org.eclipse.xtend.shared.ui.test.core.AllPackageTests;
+import junit.framework.Test;
import junit.framework.TestSuite;
-public class AllTests extends TestSuite {
+public class AllTests{
- public AllTests() {
- addTest(AllPackageTests.suite());
- addTest(org.eclipse.xtend.shared.ui.test.core.metamodel.jdt.AllPackageTests.suite());
- addTest(org.eclipse.xtend.shared.ui.test.xpand2.core.AllPackageTests.suite());
- addTest(org.eclipse.xtend.shared.ui.test.xpand2.emf.AllPackageTests.suite());
+ public static Test suite() {
+ TestSuite suite = new TestSuite("All Test for org.eclipse.xtend.shared.ui");
+ suite.addTest(AllPackageTests.suite());
+ suite.addTest(org.eclipse.xtend.shared.ui.test.core.metamodel.jdt.AllPackageTests.suite());
+ suite.addTest(org.eclipse.xtend.shared.ui.test.xpand2.core.AllPackageTests.suite());
+ suite.addTest(org.eclipse.xtend.shared.ui.test.xpand2.emf.AllPackageTests.suite());
+ return suite;
}
}
diff --git a/tests/org.eclipse.xtend.typesystem.emf.tests/src/org/eclipse/xtend/typesystem/emf/AllAllTests.java b/tests/org.eclipse.xtend.typesystem.emf.tests/src/org/eclipse/xtend/typesystem/emf/AllAllTests.java
index 60edb85..1444c9a 100644
--- a/tests/org.eclipse.xtend.typesystem.emf.tests/src/org/eclipse/xtend/typesystem/emf/AllAllTests.java
+++ b/tests/org.eclipse.xtend.typesystem.emf.tests/src/org/eclipse/xtend/typesystem/emf/AllAllTests.java
@@ -3,9 +3,11 @@ package org.eclipse.xtend.typesystem.emf;
import junit.framework.Test;
import junit.framework.TestSuite;
-public class AllAllTests extends TestSuite {
+public class AllAllTests{
- public AllAllTests() {
- addTest(AllTests.suite());
+ public static Test suite() {
+ TestSuite suite = new TestSuite("All Test for org.eclipse.xtend.typesystem.emf");
+ suite.addTest(AllTests.suite());
+ return suite;
}
}
diff --git a/tests/org.eclipse.xtend.typesystem.emf.tests/src/org/eclipse/xtend/typesystem/emf/AllTests.java b/tests/org.eclipse.xtend.typesystem.emf.tests/src/org/eclipse/xtend/typesystem/emf/AllTests.java
index 73c2730..cdd76dd 100644
--- a/tests/org.eclipse.xtend.typesystem.emf.tests/src/org/eclipse/xtend/typesystem/emf/AllTests.java
+++ b/tests/org.eclipse.xtend.typesystem.emf.tests/src/org/eclipse/xtend/typesystem/emf/AllTests.java
@@ -10,7 +10,6 @@ public class AllTests {
"Test for org.eclipse.xtend.typesystem.emf");
//$JUnit-BEGIN$
suite.addTestSuite(EmfMetaModelTest.class);
- suite.addTest(AllTests.suite());
suite.addTestSuite(EnumTypeTest.class);
//$JUnit-END$
return suite;