Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikaël Barbero2012-10-12 10:20:53 +0000
committerMikaël Barbero2012-10-12 10:20:53 +0000
commit908d828d09d75b2a46152034f3f184f8c38919b5 (patch)
treea1fbad84eb2db8f957c07dcd227da37344880b0d
parent15d131c9c9f46f71b46f94a720551739b84fec87 (diff)
downloadorg.eclipse.emf.compare-908d828d09d75b2a46152034f3f184f8c38919b5.tar.gz
org.eclipse.emf.compare-908d828d09d75b2a46152034f3f184f8c38919b5.tar.xz
org.eclipse.emf.compare-908d828d09d75b2a46152034f3f184f8c38919b5.zip
fix tests (add post processor registry to EMFCompare instance)
-rw-r--r--plugins/org.eclipse.emf.compare.diagram.tests/src/org/eclipse/emf/compare/diagram/tests/hide/HideTest.java2
-rw-r--r--plugins/org.eclipse.emf.compare.diagram.tests/src/org/eclipse/emf/compare/diagram/tests/nodechanges/NodechangesTest.java4
-rw-r--r--plugins/org.eclipse.emf.compare.diagram.tests/src/org/eclipse/emf/compare/diagram/tests/show/ShowTest.java2
3 files changed, 4 insertions, 4 deletions
diff --git a/plugins/org.eclipse.emf.compare.diagram.tests/src/org/eclipse/emf/compare/diagram/tests/hide/HideTest.java b/plugins/org.eclipse.emf.compare.diagram.tests/src/org/eclipse/emf/compare/diagram/tests/hide/HideTest.java
index ec63368e4..df55d7c18 100644
--- a/plugins/org.eclipse.emf.compare.diagram.tests/src/org/eclipse/emf/compare/diagram/tests/hide/HideTest.java
+++ b/plugins/org.eclipse.emf.compare.diagram.tests/src/org/eclipse/emf/compare/diagram/tests/hide/HideTest.java
@@ -38,7 +38,7 @@ public class HideTest extends AbstractTest {
final Resource right = input.getA1Right();
final IComparisonScope scope = EMFCompare.createDefaultScope(left, right);
- final Comparison comparison = EMFCompare.builder().build().compare(scope);
+ final Comparison comparison = EMFCompare.builder().setPostProcessorRegistry(getPostProcessorRegistry()).build().compare(scope);
final List<Diff> differences = comparison.getDifferences();
diff --git a/plugins/org.eclipse.emf.compare.diagram.tests/src/org/eclipse/emf/compare/diagram/tests/nodechanges/NodechangesTest.java b/plugins/org.eclipse.emf.compare.diagram.tests/src/org/eclipse/emf/compare/diagram/tests/nodechanges/NodechangesTest.java
index ec84f8fbd..4efd09ce3 100644
--- a/plugins/org.eclipse.emf.compare.diagram.tests/src/org/eclipse/emf/compare/diagram/tests/nodechanges/NodechangesTest.java
+++ b/plugins/org.eclipse.emf.compare.diagram.tests/src/org/eclipse/emf/compare/diagram/tests/nodechanges/NodechangesTest.java
@@ -48,7 +48,7 @@ public class NodechangesTest extends AbstractTest {
final Resource right = input.getA1Right();
final IComparisonScope scope = EMFCompare.createDefaultScope(left.getResourceSet(), right.getResourceSet());
- final Comparison comparison = EMFCompare.builder().build().compare(scope);
+ final Comparison comparison = EMFCompare.builder().setPostProcessorRegistry(getPostProcessorRegistry()).build().compare(scope);
final List<Diff> differences = comparison.getDifferences();
@@ -188,7 +188,7 @@ public class NodechangesTest extends AbstractTest {
final Resource right = input.getA1Right();
final IComparisonScope scope = EMFCompare.createDefaultScope(right.getResourceSet(), left.getResourceSet());
- final Comparison comparison = EMFCompare.builder().build().compare(scope);
+ final Comparison comparison = EMFCompare.builder().setPostProcessorRegistry(getPostProcessorRegistry()).build().compare(scope);
final List<Diff> differences = comparison.getDifferences();
diff --git a/plugins/org.eclipse.emf.compare.diagram.tests/src/org/eclipse/emf/compare/diagram/tests/show/ShowTest.java b/plugins/org.eclipse.emf.compare.diagram.tests/src/org/eclipse/emf/compare/diagram/tests/show/ShowTest.java
index ad3eff9a9..fc3c99695 100644
--- a/plugins/org.eclipse.emf.compare.diagram.tests/src/org/eclipse/emf/compare/diagram/tests/show/ShowTest.java
+++ b/plugins/org.eclipse.emf.compare.diagram.tests/src/org/eclipse/emf/compare/diagram/tests/show/ShowTest.java
@@ -38,7 +38,7 @@ public class ShowTest extends AbstractTest {
final Resource right = input.getA1Right();
final IComparisonScope scope = EMFCompare.createDefaultScope(left, right);
- final Comparison comparison = EMFCompare.builder().build().compare(scope);
+ final Comparison comparison = EMFCompare.builder().setPostProcessorRegistry(getPostProcessorRegistry()).build().compare(scope);
final List<Diff> differences = comparison.getDifferences();

Back to the top