- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for assertSize (0.26 seconds)
-
android/guava-tests/test/com/google/common/collect/AbstractTableTest.java
assertEquals((Character) 'b', table.get("bar", 1)); assertSize(3); assertEquals((Character) 'd', table.put("foo", 1, cellValue('d'))); assertEquals((Character) 'd', table.get("foo", 1)); assertSize(3); } public void testPutNull() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); assertSize(3);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/AbstractTableTest.java
assertEquals((Character) 'b', table.get("bar", 1)); assertSize(3); assertEquals((Character) 'd', table.put("foo", 1, cellValue('d'))); assertEquals((Character) 'd', table.get("foo", 1)); assertSize(3); } public void testPutNull() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); assertSize(3);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/TablesTransformValuesTest.java
public void testNullPointerInstance() {} // put() and putAll() aren't supported. @Override public void testPut() { assertThrows(UnsupportedOperationException.class, () -> table.put("foo", 1, 'a')); assertSize(0); } @Override public void testPutAllTable() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); Table<String, Integer, Character> other = HashBasedTable.create();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java
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'); // We know that we have only added non-null Characters.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.6K bytes - Click Count (0)