229230231232233234235236237238239
}.assertWithTimeout(1000); } finally { callbackRegistry.clear(); } } public void testPreRemoveCallback() throws Exception {
282283284285286287288289290291292
clientContext.deleteObjects(object); clientContext.commitChanges(); assertTrue(flag[0]); } finally { callbackRegistry.clear(); } } public void testCAY830() throws Exception {
335336337338339340341342343344345
clientContext.deleteObjects(o2); clientContext.commitChanges(); // per CAY-830 an exception is thrown here } finally { callbackRegistry.clear(); } } public void testRollbackChanges() throws Exception {
161162163164165166167168169170171
assertEquals(ClientMtTable1.GLOBAL_ATTRIBUTE1_PROPERTY, diffs.get(0).property); assertNull(diffs.get(0).oldValue); assertEquals("XXX", diffs.get(0).newValue); } finally { callbackRegistry.clear(); } } public void testReturnDiffClientArcChanges() {