summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2008-01-04 13:23:53 (EST)
committerEike Stepper2008-01-04 13:23:53 (EST)
commite508a91d0216fb16f2a0d454fe71d647ce941755 (patch)
treee8b63abac4cccd7462492f249a2d1b714f071dcb
parent637668f4a7446b697f7f6fa586f0e411d3b7260a (diff)
downloadcdo-e508a91d0216fb16f2a0d454fe71d647ce941755.zip
cdo-e508a91d0216fb16f2a0d454fe71d647ce941755.tar.gz
cdo-e508a91d0216fb16f2a0d454fe71d647ce941755.tar.bz2
[214374] Sending deltas doesn't adjust CDOIDs
https://bugs.eclipse.org/bugs/show_bug.cgi?id=214374
-rw-r--r--plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/BugzillasTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/BugzillasTest.java b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/BugzillasTest.java
index 9377c31..0117331 100644
--- a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/BugzillasTest.java
+++ b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/BugzillasTest.java
@@ -55,8 +55,10 @@ public class BugzillasTest extends AbstractCDOTest
CDORevision salesRevision = salesOrder2.cdoRevision();
CDOFeature customerFeature = salesRevision.getCDOClass().lookupFeature(
Model1Package.eINSTANCE.getSalesOrder_Customer().getFeatureID());
+
Object value = salesRevision.getData().get(customerFeature, 0);
Assert.assertEquals(true, value instanceof CDOID);
transaction2.close();
+ session.close();
}
}