Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2013-02-10 11:13:09 +0000
committerEike Stepper2013-02-13 19:58:08 +0000
commit554a4a177bd6a182a8fd8081969f9d3426732b6f (patch)
treea1353627cedf8bab930ba6ea1821b3d257fcebde /plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/InitialTest.java
parentb5a193491935f7c23ddf1da34dc6ea0561290b65 (diff)
downloadcdo-554a4a177bd6a182a8fd8081969f9d3426732b6f.tar.gz
cdo-554a4a177bd6a182a8fd8081969f9d3426732b6f.tar.xz
cdo-554a4a177bd6a182a8fd8081969f9d3426732b6f.zip
[400388] Integrate the new MinimalEStoreEObjectImpl
https://bugs.eclipse.org/bugs/show_bug.cgi?id=400388
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/InitialTest.java')
-rw-r--r--plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/InitialTest.java18
1 files changed, 0 insertions, 18 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/InitialTest.java b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/InitialTest.java
index 9755bf598e..0951389106 100644
--- a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/InitialTest.java
+++ b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/InitialTest.java
@@ -489,54 +489,36 @@ public class InitialTest extends AbstractCDOTest
public void testReadTransientValue() throws Exception
{
- msg("Opening session");
CDOSession session = openSession();
{
disableConsole();
- msg("Opening transaction");
CDOTransaction transaction = session.openTransaction();
-
- msg("Creating resource");
CDOResource resource = transaction.createResource(getResourcePath("/test1"));
- msg("Creating supplier");
Product1 product = getModel1Factory().createProduct1();
-
- msg("Setting name");
product.setDescription("DESCRIPTION");
product.setName("McDuff");
- msg("Adding supplier");
resource.getContents().add(product);
assertEquals("DESCRIPTION", product.getDescription());
- msg("Committing");
transaction.commit();
enableConsole();
}
- msg("Opening transaction");
CDOView view = session.openView();
-
- msg("Getting resource");
CDOResource resource = view.getResource(getResourcePath("/test1"));
- msg("Getting contents");
EList<EObject> contents = resource.getContents();
-
- msg("Getting supplier");
Product1 s = (Product1)contents.get(0);
assertNotNull(s);
- msg("Verifying name");
assertEquals("McDuff", s.getName());
-
assertNull(s.getDescription());
s.setDescription("HELLO");
-
assertEquals("HELLO", s.getDescription());
}

Back to the top