Home
last modified time | relevance | path

Searched refs:getAndResetRecords (Results 1 – 2 of 2) sorted by relevance

/external/guava/guava-tests/test/com/google/common/io/
DCharSourceTest.java265 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
DByteSourceTest.java341 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