diff options
author | Eike Stepper | 2013-02-10 11:13:09 +0000 |
---|---|---|
committer | Eike Stepper | 2013-02-13 19:58:08 +0000 |
commit | 554a4a177bd6a182a8fd8081969f9d3426732b6f (patch) | |
tree | a1353627cedf8bab930ba6ea1821b3d257fcebde /plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/InitialTest.java | |
parent | b5a193491935f7c23ddf1da34dc6ea0561290b65 (diff) | |
download | cdo-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.java | 18 |
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()); } |