Searched refs:getAndResetRecords (Results 1 – 2 of 2) sorted by relevance
265 assertEquals((in == BROKEN_OPEN_SOURCE) ? 0 : 1, getAndResetRecords(logHandler)); in testCopyExceptions()273 assertEquals(1, getAndResetRecords(logHandler)); in testCopyExceptions()279 assertTrue(getAndResetRecords(logHandler) <= 1); in testCopyExceptions()313 private static int getAndResetRecords(TestLogHandler logHandler) { in getAndResetRecords() method in CharSourceTest
341 assertEquals((in == BROKEN_OPEN_SOURCE) ? 0 : 1, getAndResetRecords(logHandler)); in testCopyExceptions()349 assertEquals(1, getAndResetRecords(logHandler)); in testCopyExceptions()355 assertTrue(getAndResetRecords(logHandler) <= 1); in testCopyExceptions()389 private static int getAndResetRecords(TestLogHandler logHandler) { in getAndResetRecords() method in ByteSourceTest