use of nl.tudelft.watchdog.core.logic.event.eventtypes.debugging.BreakpointAddEvent in project watchdog by TestRoots.
the class EventJsonConverterTest method testJsonClassBreakpointAddEventRepresentation.
@Test
public void testJsonClassBreakpointAddEventRepresentation() {
BreakpointAddEvent event = new BreakpointAddEvent(1, BreakpointType.CLASS, new Date());
ArrayList<WatchDogItem> events = createSampleEvents(event);
assertEquals("[{\"bh\":1,\"bt\":\"cp\",\"et\":\"ba\",\"ts\":1,\"ss\":\"\"," + pasteWDVAndClient() + "}]", transferer.toJson(events));
}
Aggregations