- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 1,526 for expected (0.08 sec)
-
android/guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java
public void testGetKeyMatchesString() { for (StandardSystemProperty property : StandardSystemProperty.values()) { String fieldName = property.name(); String expected = Ascii.toLowerCase(fieldName).replaceAll("_", "."); assertEquals(expected, property.key()); } } public void testGetValue() { for (StandardSystemProperty property : StandardSystemProperty.values()) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 10 08:40:05 UTC 2023 - 2.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
val call1 = client.newCall(Request(server.url("/"))) assertFailsWith<IOException> { call1.execute() }.also { expected -> when (expected) { is SocketTimeoutException, is SSLException -> {} else -> throw expected } } // The second call times out because it uses the same bad connection. val call2 = client.newCall(Request(server.url("/")))
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 75.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/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.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt
sink.flush() sleep(100) } fail("Expected connection to be closed") } }, ), ) cancelLater(call, 500) assertFailsWith<IOException> { call.execute() }.also { expected -> assertEquals(cancelMode == INTERRUPT, Thread.interrupted()) } } @ParameterizedTest
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 9.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/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: Thu Oct 17 19:43:49 UTC 2024 - 7K bytes - Viewed (0) -
cmd/handler-utils_test.go
config.SetRegion(globalServerConfig, testCase.serverConfigRegion) _, actualCode := parseLocationConstraint(testCase.request) if testCase.expectedCode != actualCode { t.Errorf("Test %d: Expected the APIErrCode to be %d, but instead found %d", i+1, testCase.expectedCode, actualCode) } } } // Tests validate metadata extraction from http headers. func TestExtractMetadataHeaders(t *testing.T) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 6.1K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/03-gopls.yml
- type: textarea id: actual-behavior attributes: label: "What did you see happen?" validations: required: true - type: textarea id: expected-behavior attributes: label: "What did you expect to see?" validations: required: true - type: textarea id: editor-and-settings attributes: label: "Editor and settings"
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri May 24 17:09:04 UTC 2024 - 1.8K bytes - Viewed (0) -
src/cmd/asm/internal/asm/operand_test.go
{"[X0-x]", "register list: bad high register in `[X0-x`"}, {"[X0-X1-X2]", "register list: expected ']' after `[X0-X1`, found '-'"}, {"[X0,X3]", "register list: expected '-' after `[X0`, found ','"}, {"[X0,X1,X2,X3]", "register list: expected '-' after `[X0`, found ','"}, {"$foo<ABI0>", "ABI selector only permitted when compiling runtime, reference was to \"foo\""}, } var amd64BadOperandRuntimeTests = []badOperandTest{
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Aug 29 18:31:05 UTC 2023 - 23.9K bytes - Viewed (0) -
internal/s3select/select_test.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 23 07:19:11 UTC 2023 - 76.2K bytes - Viewed (0) -
cmd/server_test.go
} for k := range expectedMap { if v, ok := res.Header[k]; !ok { c.Errorf("Expected key %s missing from %v", k, res.Header) } else { expectedSet := set.CreateStringSet(expectedMap[k]...) gotSet := set.CreateStringSet(strings.Split(v[0], ", ")...) if !expectedSet.Equals(gotSet) { c.Errorf("Expected value %v, got %v", strings.Join(expectedMap[k], ", "), v) } } } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 15 16:28:02 UTC 2024 - 116.3K bytes - Viewed (0)