OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:logHandler
(Results
1 - 8
of
8
) sorted by null
/external/guava/guava-tests/test/com/google/common/io/
ByteSourceTest.java
333
TestLogHandler
logHandler
= new TestLogHandler();
334
Closeables.logger.addHandler(
logHandler
);
338
assertTrue(
logHandler
.getStoredLogRecords().isEmpty());
341
assertEquals((in == BROKEN_OPEN_SOURCE) ? 0 : 1, getAndResetRecords(
logHandler
));
346
assertTrue(
logHandler
.getStoredLogRecords().isEmpty());
349
assertEquals(1, getAndResetRecords(
logHandler
));
355
assertTrue(getAndResetRecords(
logHandler
) <= 1);
359
Closeables.logger.removeHandler(
logHandler
);
389
private static int getAndResetRecords(TestLogHandler
logHandler
) {
390
int records =
logHandler
.getStoredLogRecords().size()
[
all
...]
CharSourceTest.java
257
TestLogHandler
logHandler
= new TestLogHandler();
258
Closeables.logger.addHandler(
logHandler
);
262
assertTrue(
logHandler
.getStoredLogRecords().isEmpty());
265
assertEquals((in == BROKEN_OPEN_SOURCE) ? 0 : 1, getAndResetRecords(
logHandler
));
270
assertTrue(
logHandler
.getStoredLogRecords().isEmpty());
273
assertEquals(1, getAndResetRecords(
logHandler
));
279
assertTrue(getAndResetRecords(
logHandler
) <= 1);
283
Closeables.logger.removeHandler(
logHandler
);
313
private static int getAndResetRecords(TestLogHandler
logHandler
) {
314
int records =
logHandler
.getStoredLogRecords().size()
[
all
...]
CloserTest.java
294
TestLogHandler
logHandler
= new TestLogHandler();
296
Closeables.logger.addHandler(
logHandler
);
306
assertTrue(
logHandler
.getStoredLogRecords().isEmpty());
310
assertEquals(2,
logHandler
.getStoredLogRecords().size());
312
LogRecord record =
logHandler
.getStoredLogRecords().get(0);
315
record =
logHandler
.getStoredLogRecords().get(1);
318
Closeables.logger.removeHandler(
logHandler
);
/external/guava/guava-tests/test/com/google/common/util/concurrent/
ServiceManagerTest.java
341
TestLogHandler
logHandler
= new TestLogHandler();
342
logger.addHandler(
logHandler
);
365
for (LogRecord record :
logHandler
.getStoredLogRecords()) {
433
TestLogHandler
logHandler
= new TestLogHandler();
434
logger.addHandler(
logHandler
);
443
assertEquals(0,
logHandler
.getStoredLogRecords().size());
/external/guava/guava-tests/test/com/google/common/cache/
CacheLoadingTest.java
65
TestLogHandler
logHandler
;
70
logHandler
= new TestLogHandler();
71
LocalCache.logger.addHandler(
logHandler
);
79
LocalCache.logger.removeHandler(
logHandler
);
83
List<LogRecord> logRecords =
logHandler
.getStoredLogRecords();
86
logHandler
.clear();
91
assertTrue(
logHandler
.getStoredLogRecords().isEmpty());
[
all
...]
LocalCacheTest.java
109
TestLogHandler
logHandler
;
114
logHandler
= new TestLogHandler();
115
LocalCache.logger.addHandler(
logHandler
);
121
LocalCache.logger.removeHandler(
logHandler
);
125
List<LogRecord> logRecords =
logHandler
.getStoredLogRecords();
128
logHandler
.clear();
133
assertTrue(
logHandler
.getStoredLogRecords().isEmpty());
[
all
...]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
CallTest.java
96
private TestLogHandler
logHandler
= new TestLogHandler();
101
logger.addHandler(
logHandler
);
107
logger.removeHandler(
logHandler
);
586
logHandler
.take());
[
all
...]
/prebuilts/tools/common/m2/repository/net/sourceforge/pmd/pmd/5.1.1/
pmd-5.1.1.jar
Completed in 795 milliseconds