- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 1,187 for EXPECTED (0.17 sec)
-
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
ImmutableSetMultimap<String, Integer> expected = ImmutableSetMultimap.of("one", 1, "won", 1, "two", 2, "too", 2, "three", 3); assertEquals(expected, map.asMultimap()); } public void testAsMultimapWhenEmpty() { ImmutableMap<String, Integer> map = ImmutableMap.of(); ImmutableSetMultimap<String, Integer> expected = ImmutableSetMultimap.of(); assertEquals(expected, map.asMultimap()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 36.6K bytes - Viewed (0) -
cmd/policy_test.go
expectErr := (err != nil) if expectErr != testCase.expectErr { t.Fatalf("case %v: error: expected: %v, got: %v\n", i+1, testCase.expectErr, expectErr) } if !testCase.expectErr { if !reflect.DeepEqual(result, testCase.expectedResult) { t.Fatalf("case %v: result: expected: %+v, got: %+v\n", i+1, testCase.expectedResult, result) } } } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 8.9K bytes - Viewed (0) -
internal/pubsub/pubsub_test.go
t.Fatalf("unexpected error: %v", err) } ps.Lock() defer ps.Unlock() if len(ps.subs) != 2 || ps.NumSubscribers(MaskAll) != 2 || ps.Subscribers() != 2 { t.Fatalf("expected 2 subscribers") } } func TestNumSubscribersMask(t *testing.T) { ps := New[Maskable, Mask](2) ch1 := make(chan Maskable, 1) ch2 := make(chan Maskable, 1) doneCh := make(chan struct{})
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 5.8K bytes - Viewed (0) -
schema/index_test.go
{Field: &schema.Field{Name: "FieldH2"}}, }, }, }, indices) } func CheckIndices(t *testing.T, expected, actual map[string]schema.Index) { for k, ei := range expected { t.Run(k, func(t *testing.T) { ai, ok := actual[k] if !ok { t.Errorf("expected index %q but actual missing", k) return } tests.AssertObjEqual(t, ai, ei, "Name", "Class", "Type", "Where", "Comment", "Option")
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sun Feb 04 07:49:19 UTC 2024 - 8K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/bug_report.md
**To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error **Expected behavior** A clear and concise description of what you expected to happen. **Screenshots** If applicable, add screenshots to help explain your problem. **Environment (please complete the following information):** - OS: [e.g. Windows 10]
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Aug 17 22:53:30 UTC 2020 - 782 bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PredicatesTest.java
Predicate<? super @Nullable Integer> expected, Predicate<? super @Nullable Integer> actual) { assertEvalsLike(expected, actual, 0); assertEvalsLike(expected, actual, 1); PredicatesTest.<@Nullable Integer>assertEvalsLike(expected, actual, null); } private static <T extends @Nullable Object> void assertEvalsLike( Predicate<? super T> expected, Predicate<? super T> actual, T input) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 32.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt
.build() val call = client.newCall(request) assertFailsWith<IOException> { call.execute() }.also { expected -> when (expected) { is SSLHandshakeException -> { // On Android, the handshake fails before the certificate pinner runs. assertThat(expected.message!!).contains("Could not validate certificate") } is SSLPeerUnverifiedException -> {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 23.8K bytes - Viewed (0) -
tests/scan_test.go
if info.Person == nil { t.Fatalf("Failed, expected not nil, got person nil") } if info.Address == nil { t.Fatalf("Failed, expected not nil, got address nil") } if info.Person.ID == person1.ID { personMatched = true if info.Person.Name != person1.Name { t.Errorf("Failed, expected %v, got %v", person1.Name, info.Person.Name) } }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 10:57:36 UTC 2024 - 10.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt
taskRunner.newQueue().execute("connect") { assertFailsWith<IOException> { finder.find() }.also { expected -> assertThat(expected).hasMessage("boom 0!") assertThat(expected.suppressed.single()).hasMessage("boom 1!") } } taskFaker.runTasks() assertEvents( "take plan 0", "plan 0 TCP connecting...",
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 24 04:40:49 UTC 2024 - 20.9K bytes - Viewed (0) -
internal/s3select/jstream/scanner_test.go
c := scanner.next() if c == byte(0) { break } if c != mockData { t.Fatalf("expected \"%s\", got \"%s\"", string(mockData), string(c)) } i++ } c := scanner.next() if scanner.readerErr == nil { t.Fatalf("failed to receive expected error after %d bytes", failAfter) } if c != byte(0) { t.Fatalf("expected null byte, got %v", c) } } func BenchmarkBufioScanner(b *testing.B) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 3.2K bytes - Viewed (0)