- Sort Score
- Result 10 results
- Languages All
Results 511 - 520 of 1,526 for expected (0.16 sec)
-
guava-tests/test/com/google/common/hash/BloomFilterTest.java
IllegalArgumentException expected = assertThrows( IllegalArgumentException.class, () -> { BloomFilter<String> unused = BloomFilter.create(HashTestUtils.BAD_FUNNEL, Integer.MAX_VALUE, Double.MIN_VALUE); }); assertThat(expected) .hasMessageThat()
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 21.2K bytes - Viewed (0) -
cmd/format-erasure.go
return "", err } if meta.Version != formatMetaVersionV1 { return "", fmt.Errorf(`format.Version expected: %s, got: %s`, formatMetaVersionV1, meta.Version) } if meta.Format != formatBackendErasure && meta.Format != formatBackendErasureSingle {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 23.2K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/TearDownStackTest.java
assertEquals(false, tearDownTwo.ran); try { stack.runTearDown(); fail("runTearDown should have thrown an exception"); } catch (ClusterException expected) { assertThat(expected).hasCauseThat().hasMessageThat().isEqualTo("two"); } catch (RuntimeException e) { throw new RuntimeException(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 21 10:19:29 UTC 2024 - 4.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java
ValueAndCloser<?> valueAndCloser = finishToValueAndCloser(closingFuture); try { valueAndCloser.get(); fail(); } catch (ExecutionException expected) { assertThat(expected).hasCauseThat().isSameInstanceAs(exception); } valueAndCloser.closeAsync(); } @Override void assertBecomesCanceled(ClosingFuture<?> closingFuture) throws ExecutionException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 5.7K bytes - Viewed (0) -
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007_pv1.py
""" response = client.post("/items/", content=yaml_data) assert response.status_code == 422, response.text assert response.json() == { "detail": [ {"loc": ["tags", 3], "msg": "str type expected", "type": "type_error.str"} ] } @needs_pydanticv1 def test_openapi_schema(client: TestClient): response = client.get("/openapi.json") assert response.status_code == 200, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 3.2K bytes - Viewed (0) -
internal/dsync/dsync_test.go
dm2nd.Unlock(context.Background()) }() expect += 2*testDrwMutexAcquireTimeout + testDrwMutexRefreshCallTimeout wg.Wait() // We expect at least 3 x 2 x testDrwMutexAcquireTimeout to have passed elapsed := time.Since(started) if elapsed < expect { t.Errorf("expected at least %v time have passed, however %v passed", expect, elapsed) } t.Logf("expected at least %v time have passed, %v passed", expect, elapsed) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jun 19 14:35:19 UTC 2024 - 11.1K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java
} private static void assertValueAndTypeEquals(Object expected, Object actual) { assertEquals(expected, actual); assertEquals(expected.getClass(), actual.getClass()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 18.4K bytes - Viewed (0) -
cmd/data-scanner_test.go
} if len(gots) != len(wants) { t.Fatalf("Expected %d objects but got %d", len(wants), len(gots)) } // Close expiry state's channel to inspect object versions enqueued for expiration close(workers[0]) wg.Wait() for _, obj := range expired { switch obj.ObjectV.VersionID { case uuids[2].String(), uuids[3].String(), uuids[4].String(): default: t.Errorf("Unexpected versionID being expired: %#v\n", obj) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 03 11:18:58 UTC 2024 - 6.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FluentIterableTest.java
FluentIterable<String> cycle = FluentIterable.from(asList("a", "b")).cycle(); int howManyChecked = 0; for (String string : cycle) { String expected = (howManyChecked % 2 == 0) ? "a" : "b"; assertEquals(expected, string); if (howManyChecked++ == 5) { break; } } // We left the last iterator pointing to "b". But a new iterator should
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 30.4K bytes - Viewed (0) -
cni/pkg/install/kubeconfig_test.go
} result, err := createKubeConfig(cfg) if err != nil { if !c.expectedFailure { t.Fatalf("did not expect failure: %v", err) } // Successful test case expecting failure return } else if c.expectedFailure { t.Fatal("expected failure") } goldenFilepath := "testdata/kubeconfig-tls" if c.skipTLSVerify { goldenFilepath = "testdata/kubeconfig-skip-tls" }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Aug 14 19:36:19 UTC 2024 - 3.8K bytes - Viewed (0)