Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 168 for raised (0.3 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

      }
    
      /**
       * Asserts that a prior call that had caused this thread to block or wait has since returned
       * normally.
       */
      public void assertPriorCallReturns(@Nullable String methodName) throws Exception {
        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.
    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)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java

    public class AbstractListTester<E extends @Nullable Object> extends AbstractCollectionTester<E> {
      /*
       * Previously we had a field named list that was initialized to the value of
       * collection in setUp(), but that caused problems when a tester changed the
       * value of list or collection but not both.
       */
      protected final List<E> getList() {
        return (List<E>) collection;
      }
    
      /**
       * {@inheritDoc}
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

                return new ForwardingRunnable(runnable) {
                  @Override
                  public void run() {}
                };
              }
            },
            "run()",
            "Failed to forward");
      }
    
      public void testRedundantForwarding() {
        assertFailure(
            Runnable.class,
            new Function<Runnable, Runnable>() {
              @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  4. .github/workflows/ci.yml

            shell: bash
            run: ./mvnw -B -P!standard-with-extra-repos verify -U -Dmaven.javadoc.skip=true -f $ROOT_POM
          - name: 'Print Surefire reports'
            # Note: Normally a step won't run if the job has failed, but this causes it to
            if: ${{ failure() }}
            shell: bash
            run: ./util/print_surefire_reports.sh
          - name: 'Integration Test'
            if: matrix.java == 11
            shell: bash
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:33:50 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       * Future} fails with the given {@code exceptionType}, from the result provided by the {@code
       * fallback}. {@link Function#apply} is not invoked until the primary input has failed, so if the
       * primary input succeeds, it is never invoked. If, during the invocation of {@code fallback}, an
       * exception is thrown, this exception is used as the result of the output {@code Future}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

      /**
       * Returns a new target iterator each time it's called. This is the iterator you are trying to
       * test. This must return an Iterator that returns the expected elements passed to the constructor
       * in the given order. Warning: it is not enough to simply pull multiple iterators from the same
       * source Iterable, unless that Iterator is unmodifiable.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        assertEquals(Arrays.toString(events), stopwatch.readEventsAndClear());
      }
    
      /**
       * The stopwatch gathers events and presents them as strings. R0.6 means a delay of 0.6 seconds
       * caused by the (R)ateLimiter U1.0 means the (U)ser caused the stopwatch to sleep for a second.
       */
      static class FakeStopwatch extends SleepingStopwatch {
        long instant = 0L;
        final List<String> events = Lists.newArrayList();
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

                  return;
                }
              }
              // Remove the interrupt bit before each task. The interrupt is for the "current task" when
              // it is sent, so subsequent tasks in the queue should not be caused to be interrupted
              // by a previous one in the queue being interrupted.
              interruptedDuringTask |= Thread.interrupted();
              try {
                task.run();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

                originalSize,
                trySplit.estimateSize() + spliterator.estimateSize());
          } else {
            assertEquals(
                "estimated size of spliterator after failed trySplit",
                originalSize,
                spliterator.estimateSize());
          }
        }
        return trySplit;
      }
    
      public static <E extends @Nullable Object> SpliteratorTester<E> of(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 18:19:31 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        assertCastFails(Long.MAX_VALUE);
        assertCastFails(Long.MIN_VALUE);
      }
    
      private static void assertCastFails(long value) {
        try {
          UnsignedInts.checkedCast(value);
          fail("Cast to int should have failed: " + value);
        } catch (IllegalArgumentException ex) {
          assertThat(ex).hasMessageThat().contains(String.valueOf(value));
        }
      }
    
      public void testSaturatedCast() {
        for (long value : UNSIGNED_INTS) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (0)
Back to top