Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2013-01-22 03:29:34 -0500
committerEike Stepper2013-01-22 03:30:18 -0500
commit00275a1321c9da35e59ec5fd4b81a215f4c2c1fe (patch)
tree7849ad21584761580aa3eac5c561a1446ef05e1f /plugins/org.eclipse.net4j.tests/src/org
parentcc30ef6f6fbcd02de8fea7d1e3efb6dd27cfbbac (diff)
downloadcdo-00275a1321c9da35e59ec5fd4b81a215f4c2c1fe.tar.gz
cdo-00275a1321c9da35e59ec5fd4b81a215f4c2c1fe.tar.xz
cdo-00275a1321c9da35e59ec5fd4b81a215f4c2c1fe.zip
[362270] CDODeltaNotification.getNewValue() returns a CDOIDExternal
instead of the EObject from the containing XMIResource https://bugs.eclipse.org/bugs/show_bug.cgi?id=362270
Diffstat (limited to 'plugins/org.eclipse.net4j.tests/src/org')
-rw-r--r--plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/AbstractOMTest.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/AbstractOMTest.java b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/AbstractOMTest.java
index 90cbd802ee..291eae1865 100644
--- a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/AbstractOMTest.java
+++ b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/AbstractOMTest.java
@@ -524,6 +524,11 @@ public abstract class AbstractOMTest extends TestCase
expected.isInstance(object));
}
+ public static void assertNotInstanceOf(Class<?> expected, Object object)
+ {
+ assertEquals("An instance of " + expected + ": " + object.getClass().getName(), false, expected.isInstance(object));
+ }
+
public static void assertActive(Object object) throws InterruptedException
{
final LatchTimeOuter timeOuter = new LatchTimeOuter();

Back to the top