Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 604 for Inception (0.14 sec)

  1. guava-tests/test/com/google/common/eventbus/EventBusTest.java

      }
    
      /** Records thrown exception information. */
      private static final class RecordingSubscriberExceptionHandler
          implements SubscriberExceptionHandler {
    
        public SubscriberExceptionContext context;
        public Throwable exception;
    
        @Override
        public void handleException(Throwable exception, SubscriberExceptionContext context) {
          this.exception = exception;
          this.context = context;
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

      }
    
      /** Records thrown exception information. */
      private static final class RecordingSubscriberExceptionHandler
          implements SubscriberExceptionHandler {
    
        public SubscriberExceptionContext context;
        public Throwable exception;
    
        @Override
        public void handleException(Throwable exception, SubscriberExceptionContext context) {
          this.exception = exception;
          this.context = context;
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

        assertEquals(null, getResponse(methodName).getResult());
      }
    
      /**
       * Asserts that a prior call that had caused this thread to block or wait has since returned the
       * expected boolean value.
       */
      public void assertPriorCallReturns(boolean expected, @Nullable String methodName)
          throws Exception {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

                @Override
                public Integer call() throws Exception {
                  runLatch.countDown();
                  taskLatch.await();
                  if (throwException) {
                    throw new IllegalStateException("Fail");
                  }
                  return 25;
                }
              });
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
    
        exec = Executors.newCachedThreadPool();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/TearDownStackTest.java

    /** @author Luiz-Otavio "Z" Zorzella */
    @GwtCompatible
    public class TearDownStackTest extends TestCase {
    
      private TearDownStack tearDownStack = new TearDownStack();
    
      public void testSingleTearDown() throws Exception {
        final TearDownStack stack = buildTearDownStack();
    
        final SimpleTearDown tearDown = new SimpleTearDown();
        stack.addTearDown(tearDown);
    
        assertEquals(false, tearDown.ran);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/CacheLoader.java

       * @throws Exception if unable to load the result
       * @throws InterruptedException if this method is interrupted. {@code InterruptedException} is
       *     treated like any other {@code Exception} in all respects except that, when it is caught,
       *     the thread's interrupt status is set
       */
      public abstract V load(K key) throws Exception;
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/ClusterException.java

       *   <li>If {@code exceptions} has a single exception and that exception is a {@link
       *       RuntimeException}, return it
       *   <li>If {@code exceptions} has a single exceptions and that exceptions is not a
       *       {@link RuntimeException}, return a simple {@code RuntimeException} that wraps it
       *   <li>Otherwise, return an instance of {@link ClusterException} that wraps the first exception
       *       in the {@code exceptions} collection.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertEquals(key, result.get(1));
        assertEquals(key + suffix, cache.getUnchecked(key));
      }
    
      static <T> Callable<T> throwing(final Exception exception) {
        return new Callable<T>() {
          @Override
          public T call() throws Exception {
            throw exception;
          }
        };
      }
    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)
  9. guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

      }
    
      @Override
      protected void tearDown() throws Exception {
        classReloader.close();
        Thread.currentThread().setContextClassLoader(oldClassLoader);
        System.clearProperty("guava.concurrent.generate_cancellation_cause");
      }
    
      public void testCancel_notDoneNoInterrupt() throws Exception {
        Future<?> future = newFutureInstance();
        assertTrue(future.cancel(false));
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java

    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.1K bytes
    - Viewed (0)
Back to top