Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for popLoggedThrowable (0.08 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertThat(logHandler.getStoredLogRecords()).isEmpty();
      }
    
      private void checkLoggedCause(Throwable t) {
        assertThat(popLoggedThrowable()).hasCauseThat().isSameInstanceAs(t);
      }
    
      private void checkLoggedInvalidLoad() {
        assertThat(popLoggedThrowable()).isInstanceOf(InvalidCacheLoadException.class);
      }
    
      public void testLoad() throws ExecutionException {
        LoadingCache<Object, Object> cache =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

      }
    
      @Override
      public void tearDown() throws Exception {
        super.tearDown();
        LocalCache.logger.removeHandler(logHandler);
      }
    
      private Throwable popLoggedThrowable() {
        List<LogRecord> logRecords = logHandler.getStoredLogRecords();
        assertEquals(1, logRecords.size());
        LogRecord logRecord = logRecords.get(0);
        logHandler.clear();
        return logRecord.getThrown();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/LocalCacheTest.java

      }
    
      @Override
      public void tearDown() throws Exception {
        super.tearDown();
        LocalCache.logger.removeHandler(logHandler);
      }
    
      private Throwable popLoggedThrowable() {
        List<LogRecord> logRecords = logHandler.getStoredLogRecords();
        assertEquals(1, logRecords.size());
        LogRecord logRecord = logRecords.get(0);
        logHandler.clear();
        return logRecord.getThrown();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
Back to top