Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/junit/plugins/core/org.eclipse.papyrus.infra.core.tests/test/org/eclipse/papyrus/infra/core/resource/FakeModel.java')
-rw-r--r--tests/junit/plugins/core/org.eclipse.papyrus.infra.core.tests/test/org/eclipse/papyrus/infra/core/resource/FakeModel.java10
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/junit/plugins/core/org.eclipse.papyrus.infra.core.tests/test/org/eclipse/papyrus/infra/core/resource/FakeModel.java b/tests/junit/plugins/core/org.eclipse.papyrus.infra.core.tests/test/org/eclipse/papyrus/infra/core/resource/FakeModel.java
index 5d1ac8edb78..0f6c114bdcd 100644
--- a/tests/junit/plugins/core/org.eclipse.papyrus.infra.core.tests/test/org/eclipse/papyrus/infra/core/resource/FakeModel.java
+++ b/tests/junit/plugins/core/org.eclipse.papyrus.infra.core.tests/test/org/eclipse/papyrus/infra/core/resource/FakeModel.java
@@ -8,7 +8,7 @@
*
* Contributors:
* LIFL - Initial API and implementation
- * Christian W. Damus - bug 485220
+ * Christian W. Damus - bugs 485220, 488791
*
*****************************************************************************/
package org.eclipse.papyrus.infra.core.resource;
@@ -22,7 +22,7 @@ import org.eclipse.emf.ecore.EObject;
public class FakeModel extends AbstractBaseModel {
private String identifier;
-
+
public FakeModel(String identifier) {
this.identifier = identifier;
}
@@ -59,5 +59,9 @@ public class FakeModel extends AbstractBaseModel {
throw new IllegalArgumentException("cannot persist " + object); //$NON-NLS-1$
}
-
+ // Overridden to make it accessible
+ @Override
+ protected ModelSet getModelManager() {
+ return super.getModelManager();
+ }
}

Back to the top