Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for testEmpty (0.27 sec)

  1. android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java

    /**
     * {@link LoadingCache} tests that deal with empty caches.
     *
     * @author mike nonemacher
     */
    
    @NullUnmarked
    public class EmptyCachesTest extends TestCase {
    
      public void testEmpty() {
        for (LoadingCache<Object, Object> cache : caches()) {
          checkEmpty(cache);
        }
      }
    
    
      public void testInvalidate_empty() {
        for (LoadingCache<Object, Object> cache : caches()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/QueuesTest.java

          // asking to drain zero elements
          assertEquals(0, drain(q, ImmutableList.of(), 0, 10, MILLISECONDS, interruptibly));
        }
      }
    
      public void testEmpty() throws Exception {
        for (BlockingQueue<Object> q : blockingQueues()) {
          checkEmpty(q);
        }
      }
    
      private void checkEmpty(BlockingQueue<Object> q) {
        assertDrained(q);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

                    CollectionFeature.NON_STANDARD_TOSTRING,
                    CollectionFeature.SERIALIZABLE)
                .createTestSuite());
        return suite;
      }
    
      public void testEmpty() {
        ImmutableRangeSet<Integer> rangeSet = ImmutableRangeSet.of();
    
        assertThat(rangeSet.asRanges()).isEmpty();
        assertEquals(ImmutableRangeSet.<Integer>all(), rangeSet.complement());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

        ImmutableBiMap<String, Integer> copy = ImmutableBiMap.copyOf(original);
        assertMapEquals(copy, "one", 1, "two", 2, "three", 3);
        assertSame(copy, ImmutableBiMap.copyOf(copy));
      }
    
      public void testEmpty() {
        ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.of();
        assertEquals(Collections.<String, Integer>emptyMap(), bimap);
        assertEquals(Collections.<Integer, String>emptyMap(), bimap.inverse());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        matcher.setBits(bitset);
        for (int i = Character.MIN_VALUE; i <= Character.MAX_VALUE; i++) {
          assertEquals(matcher.matches((char) i), bitset.get(i));
        }
      }
    
      public void testEmpty() throws Exception {
        doTestEmpty(CharMatcher.any());
        doTestEmpty(CharMatcher.none());
        doTestEmpty(is('a'));
        doTestEmpty(isNot('a'));
        doTestEmpty(anyOf(""));
        doTestEmpty(anyOf("x"));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/CharMatcherTest.java

        matcher.setBits(bitset);
        for (int i = Character.MIN_VALUE; i <= Character.MAX_VALUE; i++) {
          assertEquals(matcher.matches((char) i), bitset.get(i));
        }
      }
    
      public void testEmpty() throws Exception {
        doTestEmpty(CharMatcher.any());
        doTestEmpty(CharMatcher.none());
        doTestEmpty(is('a'));
        doTestEmpty(isNot('a'));
        doTestEmpty(anyOf(""));
        doTestEmpty(anyOf("x"));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/RangeTest.java

        assertEquals(CLOSED, range.upperBoundType());
        assertFalse(range.isEmpty());
        assertEquals("[4..4]", range.toString());
        reserializeAndAssert(range);
      }
    
      public void testEmpty1() {
        Range<Integer> range = Range.closedOpen(4, 4);
        assertFalse(range.contains(3));
        assertFalse(range.contains(4));
        assertFalse(range.contains(5));
        assertTrue(range.hasLowerBound());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/RangeTest.java

        assertEquals(CLOSED, range.upperBoundType());
        assertFalse(range.isEmpty());
        assertEquals("[4..4]", range.toString());
        reserializeAndAssert(range);
      }
    
      public void testEmpty1() {
        Range<Integer> range = Range.closedOpen(4, 4);
        assertFalse(range.contains(3));
        assertFalse(range.contains(4));
        assertFalse(range.contains(5));
        assertTrue(range.hasLowerBound());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

            anotherUser.setName("another");
            FessUserBean anotherBean = new FessUserBean(anotherUser);
            assertSame(anotherUser, anotherBean.getFessUser());
        }
    
        public void test_empty() {
            // Test empty user bean creation
            FessUserBean emptyBean = FessUserBean.empty();
            assertNotNull(emptyBean);
    
            // Test getUserId returns EMPTY_USER_ID
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
Back to top