Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAxel Richard2013-09-10 15:35:17 +0000
committerGerrit Code Review @ Eclipse.org2013-09-24 05:50:24 +0000
commit540ecf5aba691c65fb74a0a69015bb34e6b56d32 (patch)
tree688d69bf657d9e4652f6a3d9fea954298e182bb9 /plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/merge/data/IndividualDiffInputData.java
parent2eacc1ba60603854275f6881d1775f099befef5e (diff)
downloadorg.eclipse.emf.compare-540ecf5aba691c65fb74a0a69015bb34e6b56d32.tar.gz
org.eclipse.emf.compare-540ecf5aba691c65fb74a0a69015bb34e6b56d32.tar.xz
org.eclipse.emf.compare-540ecf5aba691c65fb74a0a69015bb34e6b56d32.zip
[416400] - Fix IOWrappedException by adding a ConflictMerger
The merge of conflicts was not managed yet. Add a new Merger for conflict with a ranking of 15 (higher than ReferenceMerger and AttributeMerger). Bug: 416400 Change-Id: Id38da2f67db570f276518e8cba81636bcc777669
Diffstat (limited to 'plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/merge/data/IndividualDiffInputData.java')
-rw-r--r--plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/merge/data/IndividualDiffInputData.java98
1 files changed, 97 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/merge/data/IndividualDiffInputData.java b/plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/merge/data/IndividualDiffInputData.java
index 05e0aa2ea..4c4dfbf74 100644
--- a/plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/merge/data/IndividualDiffInputData.java
+++ b/plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/merge/data/IndividualDiffInputData.java
@@ -1,5 +1,5 @@
/**
- * Copyright (c) 2012 Obeo.
+ * Copyright (c) 2012, 2013 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
@@ -237,4 +237,100 @@ public class IndividualDiffInputData extends AbstractInputData {
public Resource getReferenceMultiMoveRightOutOfScope() throws IOException {
return loadFromClassLoader("outofscope/referencemultimove/right.nodes");
}
+
+ public Resource getLeftAddRightDeleteLeftConflictScope() throws IOException {
+ return loadFromClassLoader("conflictscope/leftadd_rightdelete/left.ecore");
+ }
+
+ public Resource getLeftAddRightDeleteOriginConflictScope() throws IOException {
+ return loadFromClassLoader("conflictscope/leftadd_rightdelete/origin.ecore");
+ }
+
+ public Resource getLeftAddRightDeleteRightConflictScope() throws IOException {
+ return loadFromClassLoader("conflictscope/leftadd_rightdelete/right.ecore");
+ }
+
+ public Resource getLeftDeleteRightAddLeftConflictScope() throws IOException {
+ return loadFromClassLoader("conflictscope/leftdelete_rightadd/left.ecore");
+ }
+
+ public Resource getLeftDeleteRightAddOriginConflictScope() throws IOException {
+ return loadFromClassLoader("conflictscope/leftdelete_rightadd/origin.ecore");
+ }
+
+ public Resource getLeftDeleteRightAddRightConflictScope() throws IOException {
+ return loadFromClassLoader("conflictscope/leftdelete_rightadd/right.ecore");
+ }
+
+ public Resource getLeftDeleteRightSetLeftConflictScope() throws IOException {
+ return loadFromClassLoader("conflictscope/leftdelete_rightset/left.ecore");
+ }
+
+ public Resource getLeftDeleteRightSetOriginConflictScope() throws IOException {
+ return loadFromClassLoader("conflictscope/leftdelete_rightset/origin.ecore");
+ }
+
+ public Resource getLeftDeleteRightSetRightConflictScope() throws IOException {
+ return loadFromClassLoader("conflictscope/leftdelete_rightset/right.ecore");
+ }
+
+ public Resource getLeftSetRightDeleteLeftConflictScope() throws IOException {
+ return loadFromClassLoader("conflictscope/leftset_rightdelete/left.ecore");
+ }
+
+ public Resource getLeftSetRightDeleteOriginConflictScope() throws IOException {
+ return loadFromClassLoader("conflictscope/leftset_rightdelete/origin.ecore");
+ }
+
+ public Resource getLeftSetRightDeleteRightConflictScope() throws IOException {
+ return loadFromClassLoader("conflictscope/leftset_rightdelete/right.ecore");
+ }
+
+ public Resource getLeftSetRightUnsetLeftConflictScope() throws IOException {
+ return loadFromClassLoader("conflictscope/leftset_rightunset/left.ecore");
+ }
+
+ public Resource getLeftSetRightUnsetOriginConflictScope() throws IOException {
+ return loadFromClassLoader("conflictscope/leftset_rightunset/origin.ecore");
+ }
+
+ public Resource getLeftSetRightUnsetRightConflictScope() throws IOException {
+ return loadFromClassLoader("conflictscope/leftset_rightunset/right.ecore");
+ }
+
+ public Resource getLeftUnsetRightSetLeftConflictScope() throws IOException {
+ return loadFromClassLoader("conflictscope/leftunset_rightset/left.ecore");
+ }
+
+ public Resource getLeftUnsetRightSetOriginConflictScope() throws IOException {
+ return loadFromClassLoader("conflictscope/leftunset_rightset/origin.ecore");
+ }
+
+ public Resource getLeftUnsetRightSetRightConflictScope() throws IOException {
+ return loadFromClassLoader("conflictscope/leftunset_rightset/right.ecore");
+ }
+
+ public Resource getLeftDeleteRightMoveLeftConflictScope() throws IOException {
+ return loadFromClassLoader("conflictscope/leftdelete_rightmove/left.ecore");
+ }
+
+ public Resource getLeftDeleteRightMoveOriginConflictScope() throws IOException {
+ return loadFromClassLoader("conflictscope/leftdelete_rightmove/origin.ecore");
+ }
+
+ public Resource getLeftDeleteRightMoveRightConflictScope() throws IOException {
+ return loadFromClassLoader("conflictscope/leftdelete_rightmove/right.ecore");
+ }
+
+ public Resource getLeftMoveRightDeleteLeftConflictScope() throws IOException {
+ return loadFromClassLoader("conflictscope/leftmove_rightdelete/left.ecore");
+ }
+
+ public Resource getLeftMoveRightDeleteOriginConflictScope() throws IOException {
+ return loadFromClassLoader("conflictscope/leftmove_rightdelete/origin.ecore");
+ }
+
+ public Resource getLeftMoveRightDeleteRightConflictScope() throws IOException {
+ return loadFromClassLoader("conflictscope/leftmove_rightdelete/right.ecore");
+ }
}

Back to the top