- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for testPod (0.06 sec)
-
cni/pkg/plugin/plugin_test.go
"istio.io/api/annotation" "istio.io/api/label" "istio.io/istio/pkg/config/constants" "istio.io/istio/pkg/kube" "istio.io/istio/pkg/test/util/assert" ) const ( testPodName = "testPod" testNSName = "testNS" testSandboxDirectory = "/tmp" invalidVersion = "0.1.0" preVersion = "0.2.0" ) var mockConfTmpl = `{ "cniVersion": "%s",
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 17.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/IntMathTest.java
for (RoundingMode mode : ALL_ROUNDING_MODES) { assertThrows(ArithmeticException.class, () -> IntMath.divide(p, 0, mode)); } } } public void testMod() { for (int x : ALL_INTEGER_CANDIDATES) { for (int m : POSITIVE_INTEGER_CANDIDATES) { assertEquals(valueOf(x).mod(valueOf(m)).intValue(), IntMath.mod(x, m)); } } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 23.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/IntMathTest.java
for (RoundingMode mode : ALL_ROUNDING_MODES) { assertThrows(ArithmeticException.class, () -> IntMath.divide(p, 0, mode)); } } } public void testMod() { for (int x : ALL_INTEGER_CANDIDATES) { for (int m : POSITIVE_INTEGER_CANDIDATES) { assertEquals(valueOf(x).mod(valueOf(m)).intValue(), IntMath.mod(x, m)); } } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 23.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/LongMathTest.java
for (long x : ALL_LONG_CANDIDATES) { assertThrows(ArithmeticException.class, () -> LongMath.mod(x, 0)); } } @AndroidIncompatible // slow @GwtIncompatible // TODO public void testMod() { for (long x : ALL_LONG_CANDIDATES) { for (long m : POSITIVE_LONG_CANDIDATES) { assertEquals(valueOf(x).mod(valueOf(m)).longValue(), LongMath.mod(x, m)); } } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 30.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
for (long a : TEST_LONGS) { assertThrows( ArithmeticException.class, () -> UnsignedLong.fromLongBits(a).dividedBy(UnsignedLong.ZERO)); } } public void testMod() { for (long a : TEST_LONGS) { for (long b : TEST_LONGS) { if (b != 0) { UnsignedLong aUnsigned = UnsignedLong.fromLongBits(a);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 10.4K bytes - Viewed (0) -
cni/pkg/nodeagent/informers_test.go
"istio.io/istio/pkg/kube" "istio.io/istio/pkg/monitoring/monitortest" "istio.io/istio/pkg/test/util/assert" ) func TestExistingPodAddedWhenNsLabeled(t *testing.T) { setupLogging() NodeName = "testnode" ctx, cancel := context.WithCancel(context.Background()) defer cancel() pod := &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "test", Namespace: "test", }, Spec: corev1.PodSpec{
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 22.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/InvokableTest.java
assertFalse(invokable.isAnnotationPresent(Tested.class)); } @Retention(RetentionPolicy.RUNTIME) private @interface Tested {} private abstract static class A { @Tested private boolean privateField; @Tested int packagePrivateField; @Tested protected int protectedField; @Tested public String publicField; @Tested private static Iterable<String> staticField;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 30.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/InvokableTest.java
assertFalse(invokable.isAnnotationPresent(Tested.class)); } @Retention(RetentionPolicy.RUNTIME) private @interface Tested {} private abstract static class A { @Tested private boolean privateField; @Tested int packagePrivateField; @Tested protected int protectedField; @Tested public String publicField; @Tested private static Iterable<String> staticField;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 30.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
import java.util.Random; import junit.framework.TestSuite; /** * Unit test for {@link Files}. * * <p>Some methods are tested in separate files: * * <ul> * <li>{@link Files#fileTraverser()} is tested in {@link FilesFileTraverserTest}. * <li>{@link Files#createTempDir()} is tested in {@link FilesCreateTempDirTest}. * </ul> * * @author Chris Nokleberg */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 22.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
for (long a : TEST_LONGS) { assertThrows( ArithmeticException.class, () -> UnsignedLong.fromLongBits(a).dividedBy(UnsignedLong.ZERO)); } } public void testMod() { for (long a : TEST_LONGS) { for (long b : TEST_LONGS) { if (b != 0) { UnsignedLong aUnsigned = UnsignedLong.fromLongBits(a);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 10.4K bytes - Viewed (0)