Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 446 for assertFalse (0.08 sec)

  1. android/guava-tests/test/com/google/common/base/StringsTest.java

        assertFalse(Strings.validSurrogatePairAt("\uD8AB\uD8AB", 0));
        assertFalse(Strings.validSurrogatePairAt("\uDCAB\uDCAB", 0));
        assertFalse(Strings.validSurrogatePairAt("\uD8AB\uDCAB", -1));
        assertFalse(Strings.validSurrogatePairAt("\uD8AB\uDCAB", 1));
        assertFalse(Strings.validSurrogatePairAt("\uD8AB\uDCAB", -2));
        assertFalse(Strings.validSurrogatePairAt("\uD8AB\uDCAB", 2));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java

    @GwtCompatible
    public class MinimalIterableTest extends TestCase {
    
      public void testOf_empty() {
        Iterable<String> iterable = MinimalIterable.<String>of();
        Iterator<String> iterator = iterable.iterator();
        assertFalse(iterator.hasNext());
        assertThrows(NoSuchElementException.class, () -> iterator.next());
        assertThrows(IllegalStateException.class, () -> iterable.iterator());
      }
    
      public void testOf_one() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java

          assertFalse(testInstance.contains('b', 2));
          assertFalse(testInstance.contains('c', 3));
        }
      }
    
      public void testContainsColumn() {
        for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) {
          assertTrue(testInstance.containsColumn(1));
          assertTrue(testInstance.containsColumn(2));
          assertFalse(testInstance.containsColumn(3));
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

        // Later attempts to set the future should return false.
        assertFalse(future.set("x"));
        assertFalse(future.setException(new Exception("bar")));
        assertFalse(future.setFuture(SettableFuture.<String>create()));
        // Check that the future has been set properly.
        assertFalse(future.isDone());
        assertFalse(future.isCancelled());
        assertThrows(TimeoutException.class, () -> future.get(0, MILLISECONDS));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java

        for (LoadingCache<Object, Object> cache : caches()) {
          Set<Object> keys = cache.asMap().keySet();
          assertFalse(keys.remove(null));
          assertFalse(keys.remove(6));
          assertFalse(keys.remove(-6));
          assertFalse(keys.removeAll(asList(null, 0, 15, 1500)));
          assertFalse(keys.retainAll(asList(null, 0, 15, 1500)));
          checkEmpty(keys);
          checkEmpty(cache);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/EmptyCachesTest.java

        for (LoadingCache<Object, Object> cache : caches()) {
          Set<Object> keys = cache.asMap().keySet();
          assertFalse(keys.remove(null));
          assertFalse(keys.remove(6));
          assertFalse(keys.remove(-6));
          assertFalse(keys.removeAll(asList(null, 0, 15, 1500)));
          assertFalse(keys.retainAll(asList(null, 0, 15, 1500)));
          checkEmpty(keys);
          checkEmpty(cache);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

        @Test
        public void testIsNotArray() {
            assertTrue(ArrayUtil.isNotArray(null));
            assertTrue(ArrayUtil.isNotArray("hoge"));
            assertFalse(ArrayUtil.isNotArray(new Object[] {}));
            assertFalse(ArrayUtil.isNotArray(new Object[] { "" }));
            assertFalse(ArrayUtil.isNotArray(new Object[] { "aaa" }));
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertFalse(matcher.matches(s.charAt(0)));
        assertFalse(matcher.apply(s.charAt(0)));
        assertEquals(-1, matcher.indexIn(s));
        assertEquals(-1, matcher.indexIn(s, 0));
        assertEquals(-1, matcher.indexIn(s, 1));
        assertEquals(-1, matcher.lastIndexIn(s));
        assertFalse(matcher.matchesAnyOf(s));
        assertFalse(matcher.matchesAllOf(s));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/MapContainsValueTester.java

      }
    
      public void testContains_no() {
        assertFalse("containsValue(notPresent) should return false", getMap().containsValue(v3()));
      }
    
      @MapFeature.Require(ALLOWS_NULL_VALUE_QUERIES)
      public void testContains_nullNotContainedButAllowed() {
        assertFalse("containsValue(null) should return false", getMap().containsValue(null));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java

            assertFalse(enforceVersion("[2.0.6,)", actualVersion));
            assertFalse(enforceVersion("[2.0.6]", actualVersion));
            assertTrue(enforceVersion("[2.0,2.1]", actualVersion));
            assertFalse(enforceVersion("[2.0,2.0.3]", actualVersion));
            assertTrue(enforceVersion("[2.0,2.0.5]", actualVersion));
            assertFalse(enforceVersion("[2.0,2.0.5)", actualVersion));
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 44.3K bytes
    - Viewed (0)
Back to top