Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAxel Richard2013-03-11 09:35:40 -0400
committerGerrit Code Review @ Eclipse.org2013-03-19 05:37:56 -0400
commitdedaabfda0e4ba27b58ef426277225790147d69d (patch)
treedeaf970337fe2b8919cc4c910a04ddc8f71dc01c /plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/suite
parent31ddf8577c1a7b99559ced8d8773610e841d72fd (diff)
downloadorg.eclipse.emf.compare-dedaabfda0e4ba27b58ef426277225790147d69d.tar.gz
org.eclipse.emf.compare-dedaabfda0e4ba27b58ef426277225790147d69d.tar.xz
org.eclipse.emf.compare-dedaabfda0e4ba27b58ef426277225790147d69d.zip
[403055] Provide a match engine extension mechanism.
Make the match engine extensible by providing extension point mechanism. Bug: 403055 Change-Id: I5b824adf66840d76b8046518103d447ad5711c41
Diffstat (limited to 'plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/suite')
-rw-r--r--plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/suite/AllTests.java172
1 files changed, 87 insertions, 85 deletions
diff --git a/plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/suite/AllTests.java b/plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/suite/AllTests.java
index 6722ab275..c9377fa13 100644
--- a/plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/suite/AllTests.java
+++ b/plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/suite/AllTests.java
@@ -1,85 +1,87 @@
-/*******************************************************************************
- * Copyright (c) 2012 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.suite;
-
-import junit.framework.JUnit4TestAdapter;
-import junit.framework.Test;
-import junit.textui.TestRunner;
-
-import org.eclipse.emf.compare.ComparePackage;
-import org.eclipse.emf.compare.tests.command.CommandStackTestSuite;
-import org.eclipse.emf.compare.tests.conflict.ConflictDetectionTest;
-import org.eclipse.emf.compare.tests.diff.DiffUtilTest;
-import org.eclipse.emf.compare.tests.diff.LCSPerformanceTest;
-import org.eclipse.emf.compare.tests.diff.URIDistanceTest;
-import org.eclipse.emf.compare.tests.edit.AllEditTests;
-import org.eclipse.emf.compare.tests.equi.EquiComputingTest;
-import org.eclipse.emf.compare.tests.fragmentation.FragmentationTest;
-import org.eclipse.emf.compare.tests.fullcomparison.DynamicInstanceComparisonTest;
-import org.eclipse.emf.compare.tests.fullcomparison.ExtLibraryTest;
-import org.eclipse.emf.compare.tests.fullcomparison.IdentifierComparisonTest;
-import org.eclipse.emf.compare.tests.fullcomparison.ProximityComparisonTest;
-import org.eclipse.emf.compare.tests.merge.ExtensionMergeTest;
-import org.eclipse.emf.compare.tests.merge.IndividualMergeOutOfScopeValuesTest;
-import org.eclipse.emf.compare.tests.merge.IndividualMergeTest;
-import org.eclipse.emf.compare.tests.merge.MultipleMergeTest;
-import org.eclipse.emf.compare.tests.nodes.NodesPackage;
-import org.eclipse.emf.compare.tests.nodes.util.NodesResourceFactoryImpl;
-import org.eclipse.emf.compare.tests.postprocess.PostProcessorTest;
-import org.eclipse.emf.compare.tests.req.ReqComputingTest;
-import org.eclipse.emf.compare.tests.scope.DefaultComparisonScopeTest;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.junit.BeforeClass;
-import org.junit.runner.RunWith;
-import org.junit.runners.Suite;
-import org.junit.runners.Suite.SuiteClasses;
-
-/**
- * This test suite allows us to launch all tests for EMF Compare at once.
- *
- * @author <a href="mailto:laurent.goubet@obeo.fr">Laurent Goubet</a>
- */
-@RunWith(Suite.class)
-@SuiteClasses({CompareTestSuite.class, DefaultComparisonScopeTest.class, IdentifierComparisonTest.class,
- ExtLibraryTest.class, ConflictDetectionTest.class, ReqComputingTest.class, EquiComputingTest.class,
- DiffUtilTest.class, LCSPerformanceTest.class, MultipleMergeTest.class, PostProcessorTest.class,
- IndividualMergeTest.class, ExtensionMergeTest.class, IndividualMergeOutOfScopeValuesTest.class,
- ProximityComparisonTest.class, DynamicInstanceComparisonTest.class, URIDistanceTest.class,
- FragmentationTest.class, AllEditTests.class, CommandStackTestSuite.class, })
-public class AllTests {
- /**
- * Standalone launcher for all of compare's tests.
- *
- * @generated
- */
- public static void main(String[] args) {
- TestRunner.run(suite());
- }
-
- /**
- * This will return a suite populated with all tests available through this class.
- *
- * @generated
- */
- public static Test suite() {
- return new JUnit4TestAdapter(CompareTestSuite.class);
- }
-
- @BeforeClass
- public static void fillEMFRegistries() {
- EPackage.Registry.INSTANCE.put(ComparePackage.eNS_URI, ComparePackage.eINSTANCE);
- EPackage.Registry.INSTANCE.put(NodesPackage.eNS_URI, NodesPackage.eINSTANCE);
-
- Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("nodes", //$NON-NLS-1$
- new NodesResourceFactoryImpl());
- }
-}
+/*******************************************************************************
+ * Copyright (c) 2012 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.suite;
+
+import junit.framework.JUnit4TestAdapter;
+import junit.framework.Test;
+import junit.textui.TestRunner;
+
+import org.eclipse.emf.compare.ComparePackage;
+import org.eclipse.emf.compare.tests.command.CommandStackTestSuite;
+import org.eclipse.emf.compare.tests.conflict.ConflictDetectionTest;
+import org.eclipse.emf.compare.tests.diff.DiffUtilTest;
+import org.eclipse.emf.compare.tests.diff.LCSPerformanceTest;
+import org.eclipse.emf.compare.tests.diff.URIDistanceTest;
+import org.eclipse.emf.compare.tests.edit.AllEditTests;
+import org.eclipse.emf.compare.tests.equi.EquiComputingTest;
+import org.eclipse.emf.compare.tests.fragmentation.FragmentationTest;
+import org.eclipse.emf.compare.tests.fullcomparison.DynamicInstanceComparisonTest;
+import org.eclipse.emf.compare.tests.fullcomparison.ExtLibraryTest;
+import org.eclipse.emf.compare.tests.fullcomparison.IdentifierComparisonTest;
+import org.eclipse.emf.compare.tests.fullcomparison.ProximityComparisonTest;
+import org.eclipse.emf.compare.tests.match.MatchEngineFactoryRegistryTest;
+import org.eclipse.emf.compare.tests.merge.ExtensionMergeTest;
+import org.eclipse.emf.compare.tests.merge.IndividualMergeOutOfScopeValuesTest;
+import org.eclipse.emf.compare.tests.merge.IndividualMergeTest;
+import org.eclipse.emf.compare.tests.merge.MultipleMergeTest;
+import org.eclipse.emf.compare.tests.nodes.NodesPackage;
+import org.eclipse.emf.compare.tests.nodes.util.NodesResourceFactoryImpl;
+import org.eclipse.emf.compare.tests.postprocess.PostProcessorTest;
+import org.eclipse.emf.compare.tests.req.ReqComputingTest;
+import org.eclipse.emf.compare.tests.scope.DefaultComparisonScopeTest;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.resource.Resource;
+import org.junit.BeforeClass;
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
+import org.junit.runners.Suite.SuiteClasses;
+
+/**
+ * This test suite allows us to launch all tests for EMF Compare at once.
+ *
+ * @author <a href="mailto:laurent.goubet@obeo.fr">Laurent Goubet</a>
+ */
+@RunWith(Suite.class)
+@SuiteClasses({CompareTestSuite.class, DefaultComparisonScopeTest.class, IdentifierComparisonTest.class,
+ ExtLibraryTest.class, ConflictDetectionTest.class, ReqComputingTest.class, EquiComputingTest.class,
+ DiffUtilTest.class, LCSPerformanceTest.class, MultipleMergeTest.class, PostProcessorTest.class,
+ IndividualMergeTest.class, ExtensionMergeTest.class, IndividualMergeOutOfScopeValuesTest.class,
+ ProximityComparisonTest.class, DynamicInstanceComparisonTest.class, URIDistanceTest.class,
+ FragmentationTest.class, AllEditTests.class, CommandStackTestSuite.class,
+ MatchEngineFactoryRegistryTest.class })
+public class AllTests {
+ /**
+ * Standalone launcher for all of compare's tests.
+ *
+ * @generated
+ */
+ public static void main(String[] args) {
+ TestRunner.run(suite());
+ }
+
+ /**
+ * This will return a suite populated with all tests available through this class.
+ *
+ * @generated
+ */
+ public static Test suite() {
+ return new JUnit4TestAdapter(CompareTestSuite.class);
+ }
+
+ @BeforeClass
+ public static void fillEMFRegistries() {
+ EPackage.Registry.INSTANCE.put(ComparePackage.eNS_URI, ComparePackage.eINSTANCE);
+ EPackage.Registry.INSTANCE.put(NodesPackage.eNS_URI, NodesPackage.eINSTANCE);
+
+ Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("nodes", //$NON-NLS-1$
+ new NodesResourceFactoryImpl());
+ }
+}

Back to the top