Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/unit/core/util/efactory/EFactoryTestSuite.java')
-rwxr-xr-xplugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/unit/core/util/efactory/EFactoryTestSuite.java49
1 files changed, 49 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/unit/core/util/efactory/EFactoryTestSuite.java b/plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/unit/core/util/efactory/EFactoryTestSuite.java
new file mode 100755
index 000000000..9bd1d16d1
--- /dev/null
+++ b/plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/unit/core/util/efactory/EFactoryTestSuite.java
@@ -0,0 +1,49 @@
+/*******************************************************************************
+ * Copyright (c) 2006, 2009 Obeo.
+ * 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:
+ * Obeo - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.compare.tests.unit.core.util.efactory;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+import junit.textui.TestRunner;
+
+/**
+ * Launches all the JUnit tests for the {@link EFactory}.
+ *
+ * @author <a href="mailto:laurent.goubet@obeo.fr">Laurent Goubet</a>
+ */
+@SuppressWarnings("nls")
+public class EFactoryTestSuite extends TestCase {
+ /**
+ * Launches the test with the given arguments.
+ *
+ * @param args
+ * Arguments of the testCase.
+ */
+ public static void main(String[] args) {
+ TestRunner.run(suite());
+ }
+
+ /**
+ * Creates the {@link junit.framework.TestSuite TestSuite} for all the test.
+ *
+ * @return The test suite containing all the tests
+ */
+ public static Test suite() {
+ final TestSuite suite = new TestSuite("Tests for the EFactory behavior");
+ suite.addTestSuite(EAddTest.class);
+ suite.addTestSuite(EGetTest.class);
+ suite.addTestSuite(EGetAsListTest.class);
+ suite.addTestSuite(ERemoveTest.class);
+ suite.addTestSuite(ESetTest.class);
+ return suite;
+ }
+}

Back to the top