- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 1,187 for EXPECTED (0.1 sec)
-
cmd/server-main_test.go
t.Error("expected failure, got success") } if !testcase.expectedErr && err != nil { t.Error("expected success, got failure", err) } if err == nil { if len(sctx.Layout.pools) != 2 { t.Error("expected parsed pools to be 2, not", len(sctx.Layout.pools)) } if sctx.Layout.pools[0].cmdline != testcase.hash {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Dec 07 09:33:56 UTC 2023 - 3.1K bytes - Viewed (0) -
src/cmd/asm/internal/asm/expr_test.go
result := int64(p.expr()) if result != test.output { t.Errorf("%d: %q evaluated to %d; expected %d", i, test.input, result, test.output) } tok := p.next() if test.atEOF && tok.ScanToken != scanner.EOF { t.Errorf("%d: %q: at EOF got %s", i, test.input, tok) } else if !test.atEOF && tok.ScanToken == scanner.EOF { t.Errorf("%d: %q: expected not EOF but at EOF", i, test.input) } } } type badExprTest struct {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Aug 29 07:48:38 UTC 2023 - 3.2K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsRecordCodecTest.kt
"74c01b5adb12c100000e10000003840012750000000e10" ).decodeHex(), ) }.also { expected -> assertThat(expected.message).isEqualTo("sdflkhfsdlkjdf.ee: NXDOMAIN") } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.7K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CancelCall.java
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 12 03:31:36 UTC 2019 - 2.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionForEachTester.java
@CollectionFeature.Require(KNOWN_ORDER) public void testForEachKnownOrder() { List<E> elements = new ArrayList<>(); collection.forEach(elements::add); List<E> expected = Helpers.copyToList(getOrderedElements()); assertEquals("Different ordered iteration", expected, elements); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 2.2K bytes - Viewed (0) -
cmd/lock-rest-client_test.go
if err == nil { t.Fatal("Expected for Rlock to fail") } _, err = lkClient.Lock(context.Background(), dsync.LockArgs{}) if err == nil { t.Fatal("Expected for Lock to fail") } _, err = lkClient.RUnlock(context.Background(), dsync.LockArgs{}) if err == nil { t.Fatal("Expected for RUnlock to fail") }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 2K bytes - Viewed (0) -
istioctl/pkg/describe/describe_test.go
} } func TestGetRevisionFromPodAnnotation(t *testing.T) { cases := []struct { anno klabels.Set expected string }{ { anno: klabels.Set{ apiannotation.SidecarStatus.Name: "", }, expected: "", }, { anno: klabels.Set{}, expected: "", }, { anno: klabels.Set{ apiannotation.SidecarStatus.Name: ` { "initContainers": [
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 20:04:20 UTC 2024 - 30.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HandshakeTest.kt
arrayOf(serverCertificate.certificate, serverIntermediate.certificate), null, ) assertFailsWith<IOException> { sslSession.handshake() }.also { expected -> assertThat(expected).hasMessage("cipherSuite == SSL_NULL_WITH_NULL_NULL") } } @Test fun tlsWithNullNullNull() { val sslSession = FakeSSLSession( "TLSv1.3",
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java
} /** * Verify that the listener completes in a reasonable amount of time, and Asserts that the future * returns the expected data. * * @throws Throwable if the listener isn't called or if it resulted in a throwable or if the * result doesn't match the expected value. */ public void assertSuccess(Object expectedData) throws Throwable {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 18:12:42 UTC 2023 - 3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java
}); fail("Expected NullPointerException or UnsupportedOperationException"); } catch (NullPointerException | UnsupportedOperationException expected) { } } public void testMergeNullFunction() { try { getMap().merge(k0(), v3(), null); fail("Expected NullPointerException or UnsupportedOperationException");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 6.8K bytes - Viewed (0)