Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 234 for isPull (0.41 seconds)

  1. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

          Throwable throwable, Class<? extends Throwable> clazz, Object[] params) {
        assertThat(throwable).isInstanceOf(clazz);
        if (params.length == 1) {
          assertThat(throwable).hasMessageThat().isNull();
        } else if (params.length == 2) {
          assertThat(throwable).hasMessageThat().isEmpty();
        } else {
          assertThat(throwable)
              .hasMessageThat()
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/base/PreconditionsTest.java

          Throwable throwable, Class<? extends Throwable> clazz, Object[] params) {
        assertThat(throwable).isInstanceOf(clazz);
        if (params.length == 1) {
          assertThat(throwable).hasMessageThat().isNull();
        } else if (params.length == 2) {
          assertThat(throwable).hasMessageThat().isEmpty();
        } else {
          assertThat(throwable)
              .hasMessageThat()
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

              }
            }
    
            try {
              assertEquals(expected, rangeMap.span());
              assertThat(expected).isNotNull();
            } catch (NoSuchElementException e) {
              assertThat(expected).isNull();
            }
          }
        }
      }
    
      public void testAllRangesAlone() {
        for (Range<Integer> range : RANGES) {
          Map<Integer, Integer> model = new HashMap<>();
          putModel(model, range, 1);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 30.1K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

                mapEntry("two", 2));
      }
    
      // Other tests
    
      public void testNullGet() {
        ImmutableSortedMap<String, Integer> map = ImmutableSortedMap.of("one", 1);
        assertThat(map.get(null)).isNull();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        NullPointerTester tester = new NullPointerTester();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 29.8K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        if (hung) {
          assertEquals(expectedOutcome, Outcome.HANG);
        } else {
          assertThat(task.get(UNEXPECTED_HANG_DELAY_MILLIS, MILLISECONDS)).isNull();
        }
      }
    
      @Override
      protected void tearDown() throws Exception {
        // We don't want to leave stray threads running after each test. At this point, every thread
        // launched by this test is either:
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.7K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        if (hung) {
          assertEquals(expectedOutcome, Outcome.HANG);
        } else {
          assertThat(task.get(UNEXPECTED_HANG_DELAY_MILLIS, MILLISECONDS)).isNull();
        }
      }
    
      @Override
      protected void tearDown() throws Exception {
        // We don't want to leave stray threads running after each test. At this point, every thread
        // launched by this test is either:
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.7K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      }
    
      public void testImmediateVoidFuture() throws Exception {
        ListenableFuture<@Nullable Void> voidFuture = immediateVoidFuture();
    
        assertThat(getDone(voidFuture)).isNull();
        assertThat(getDoneFromTimeoutOverload(voidFuture)).isNull();
        assertThat(voidFuture.toString()).contains("[status=SUCCESS, result=[null]]");
      }
    
      public void testImmediateFailedFuture() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      }
    
      public void testImmediateVoidFuture() throws Exception {
        ListenableFuture<@Nullable Void> voidFuture = immediateVoidFuture();
    
        assertThat(getDone(voidFuture)).isNull();
        assertThat(getDoneFromTimeoutOverload(voidFuture)).isNull();
        assertThat(voidFuture.toString()).contains("[status=SUCCESS, result=[null]]");
      }
    
      public void testImmediateFailedFuture() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  9. cmd/admin-handlers-users.go

    	if s3Err != ErrNone {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(s3Err), r.URL)
    		return
    	}
    
    	users := r.Form["users"]
    	isAll := r.Form.Get("all") == "true"
    	selfOnly := !isAll && len(users) == 0
    
    	if isAll && len(users) > 0 {
    		// This should be checked on client side, so return generic error
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInvalidRequest), r.URL)
    		return
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 90.6K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        ListenableFuture<?> statusFuture = closingFuture.statusFuture();
        waiter.awaitStarted();
        assertThat(statusFuture.isDone()).isFalse();
        waiter.awaitReturned();
        assertThat(getUninterruptibly(statusFuture)).isNull();
      }
    
      public void testStatusFuture_failure() throws Exception {
        ClosingFuture<String> closingFuture =
            ClosingFuture.submit(
                waiter.waitFor(
                    (ClosingCallable<String>)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 63K bytes
    - Click Count (0)
Back to Top