103104105106107108109110111112
Assert.assertEquals(units.size(), 1); // EntityGroup execute insert eg.insert(units.get(0)); Redo redo = eg.getLog(); if (redo instanceof MemRedoLog) { MemRedoLog memRedo = (MemRedoLog) redo; Assert.assertEquals(0, memRedo.size()); } } }
124125126127128129130131132133
Assert.assertEquals(units.size(), 1); // EntityGroup execute update eg.update(units.get(0)); Redo redo = eg.getLog(); if (redo instanceof MemRedoLog) { MemRedoLog memRedo = (MemRedoLog) redo; Assert.assertEquals(memRedo.size(), 0); } } }
145146147148149150151152153154
Assert.assertEquals(units.size(), 1); // EntityGroup execute delete eg.delete(units.get(0)); Redo redo = eg.getLog(); if (redo instanceof MemRedoLog) { MemRedoLog memRedo = (MemRedoLog) redo; Assert.assertEquals(memRedo.size(), 0); } } }