- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for TestSize (0.2 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/CollectionSizeTester.java
*/ @GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. public class CollectionSizeTester<E> extends AbstractCollectionTester<E> { public void testSize() { assertEquals("size():", getNumElements(), collection.size()); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 09 20:10:38 UTC 2018 - 1.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSizeTester.java
*/ @GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. public class CollectionSizeTester<E> extends AbstractCollectionTester<E> { public void testSize() { assertEquals("size():", getNumElements(), collection.size()); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 09 20:10:38 UTC 2018 - 1.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapSizeTester.java
*/ @GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. public class MapSizeTester<K, V> extends AbstractMapTester<K, V> { public void testSize() { assertEquals("size():", getNumElements(), getMap().size()); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 09 20:10:38 UTC 2018 - 1.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapSizeTester.java
*/ @GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. public class MapSizeTester<K, V> extends AbstractMapTester<K, V> { public void testSize() { assertEquals("size():", getNumElements(), getMap().size()); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 09 20:10:38 UTC 2018 - 1.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java
@ElementTypesAreNonnullByDefault public class MultimapSizeTester<K extends @Nullable Object, V extends @Nullable Object> extends AbstractMultimapTester<K, V, Multimap<K, V>> { public void testSize() { int expectedSize = getNumElements(); Multimap<K, V> multimap = multimap(); assertEquals(expectedSize, multimap.size()); int size = 0; for (Entry<K, V> entry : multimap.entries()) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 3.7K bytes - Viewed (0) -
src/cmd/internal/src/xpos_test.go
if got := tab.XPos(NoPos); got != NoXPos { t.Errorf("XPos(NoPos): got %v; want %v", got, NoXPos) } if tab.baseList[0] != nil || tab.indexMap[nil] != 0 { t.Errorf("nil base not at index 0") } } func TestSize(t *testing.T) { var p XPos if unsafe.Alignof(p) != 4 { t.Errorf("alignment = %v; want 4", unsafe.Alignof(p)) } if unsafe.Sizeof(p) != 8 { t.Errorf("size = %v; want 8", unsafe.Sizeof(p)) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 15:52:41 UTC 2023 - 2.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java
@ElementTypesAreNonnullByDefault public class MultimapSizeTester<K extends @Nullable Object, V extends @Nullable Object> extends AbstractMultimapTester<K, V, Multimap<K, V>> { public void testSize() { int expectedSize = getNumElements(); Multimap<K, V> multimap = multimap(); assertEquals(expectedSize, multimap.size()); int size = 0; for (Entry<K, V> entry : multimap.entries()) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 3.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter_test.go
Name: "foo", }, Data: map[string]string{ "fakeString": "fake", }, } crdParams := &unstructured.Unstructured{ Object: map[string]interface{}{ "spec": map[string]interface{}{ "testSize": 10, }, }, } podObject := corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "foo", }, Spec: corev1.PodSpec{ NodeName: "testnode", }, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 40.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteSourceTester.java
} }); assertExpectedBytes(out.toByteArray()); } public void testIsEmpty() throws IOException { assertEquals(expected.length == 0, source.isEmpty()); } public void testSize() throws IOException { assertEquals(expected.length, source.size()); } public void testSizeIfKnown() throws IOException { Optional<Long> sizeIfKnown = source.sizeIfKnown();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 8.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractTableReadTest.java
} public void testIsEmpty() { assertTrue(table.isEmpty()); table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); assertFalse(table.isEmpty()); } public void testSize() { assertSize(0); table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); assertSize(3); } public void testEquals() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Mar 04 16:54:11 UTC 2024 - 6.6K bytes - Viewed (0)