- Sort Score
- Num 10 results
- Language All
Results 551 - 560 of 2,227 for expects (0.05 seconds)
-
tests/connection_test.go
} return nil }) if err != nil { t.Errorf("WithSingleConnection should work, but got err %v", err) } if actualName != expectedName { t.Errorf("WithSingleConnection() method should get correct value, expect: %v, got %v", expectedName, actualName) } } func getSetSQL(driverName string) (string, string) { switch driverName { case mysql.Dialector{}.Name(): return "SET @testName := ?", "SELECT @testName" default:Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Sep 08 09:19:22 GMT 2025 - 943 bytes - Click Count (0) -
guava-tests/test/com/google/common/base/SplitterTest.java
.split("boy : tom , girl: tina , cat : kitty , dog: tommy "); ImmutableMap<String, String> expected = ImmutableMap.of("boy", "tom", "girl", "tina", "cat", "kitty", "dog", "tommy"); assertThat(m).isEqualTo(expected); assertThat(m.entrySet()).containsExactlyElementsIn(expected.entrySet()).inOrder(); } public void testMapSplitter_trimmedEntries() { Map<String, String> m =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 29.7K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/FilterHashEqualsTest.java
assertTrue(f1.equals(f2), "Expected " + f1 + " to equal " + f2); assertTrue(f2.equals(f1), "Expected " + f2 + " to equal " + f1); assertTrue(f1.hashCode() == f2.hashCode()); IncludesArtifactFilter f3 = new IncludesArtifactFilter(Arrays.asList("d", "c", "e")); assertTrue(f1.equals(f3), "Expected " + f1 + " to equal " + f3); assertTrue(f1.hashCode() == f3.hashCode());Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.7K bytes - Click Count (0) -
cmd/bucket-lifecycle-handlers_test.go
credentials auth.Credentials, t *testing.T, ) { // test cases with sample input and expected output. testCases := []struct { method string bucketName string accessKey string secretKey string // Sent body body []byte // Expected response expectedRespStatus int lifecycleResponse []byte errorResponse APIErrorResponse shouldPass bool }{Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Jun 10 15:50:49 GMT 2024 - 11.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/CollectorTester.java
} assertEquivalent(expectedResult, collector.finisher().apply(finalAccum)); } } private void assertEquivalent(R expected, R actual) { assertTrue( "Expected " + expected + " got " + actual + " modulo equivalence " + equivalence, equivalence.test(expected, actual)); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu May 15 21:47:56 GMT 2025 - 6.6K bytes - Click Count (0) -
.github/ISSUE_TEMPLATE/question.md
title: "\U0001F649" labels: '' assignees: '' --- 🛑 𝙎𝙏𝙊𝙋 This issue tracker is not the place for questions! If you want to ask how to do something, or to understand why something isn't working the way you expect it to, use Stack Overflow. https://stackoverflow.com/questions/tagged/okhttp
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Dec 30 18:42:51 GMT 2018 - 406 bytes - Click Count (0) -
guava-tests/test/com/google/common/net/InetAddressesTest.java
Inet4Address expected = (Inet4Address) InetAddresses.forString("192.168.1.1"); assertThat(InetAddresses.forUriString("192.168.1.1")).isEqualTo(expected); } public void testForUriStringIPv6() { Inet6Address expected = (Inet6Address) InetAddresses.forString("3ffe:0:0:0:0:0:0:1"); assertThat(InetAddresses.forUriString("[3ffe:0:0:0:0:0:0:1]")).isEqualTo(expected); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 36.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixList.kt
/** * Basic I/O for `PublicSuffixDatabase.list` */ internal interface PublicSuffixList { fun ensureLoaded() val bytes: ByteString val exceptionBytes: ByteString companion object }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue May 27 22:00:49 GMT 2025 - 929 bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/repository/MavenArtifactRepositoryTest.java
assertFalse(r1.hashCode() == r3.hashCode()); assertTrue(r1.equals(r2), "Expected " + r1 + " to equal " + r2); assertTrue(r2.equals(r1), "Expected " + r2 + " to equal " + r1); assertFalse(r1.equals(r3), "Expected " + r1 + " to not equal " + r3); assertFalse(r3.equals(r1), "Expected " + r3 + " to not equal " + r1); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2K bytes - Click Count (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 {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri May 12 18:12:42 GMT 2023 - 3K bytes - Click Count (0)