Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for tearDown (0.18 sec)

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

      @Override
      public void setUp() throws Exception {
        super.setUp();
        logHandler = new TestLogHandler();
        LocalCache.logger.addHandler(logHandler);
      }
    
      @Override
      public void tearDown() throws Exception {
        super.tearDown();
        // TODO(cpovirk): run tests in other thread instead of messing with main thread interrupt status
        currentThread().interrupted();
        LocalCache.logger.removeHandler(logHandler);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

      final Exception exception = new Exception();
      final Closeable mockCloseable = Mockito.mock(Closeable.class);
    
      @Override
      protected void tearDown() throws Exception {
        assertNoExpectedFailures();
        super.tearDown();
      }
    
      public void testFrom() throws Exception {
        ClosingFuture<String> closingFuture =
            ClosingFuture.from(executor.submit(Callables.returning(closeable1)))
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

      final Exception exception = new Exception();
      final Closeable mockCloseable = Mockito.mock(Closeable.class);
    
      @Override
      protected void tearDown() throws Exception {
        assertNoExpectedFailures();
        super.tearDown();
      }
    
      public void testFrom() throws Exception {
        ClosingFuture<String> closingFuture =
            ClosingFuture.from(executor.submit(Callables.returning(closeable1)))
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 74.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

      @Override
      public void setUp() throws Exception {
        super.setUp();
        logHandler = new TestLogHandler();
        LocalCache.logger.addHandler(logHandler);
      }
    
      @Override
      public void tearDown() throws Exception {
        super.tearDown();
        // TODO(cpovirk): run tests in other thread instead of messing with main thread interrupt status
        currentThread().interrupted();
        LocalCache.logger.removeHandler(logHandler);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
Back to top