- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for expectFail (0.21 sec)
-
security/pkg/k8s/chiron/utils_test.go
secretNameSpace string expectFail bool }{ "submitting a CSR without duplicate should succeed": { gracePeriodRatio: 0.6, k8sCaCertFile: "./test-data/example-ca-cert.pem", dnsNames: []string{"foo"}, secretNames: []string{"istio.webhook.foo"}, secretName: "mock-secret", secretNameSpace: "mock-secret-namespace", expectFail: false, }, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 03:58:11 UTC 2024 - 13K bytes - Viewed (0) -
pkg/apis/core/v1/helper/helpers_test.go
testCases := []struct { resourceName v1.ResourceName expectVal bool }{ { resourceName: "pod.alpha.kubernetes.io/opaque-int-resource-foo", expectVal: true, }, { resourceName: "kubernetes.io/resource-foo", expectVal: true, }, { resourceName: "foo", expectVal: true, }, { resourceName: "a/b", expectVal: false, }, { resourceName: "",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 23:03:54 UTC 2024 - 16.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr_test.go
input IntOrString total int roundUp bool expectErr bool expectVal int }{ { input: FromInt32(123), expectErr: false, expectVal: 123, }, { input: FromString("90%"), total: 100, roundUp: true, expectErr: false, expectVal: 90, }, { input: FromString("90%"), total: 95, roundUp: true,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:09 UTC 2024 - 14.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
called.set(true); } public void expectCall() { assertFalse("expectCall is already true", expectCall); expectCall = true; } public boolean wasCalled() { return called.get(); } } public void testAllAsList() throws Exception { // Create input and output SettableFuture<String> future1 = SettableFuture.create();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 29 16:29:37 UTC 2024 - 144.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
called.set(true); } public void expectCall() { assertFalse("expectCall is already true", expectCall); expectCall = true; } public boolean wasCalled() { return called.get(); } } public void testAllAsList() throws Exception { // Create input and output SettableFuture<String> future1 = SettableFuture.create();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 29 16:29:37 UTC 2024 - 144.1K bytes - Viewed (0)