Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 1,270 for expectEq (0.07 sec)

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

            .invoke(future, badFuture);
        CancellationException expected = assertThrows(CancellationException.class, () -> future.get());
        assertThat(expected).hasCauseThat().isInstanceOf(IllegalArgumentException.class);
        assertThat(expected).hasCauseThat().hasMessageThat().contains(badFuture.toString());
      }
    
      private Future<?> newFutureInstance() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/ReflectionFreeAssertThrows.java

          throw new AssertionError(
              "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t);
        }
        if (userPassedSupplier) {
          throw new AssertionError(
              "expected to throw "
                  + expectedThrowable.getSimpleName()
                  + " but returned result: "
                  + result);
        } else {
          throw new AssertionError("expected to throw " + expectedThrowable.getSimpleName());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/BaseEncodingTest.java

            try {
              encoding.decode(cannotDecode);
              fail("Expected IllegalArgumentException");
            } catch (IllegalArgumentException expected) {
              if (expectedMessage != null) {
                assertThat(expected).hasCauseThat().hasMessageThat().isEqualTo(expectedMessage);
              }
            }
          }
        },
        DECODE_CHECKED {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java

            assertEquals("TestAgent", fessConfig.getUserAgentName());
        }
    
        private void assertArrays(final String[] expected, final String[] actual) {
            Arrays.sort(expected);
            Arrays.sort(actual);
            assertEquals(String.join(",", expected), String.join(",", actual));
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/TimeoutTest.java

                }
                finally {
                    f.delete();
                }
            }
    
        }
    
    
        @Test ( expected = ConnectionTimeoutException.class )
        public void testConnectTimeoutRead () throws IOException {
            Set<Thread> threadsBefore = new HashSet<>(Thread.getAllStackTraces().keySet());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.4K bytes
    - Viewed (0)
  6. cmd/tier_test.go

    		case tierRequestsSuccess:
    			succ += metric.Value
    		case tierRequestsFailure:
    			fail += metric.Value
    		}
    	}
    	if int(succ) != expSuccess {
    		t.Fatalf("Expected %d successes but got %f", expSuccess, succ)
    	}
    	if int(fail) != expFailure {
    		t.Fatalf("Expected %d failures but got %f", expFailure, fail)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Dec 21 04:13:40 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/lifecycle.go

    	}
    
    	if len(events) > 0 {
    		slices.SortFunc(events, func(a, b Event) int {
    			// Prefer Expiration over Transition for both current
    			// and noncurrent versions when,
    			// - now is past the expected time to action
    			// - expected time to action is the same for both actions
    			if now.After(a.Due) && now.After(b.Due) || a.Due.Equal(b.Due) {
    				switch a.Action {
    				case DeleteAllVersionsAction, DelMarkerDeleteAllVersionsAction,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  8. cmd/object-api-deleteobject_test.go

    		if err != nil && !isErrObjectNotFound(err) {
    			t.Log(oi)
    			t.Errorf("Test %d: %s:  Expected to pass, but failed with: <ERROR> %s", i+1, instanceType, err)
    			continue
    		}
    
    		result, err := obj.ListObjects(context.Background(), testCase.bucketName, "", "", "", 1000)
    		if err != nil {
    			t.Errorf("Test %d: %s:  Expected to pass, but failed with: <ERROR> %s", i+1, instanceType, err.Error())
    			continue
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool-decom_test.go

    			if testCase.expectedErr {
    				t.Log(err)
    			}
    			if err != nil && !testCase.expectedErr {
    				t.Errorf("Expected success, but found %s", err)
    			}
    			if err == nil && testCase.expectedErr {
    				t.Error("Expected error, but got `nil`")
    			}
    			if update != testCase.expectedUpdate {
    				t.Errorf("Expected %t, got %t", testCase.expectedUpdate, update)
    			}
    		})
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 01 14:38:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/LinkedHashMultiset.java

        return create(ObjectCountHashMap.DEFAULT_SIZE);
      }
    
      /**
       * Creates a new, empty {@code LinkedHashMultiset} with the specified expected number of distinct
       * elements.
       *
       * @param distinctElements the expected number of distinct elements
       * @throws IllegalArgumentException if {@code distinctElements} is negative
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top