Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormtaal2006-11-13 14:55:37 -0500
committermtaal2006-11-13 14:55:37 -0500
commitf6b3055ece444ed66e7ec5efbfc51249efbe3a18 (patch)
tree0f16c6c32f1022d4d0e41660e52900a7f7cb4399
parent96322c51944f66cfab795cec3679179dfada9d88 (diff)
downloadorg.eclipse.emf.teneo-f6b3055ece444ed66e7ec5efbfc51249efbe3a18.tar.gz
org.eclipse.emf.teneo-f6b3055ece444ed66e7ec5efbfc51249efbe3a18.tar.xz
org.eclipse.emf.teneo-f6b3055ece444ed66e7ec5efbfc51249efbe3a18.zip
[164374]
[164270] [164242]
-rw-r--r--tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/emf/sample/LibraryNonResolvingAction.java16
-rw-r--r--tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/issues/InterfaceTrueAction.java5
2 files changed, 16 insertions, 5 deletions
diff --git a/tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/emf/sample/LibraryNonResolvingAction.java b/tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/emf/sample/LibraryNonResolvingAction.java
index a2a80b585..8a8c83b23 100644
--- a/tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/emf/sample/LibraryNonResolvingAction.java
+++ b/tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/emf/sample/LibraryNonResolvingAction.java
@@ -11,12 +11,13 @@
* Martin Taal
* </copyright>
*
- * $Id: LibraryNonResolvingAction.java,v 1.3 2006/09/21 00:57:18 mtaal Exp $
+ * $Id: LibraryNonResolvingAction.java,v 1.4 2006/11/13 19:55:37 mtaal Exp $
*/
package org.eclipse.emf.teneo.test.emf.sample;
import java.io.IOException;
+import java.util.Collections;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.impl.AdapterImpl;
@@ -39,7 +40,7 @@ import org.eclipse.emf.teneo.test.stores.TestStore;
* does not result in loaded containment elists.
*
* @author <a href="mailto:mtaal@elver.org">Martin Taal</a>
- * @version $Revision: 1.3 $
+ * @version $Revision: 1.4 $
*/
public class LibraryNonResolvingAction extends AbstractTestAction
{
@@ -117,6 +118,17 @@ public class LibraryNonResolvingAction extends AbstractTestAction
res.setTrackingModification(true);
testResolving(res);
}
+ {
+ Resource res = store.getResource();
+ // default is false
+ //((StoreResource)res).setAutoResolve(false);
+ res.load(null);
+ res.setTrackingModification(true);
+ Library lib = (Library)res.getContents().get(0);
+ lib.setName(lib.getName() + "_");
+ res.save(Collections.EMPTY_MAP);
+ testResolving(res);
+ }
// test with resolving
{
diff --git a/tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/issues/InterfaceTrueAction.java b/tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/issues/InterfaceTrueAction.java
index ceed82051..a76cf9657 100644
--- a/tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/issues/InterfaceTrueAction.java
+++ b/tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/issues/InterfaceTrueAction.java
@@ -11,12 +11,11 @@
* Martin Taal
* </copyright>
*
- * $Id: InterfaceTrueAction.java,v 1.2 2006/11/12 00:08:33 mtaal Exp $
+ * $Id: InterfaceTrueAction.java,v 1.3 2006/11/13 19:55:37 mtaal Exp $
*/
package org.eclipse.emf.teneo.test.issues;
-import org.eclipse.emf.teneo.samples.issues.interfacetrue.Address;
import org.eclipse.emf.teneo.samples.issues.interfacetrue.InterfacetrueFactory;
import org.eclipse.emf.teneo.samples.issues.interfacetrue.InterfacetruePackage;
import org.eclipse.emf.teneo.samples.issues.interfacetrue.USAddress;
@@ -27,7 +26,7 @@ import org.eclipse.emf.teneo.test.stores.TestStore;
* Tests the setting interface="true" on an eclass
*
* @author <a href="mailto:mtaal@elver.org">Martin Taal</a>
- * @version $Revision: 1.2 $
+ * @version $Revision: 1.3 $
*/
public class InterfaceTrueAction extends AbstractTestAction {
/**

Back to the top