- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 1,187 for EXPECTED (0.08 sec)
-
android/guava-tests/test/com/google/common/hash/HashCodeTest.java
public void testFromInt() { for (ExpectedHashCode expected : expectedHashCodes) { if (expected.bytes.length == 4) { HashCode fromInt = HashCode.fromInt(expected.asInt); assertExpectedHashCode(expected, fromInt); } } } // expectedHashCodes must contain at least one hash code with 8 bytes public void testFromLong() { for (ExpectedHashCode expected : expectedHashCodes) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 13.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/CharMatcherTest.java
} private static void assertToStringWorks(String expected, CharMatcher matcher) { assertEquals(expected, matcher.toString()); assertEquals(expected, matcher.precomputed().toString()); assertEquals(expected, matcher.negate().negate().toString()); assertEquals(expected, matcher.negate().precomputed().negate().toString()); assertEquals(expected, matcher.negate().precomputed().negate().precomputed().toString()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 18:32:41 UTC 2024 - 30.1K bytes - Viewed (0) -
docs/site-replication/run-multi-site-minio-idp.sh
echo "expected tag removal to have replicated, exiting..." exit_1 fi ./mc rm minio3/newbucket/README.md sleep 5 ./mc stat --no-list minio2/newbucket/README.md if [ $? -eq 0 ]; then echo "expected file to be deleted, exiting.." exit_1 fi ./mc stat --no-list minio1/newbucket/README.md if [ $? -eq 0 ]; then echo "expected file to be deleted, exiting.." exit_1
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 08:03:58 UTC 2024 - 12.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java
void testViewAgainstExpected(RangeSet<Integer> expected, RangeSet<Integer> view) { assertEquals(expected, view); assertEquals(expected.asRanges(), view.asRanges()); assertEquals(expected.isEmpty(), view.isEmpty()); if (!expected.isEmpty()) { assertEquals(expected.span(), view.span()); } for (int i = MIN_BOUND - 1; i <= MAX_BOUND + 1; i++) { assertEquals(expected.contains(i), view.contains(i));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 24.3K bytes - Viewed (0) -
cmd/storage-rest_test.go
expectErr := (err != nil) if expectErr != testCase.expectErr { t.Fatalf("case %v: error: expected: %v, got: %v", i+1, testCase.expectErr, expectErr) } if err != errUnformattedDisk { t.Fatalf("case %v: error: expected: %v, got: %v", i+1, errUnformattedDisk, err) } } } func testStorageAPIStatInfoFile(t *testing.T, storage StorageAPI) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 22 07:04:48 UTC 2024 - 11.5K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/duplex/MockStreamHandler.kt
private val results = LinkedBlockingQueue<FutureTask<Void>>() fun receiveRequest(expected: String) = apply { actions += { stream -> val actual = stream.requestBody.readUtf8(expected.utf8Size()) if (actual != expected) throw AssertionError("$actual != $expected") } } fun exhaustRequest() = apply { actions += { stream ->
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.2K bytes - Viewed (0) -
cmd/copy-part-range_test.go
if err != nil { t.Fatalf("expected: <nil>, got: %s", err) } start, length, err1 := rs.GetOffsetLength(objectSize) if err1 != nil { t.Fatalf("expected: <nil>, got: %s", err1) } if start != successCase.offsetBegin { t.Fatalf("expected: %d, got: %d", successCase.offsetBegin, start) } if start+length-1 != successCase.offsetEnd {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 2.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/VerifyTest.java
VerifyException expected = assertThrows(VerifyException.class, () -> verify(false, "message")); assertThat(expected).hasMessageThat().isEqualTo("message"); } public void testVerify_complexMessage_success() { verify(true, "%s", IGNORE_ME); } public void testVerify_complexMessage_failure() { VerifyException expected = assertThrows(VerifyException.class, () -> verify(false, FORMAT, 5));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ThrowablesTest.java
} @J2ktIncompatible @GwtIncompatible // propagate public void testPropagate_noneDeclared_checked() { RuntimeException expected = assertThrows(RuntimeException.class, () -> propagate(new SomeCheckedException())); assertThat(expected).hasCauseThat().isInstanceOf(SomeCheckedException.class); } @GwtIncompatible // throwIfInstanceOf
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 14.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
+ "expected = " + expected + ", actual = " + actual); } } public static void assertContentsInOrder(Iterable<?> actual, Object... expected) { assertEqualInOrder(asList(expected), actual); } public static void assertEqualIgnoringOrder(Iterable<?> expected, Iterable<?> actual) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 17.5K bytes - Viewed (0)