- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 38 for wrong_type (0.16 sec)
-
staging/src/k8s.io/apiserver/pkg/server/options/tracing_test.go
kind: TracingConfiguration endpoint: 127.0.0.1:4317 `, expectedResult: &tracingapi.TracingConfiguration{ Endpoint: &ipAddress, }, expectedError: nil, }, { name: "wrong_type", createFile: true, contents: ` apiVersion: apps/v1 kind: DaemonSet metadata: name: agent spec: selector: matchLabels: k8s-app: agent template: metadata:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 05 02:24:38 UTC 2023 - 4.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/egressselector/config_test.go
}, { Name: "etcd", Connection: apiserver.Connection{ ProxyProtocol: "Direct", }, }, }, }, expectedError: nil, }, { name: "wrong_type", createFile: true, contents: ` apiVersion: apps/v1 kind: DaemonSet metadata: labels: addonmanager.kubernetes.io/mode: Reconcile k8s-app: konnectivity-agent namespace: kube-system
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 05 02:24:38 UTC 2023 - 15.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/WrongType.java
/** * A type which will never be used as the element type of any collection in our tests, and so can be * used to test how a Collection behaves when given input of the wrong type. */ @GwtCompatible public enum WrongType { VALUE
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 934 bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/WrongType.java
/** * A type which will never be used as the element type of any collection in our tests, and so can be * used to test how a Collection behaves when given input of the wrong type. */ @GwtCompatible public enum WrongType { VALUE
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 934 bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java
assertEquals("get(null) should return the associated value", getValueForNullKey(), get(null)); } public void testGet_wrongType() { try { assertNull("get(wrongType) should return null or throw", getMap().get(WrongType.VALUE)); } catch (ClassCastException tolerated) { } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 09 20:10:38 UTC 2018 - 2.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java
getNullLocation(), find(null)); } public void testFind_wrongType() { try { assertEquals( getMethodName() + "(wrongType) should return -1 or throw", -1, find(WrongType.VALUE)); } catch (ClassCastException tolerated) { } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Apr 20 11:19:03 UTC 2023 - 3.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapContainsKeyTester.java
} public void testContains_wrongType() { try { // noinspection SuspiciousMethodCalls assertFalse( "containsKey(wrongType) should return false or throw", getMap().containsKey(WrongType.VALUE)); } catch (ClassCastException tolerated) { } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 09 20:10:38 UTC 2018 - 3.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.java
assertTrue(collection.containsAll(MinimalCollection.of((E) null))); } public void testContainsAll_wrongType() { Collection<WrongType> wrong = MinimalCollection.of(WrongType.VALUE); try { assertFalse( "containsAll(wrongType) should return false or throw", collection.containsAll(wrong)); } catch (ClassCastException tolerated) { } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 3.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java
assertEquals("get(null) should return the associated value", getValueForNullKey(), get(null)); } public void testGet_wrongType() { try { assertNull("get(wrongType) should return null or throw", getMap().get(WrongType.VALUE)); } catch (ClassCastException tolerated) { } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 09 20:10:38 UTC 2018 - 2.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.java
assertTrue(collection.containsAll(MinimalCollection.of((E) null))); } public void testContainsAll_wrongType() { Collection<WrongType> wrong = MinimalCollection.of(WrongType.VALUE); try { assertFalse( "containsAll(wrongType) should return false or throw", collection.containsAll(wrong)); } catch (ClassCastException tolerated) { } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 3.8K bytes - Viewed (0)