- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for testSize (0.07 sec)
-
android/guava-tests/test/com/google/common/collect/SingletonImmutableTableTest.java
assertNull(testTable.get('A', 1)); assertNull(testTable.get('A', 2)); } public void testIsEmpty() { assertFalse(testTable.isEmpty()); } public void testSize() { assertEquals(1, testTable.size()); } public void testValues() { assertThat(testTable.values()).contains("blah"); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
* correct, but not that they're actually forwarding correctly. We also rely * on the other tests (e.g., SynchronizedSetTest) to verify that the * collection views are synchronized correctly. */ public void testSize() { int unused = create().size(); } public void testIsEmpty() { boolean unused = create().isEmpty(); } public void testRemove() { create().remove(null); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 28 19:11:14 UTC 2025 - 5.9K 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: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/SLinkedListTest.java
list.addLast("1"); list.addLast("2"); assertThat(list.getLast(), is("2")); } /** * @throws Exception */ @Test public void testSize() throws Exception { assertThat(list.size(), is(0)); list.addLast("1"); assertThat(list.size(), is(1)); list.removeFirst(); assertThat(list.size(), is(0)); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
/** * @throws Exception */ @After public void tearDown() throws Exception { map = null; } /** * @throws Exception */ @Test public void testSize() throws Exception { assertThat(map.size(), equalTo(3)); map.put("3", "test3"); assertThat(map.size(), equalTo(4)); } /** * @throws Exception */ @Test
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 10.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
assertEquals(initialSize, map.size()); } else { assertThrows(UnsupportedOperationException.class, () -> map.remove(keyToRemove)); } assertInvariants(map); } public void testSize() { assertInvariants(makeEitherMap()); } public void testKeySetRemove() { Map<K, V> map; try { map = makePopulatedMap(); } catch (UnsupportedOperationException e) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 43.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
// Initialize ProtwordsFile protwordsFile = new ProtwordsFile("test_id", testFile.getAbsolutePath(), new Date()); protwordsFile.manager(dictionaryManager); } @Override public void tearDown() throws Exception { if (testFile != null && testFile.exists()) { testFile.delete(); } super.tearDown(); } private String getTestContent() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
} // Test FilePurgeVisitor public void test_FilePurgeVisitor() throws IOException { // Create a test file File testFile = new File(tempDir, "_1/_2/test.png"); testFile.getParentFile().mkdirs(); testFile.createNewFile(); testFile.setLastModified(System.currentTimeMillis() - 2000L); // Since FilePurgeVisitor is an inner class and we can't directly test it,
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
// Create StopwordsFile instance stopwordsFile = new StopwordsFile("test_id", testFile.getAbsolutePath(), new Date()); stopwordsFile.manager(dictionaryManager); } @Override public void tearDown() throws Exception { if (testFile != null && testFile.exists()) { testFile.delete(); } super.tearDown(); } private String getTestContent() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
// Initialize CharMappingFile charMappingFile = new CharMappingFile("test_id", testFile.getAbsolutePath(), new Date()); charMappingFile.manager(dictionaryManager); } @Override public void tearDown() throws Exception { if (testFile != null && testFile.exists()) { testFile.delete(); } super.tearDown(); } // Test getType method
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.5K bytes - Viewed (0)