- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,188 for Expected (0.06 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java
assertEquals(UNCHECKED_EXCEPTION, expected.getCause()); } public void testGetUnchecked_executionExceptionError() { ExecutionError expected = assertThrows(ExecutionError.class, () -> getUnchecked(FAILED_FUTURE_ERROR)); assertEquals(ERROR, expected.getCause()); } public void testGetUnchecked_executionExceptionOtherThrowable() { UncheckedExecutionException expected = assertThrows(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 4.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java
assertEquals(UNCHECKED_EXCEPTION, expected.getCause()); } public void testGetUnchecked_executionExceptionError() { ExecutionError expected = assertThrows(ExecutionError.class, () -> getUnchecked(FAILED_FUTURE_ERROR)); assertEquals(ERROR, expected.getCause()); } public void testGetUnchecked_executionExceptionOtherThrowable() { UncheckedExecutionException expected = assertThrows(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 4.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/MultipartBodyTest.kt
@Test fun onePartRequired() { assertFailsWith<IllegalStateException> { MultipartBody.Builder().build() }.also { expected -> assertThat(expected.message) .isEqualTo("Multipart body must have at least one part.") } } @Test fun singlePart() { val expected = """ |--123 | |Hello, World! |--123-- |
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.4K bytes - Viewed (0) -
cmd/object_api_suite_test.go
t.Errorf("%s: Expected the object name to be `%s`, but instead found `%s`", instanceType, "newPrefix", result.Objects[0].Name) } if result.Objects[1].Name != "newPrefix2" { t.Errorf("%s: Expected the object name to be `%s`, but instead found `%s`", instanceType, "newPrefix", result.Objects[1].Name) } if result.Objects[2].Name != "obj0" {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 02 15:13:05 UTC 2024 - 33.3K bytes - Viewed (0) -
istioctl/pkg/writer/compare/comparator_test.go
} err = comparator.Diff() if err != nil { t.Errorf("Unexpected error during diff: %v", err) } expected := []string{"Clusters Match", "Listeners Match", "Routes Match"} for _, exp := range expected { if !bytes.Contains(outputBuffer.Bytes(), []byte(exp)) { t.Errorf("Expected %s, but it was not found", exp) } } }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Mar 12 10:02:09 UTC 2024 - 2.3K bytes - Viewed (0) -
cmd/signature-v2_test.go
} if testCase.expected != ErrNone { // Should be set since we are simulating a http server. req.RequestURI = req.URL.RequestURI() // Check if it matches! errCode := doesPresignV2SignatureMatch(req) if errCode != testCase.expected { t.Errorf("(%d) expected to get %s, instead got %s", i, niceError(testCase.expected), niceError(errCode)) } } else {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 14 10:08:40 UTC 2022 - 8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java
} /** * Asserts that a Unicode escaper escapes the given code point into the expected string. * * @param escaper the non-null escaper to test * @param expected the expected output string * @param cp the Unicode code point to escape */ public static void assertEscaping(UnicodeEscaper escaper, String expected, int cp) { String escaped = computeReplacement(escaper, cp);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 3.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java
} /** * Asserts that a Unicode escaper escapes the given code point into the expected string. * * @param escaper the non-null escaper to test * @param expected the expected output string * @param cp the Unicode code point to escape */ public static void assertEscaping(UnicodeEscaper escaper, String expected, int cp) { String escaped = computeReplacement(escaper, cp);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 3.8K bytes - Viewed (0) -
cmd/utils_test.go
if foundPrefix != test.commonPrefix { t.Fatalf("Test %d: Common prefix found: `%v`, expected: `%v`", i+1, foundPrefix, test.commonPrefix) } } } func TestGetMinioMode(t *testing.T) { testMinioMode := func(expected string) { if mode := getMinioMode(); mode != expected { t.Fatalf("Expected %s got %s", expected, mode) } } globalIsDistErasure = true testMinioMode(globalMinioModeDistErasure)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Feb 23 21:28:14 UTC 2024 - 10.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSourceTester.java
Random random = new Random(); byte[] expected = factory.getExpected(bytes); // if expected.length == 0, off has to be 0 but length doesn't matter--result will be empty int off = expected.length == 0 ? 0 : random.nextInt(expected.length); int len = expected.length == 0 ? 4 : random.nextInt(expected.length - off);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 8.6K bytes - Viewed (0)