Home
last modified time | relevance | path

Searched refs:suppressor (Results 1 – 4 of 4) sorted by relevance

/external/guava/guava-tests/test/com/google/common/io/
DCloserTest.java45 private TestSuppressor suppressor; field in CloserTest
49 suppressor = new TestSuppressor(); in setUp()
58 assertTrue(closer.suppressor instanceof Closer.LoggingSuppressor); in testCreate()
60 assertTrue(closer.suppressor instanceof Closer.SuppressingSuppressor); in testCreate()
65 Closer closer = new Closer(suppressor); in testNoExceptionsThrown()
81 assertTrue(suppressor.suppressions.isEmpty()); in testNoExceptionsThrown()
85 Closer closer = new Closer(suppressor); in testExceptionThrown_fromTryBlock()
107 assertTrue(suppressor.suppressions.isEmpty()); in testExceptionThrown_fromTryBlock()
111 Closer closer = new Closer(suppressor); in testExceptionThrown_whenCreatingCloseables()
134 assertTrue(suppressor.suppressions.isEmpty()); in testExceptionThrown_whenCreatingCloseables()
[all …]
/external/guava/guava/src/com/google/common/io/
DCloser.java106 @VisibleForTesting final Suppressor suppressor; field in Closer
112 @VisibleForTesting Closer(Suppressor suppressor) { in Closer() argument
113 this.suppressor = checkNotNull(suppressor); // checkNotNull to satisfy null tests in Closer()
218 suppressor.suppress(closeable, throwable, e); in close()
/external/pdfium/testing/tools/
Drun_corpus_tests.py15 import suppressor
53 test_suppressor = suppressor.Suppressor(finder)
Drun_pixel_tests.py14 import suppressor
57 test_suppressor = suppressor.Suppressor(finder)