summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbkolb2007-12-14 20:10:36 (EST)
committer bkolb2007-12-14 20:10:36 (EST)
commit954ec30426f3d0491d23ead3a930c99869f9e960 (patch)
tree4cf603c0b2995f390d28abb2c56af0811f18d2bc
parentff1de77ad1f1b76ffc30608974386c61757251e1 (diff)
downloadorg.eclipse.xpand-954ec30426f3d0491d23ead3a930c99869f9e960.zip
org.eclipse.xpand-954ec30426f3d0491d23ead3a930c99869f9e960.tar.gz
org.eclipse.xpand-954ec30426f3d0491d23ead3a930c99869f9e960.tar.bz2
added suites
-rw-r--r--tests/org.eclipse.xtend.shared.ui.test/src/org/eclipse/xtend/shared/ui/test/AllTests.java16
-rw-r--r--tests/org.eclipse.xtend.shared.ui.test/src/org/eclipse/xtend/shared/ui/test/core/AllPackageTests.java18
-rw-r--r--tests/org.eclipse.xtend.shared.ui.test/src/org/eclipse/xtend/shared/ui/test/core/metamodel/jdt/AllPackageTests.java17
-rw-r--r--tests/org.eclipse.xtend.shared.ui.test/src/org/eclipse/xtend/shared/ui/test/xpand2/core/AllPackageTests.java21
-rw-r--r--tests/org.eclipse.xtend.shared.ui.test/src/org/eclipse/xtend/shared/ui/test/xpand2/emf/AllPackageTests.java17
-rw-r--r--tests/org.eclipse.xtend.shared.ui.test/test.xml66
6 files changed, 155 insertions, 0 deletions
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
new file mode 100644
index 0000000..58f1ec2
--- /dev/null
+++ b/tests/org.eclipse.xtend.shared.ui.test/src/org/eclipse/xtend/shared/ui/test/AllTests.java
@@ -0,0 +1,16 @@
+package org.eclipse.xtend.shared.ui.test;
+
+import org.eclipse.xtend.shared.ui.test.core.AllPackageTests;
+
+import junit.framework.TestSuite;
+
+public class AllTests extends TestSuite {
+
+ 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());
+ }
+
+}
diff --git a/tests/org.eclipse.xtend.shared.ui.test/src/org/eclipse/xtend/shared/ui/test/core/AllPackageTests.java b/tests/org.eclipse.xtend.shared.ui.test/src/org/eclipse/xtend/shared/ui/test/core/AllPackageTests.java
new file mode 100644
index 0000000..a3d7fb2
--- /dev/null
+++ b/tests/org.eclipse.xtend.shared.ui.test/src/org/eclipse/xtend/shared/ui/test/core/AllPackageTests.java
@@ -0,0 +1,18 @@
+package org.eclipse.xtend.shared.ui.test.core;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+public class AllPackageTests {
+
+ public static Test suite() {
+ TestSuite suite = new TestSuite(
+ "Test for org.eclipse.xtend.shared.ui.test.core");
+ //$JUnit-BEGIN$
+ suite.addTestSuite(JdtOawClassicTest.class);
+ suite.addTestSuite(JdtJavaBeanTest.class);
+ //$JUnit-END$
+ return suite;
+ }
+
+}
diff --git a/tests/org.eclipse.xtend.shared.ui.test/src/org/eclipse/xtend/shared/ui/test/core/metamodel/jdt/AllPackageTests.java b/tests/org.eclipse.xtend.shared.ui.test/src/org/eclipse/xtend/shared/ui/test/core/metamodel/jdt/AllPackageTests.java
new file mode 100644
index 0000000..524fb6b
--- /dev/null
+++ b/tests/org.eclipse.xtend.shared.ui.test/src/org/eclipse/xtend/shared/ui/test/core/metamodel/jdt/AllPackageTests.java
@@ -0,0 +1,17 @@
+package org.eclipse.xtend.shared.ui.test.core.metamodel.jdt;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+public class AllPackageTests {
+
+ public static Test suite() {
+ TestSuite suite = new TestSuite(
+ "Test for org.eclipse.xtend.shared.ui.test.core.metamodel.jdt");
+ //$JUnit-BEGIN$
+ suite.addTestSuite(JdtMetaModelTest.class);
+ //$JUnit-END$
+ return suite;
+ }
+
+}
diff --git a/tests/org.eclipse.xtend.shared.ui.test/src/org/eclipse/xtend/shared/ui/test/xpand2/core/AllPackageTests.java b/tests/org.eclipse.xtend.shared.ui.test/src/org/eclipse/xtend/shared/ui/test/xpand2/core/AllPackageTests.java
new file mode 100644
index 0000000..cd28712
--- /dev/null
+++ b/tests/org.eclipse.xtend.shared.ui.test/src/org/eclipse/xtend/shared/ui/test/xpand2/core/AllPackageTests.java
@@ -0,0 +1,21 @@
+package org.eclipse.xtend.shared.ui.test.xpand2.core;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+public class AllPackageTests {
+
+ public static Test suite() {
+ TestSuite suite = new TestSuite(
+ "Test for org.eclipse.xtend.shared.ui.test.xpand2.core");
+ //$JUnit-BEGIN$
+ suite.addTestSuite(Bug155018Test.class);
+ suite.addTestSuite(JdtJavaBeanTest.class);
+ suite.addTestSuite(OawProjectTest.class);
+ suite.addTestSuite(SimpleProjectTest.class);
+ suite.addTestSuite(ASTTest.class);
+ //$JUnit-END$
+ return suite;
+ }
+
+}
diff --git a/tests/org.eclipse.xtend.shared.ui.test/src/org/eclipse/xtend/shared/ui/test/xpand2/emf/AllPackageTests.java b/tests/org.eclipse.xtend.shared.ui.test/src/org/eclipse/xtend/shared/ui/test/xpand2/emf/AllPackageTests.java
new file mode 100644
index 0000000..5db419b
--- /dev/null
+++ b/tests/org.eclipse.xtend.shared.ui.test/src/org/eclipse/xtend/shared/ui/test/xpand2/emf/AllPackageTests.java
@@ -0,0 +1,17 @@
+package org.eclipse.xtend.shared.ui.test.xpand2.emf;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+public class AllPackageTests {
+
+ public static Test suite() {
+ TestSuite suite = new TestSuite(
+ "Test for org.eclipse.xtend.shared.ui.test.xpand2.emf");
+ //$JUnit-BEGIN$
+ suite.addTestSuite(EmfXpandTest.class);
+ //$JUnit-END$
+ return suite;
+ }
+
+}
diff --git a/tests/org.eclipse.xtend.shared.ui.test/test.xml b/tests/org.eclipse.xtend.shared.ui.test/test.xml
new file mode 100644
index 0000000..99eb521
--- /dev/null
+++ b/tests/org.eclipse.xtend.shared.ui.test/test.xml
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2005 openArchitectureWare commiters and others.
+ * 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:
+ * openArchitectureWare commiters - Initial API and implementation
+ *
+ * </copyright>
+ *
+ * $Id: test.xml,v 1.1 2007/12/15 01:10:36 bkolb Exp $
+ */
+-->
+
+<project name="testsuite" default="run" basedir=".">
+ <!-- The property ${eclipse-home} should be passed into this script -->
+ <!-- Set a meaningful default value for when it is not. -->
+ <property name="eclipse-home" value="${basedir}\..\.."/>
+
+ <!-- sets the properties plugin-name, and library-file -->
+ <property name="plugin-name" value="org.eclipse.xpand.tests"/>
+ <property name="library-file" value="${eclipse-home}/plugins/org.eclipse.test/library.xml"/>
+
+ <!-- This target holds all initialization code that needs to be done for -->
+ <!-- all tests that are to be run. Initialization for individual tests -->
+ <!-- should be done within the body of the suite target. -->
+ <target name="init">
+ <tstamp/>
+ <delete>
+ <fileset dir="${eclipse-home}" includes="org*.xml"/>
+ </delete>
+ </target>
+
+ <!-- This target defines the tests that need to be run. -->
+ <target name="suite">
+ <property name="emft-folder" value="${eclipse-home}/emf_folder"/>
+ <delete dir="${emft-folder}" quiet="true"/>
+ <ant target="core-test" antfile="${library-file}" dir="${eclipse-home}">
+ <property name="data-dir" value="${emft-folder}"/>
+ <property name="plugin-name" value="${plugin-name}"/>
+ <property name="classname" value="org.eclipse.xtend.shared.ui.test.AllTests"/>
+ </ant>
+ </target>
+
+ <!-- This target holds code to cleanup the testing environment after -->
+ <!-- after all of the tests have been run. You can use this target to -->
+ <!-- delete temporary files that have been created. -->
+ <target name="cleanup">
+ </target>
+
+ <!-- This target runs the test suite. Any actions that need to happen -->
+ <!-- after all the tests have been run should go here. -->
+ <target name="run" depends="init,suite,cleanup">
+ <ant target="collect" antfile="${library-file}" dir="${eclipse-home}">
+ <property name="includes" value="org*.xml"/>
+ <property name="output-file" value="${plugin-name}.xml"/>
+ </ant>
+ </target>
+
+</project>