Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 446 for assertFalse (0.1 sec)

  1. src/test/java/org/codelibs/core/lang/StringUtilTest.java

        public void testIsNumver() throws Exception {
            assertFalse(StringUtil.isNumber(null));
            assertTrue(StringUtil.isNumber("0123456789"));
            assertFalse(StringUtil.isNumber("aaaBBBccc"));
            assertFalse(StringUtil.isNumber("0123456789"));
            assertFalse(StringUtil.isNumber(""));
            assertFalse(StringUtil.isNumber("01234abcdef"));
            assertFalse(StringUtil.isNumber("abcdef01234"));
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImplTest.java

            final String sessionId = "id1";
            urlFilter.init(sessionId);
    
            assertFalse(urlFilter.match("http://example.com/"));
            assertFalse(urlFilter.match("http://example.com/a"));
            assertFalse(urlFilter.match("http://test.com/"));
            assertFalse(urlFilter.match("http://test.com/a"));
        }
    
        public void test_match_both() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/IteratorsTest.java

        b = asList(4, 8, 15, 16, 23, 42);
        assertFalse(elementsEqual(a.iterator(), b.iterator()));
        assertFalse(elementsEqual(b.iterator(), a.iterator()));
    
        // Different lengths, one is empty.
        a = emptySet();
        b = asList(4, 8, 15, 16, 23, 42);
        assertFalse(elementsEqual(a.iterator(), b.iterator()));
        assertFalse(elementsEqual(b.iterator(), a.iterator()));
      }
    
      public void testPartition_badSize() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ForwardingConcurrentMapTest.java

        assertEquals(Integer.valueOf(2), map.get("foo"));
        assertFalse(map.containsKey("bar"));
      }
    
      public void testReplaceConditional() {
        TestMap map = new TestMap();
        map.put("foo", 1);
        assertFalse(map.replace("foo", 2, 3));
        assertFalse(map.replace("bar", 1, 2));
        assertEquals(Integer.valueOf(1), map.get("foo"));
        assertFalse(map.containsKey("bar"));
        assertTrue(map.replace("foo", 1, 4));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/PredicatesTest.java

        Predicate<Object> predicate = Predicates.or(array);
        assertFalse(predicate.apply(1));
        array[0] = Predicates.alwaysTrue();
        assertFalse(predicate.apply(1));
      }
    
      public void testOr_listDefensivelyCopied() {
        List<Predicate<Object>> list = newArrayList();
        Predicate<Object> predicate = Predicates.or(list);
        assertFalse(predicate.apply(1));
        list.add(Predicates.alwaysTrue());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MultisetsImmutableEntryTest.java

        assertEquals(control("bar", 2), entry("bar", 2));
        assertFalse(control("foo", 1).equals(entry("foo", 2)));
        assertFalse(entry("foo", 1).equals(control("bar", 1)));
        assertFalse(entry("foo", 1).equals(new Object()));
        assertFalse(entry("foo", 1).equals(null));
      }
    
      public void testEqualsNull() {
        assertEquals(control(NE, 1), entry(NE, 1));
        assertFalse(control(NE, 1).equals(entry(NE, 2)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestTest.java

            assertTrue(request.isHiraganaQuery("ぁぃぅぇぉっゃゅょ"));
    
            assertFalse(request.isHiraganaQuery("こ犬"));
            assertFalse(request.isHiraganaQuery("abc"));
            assertFalse(request.isHiraganaQuery("カキク"));
            assertFalse(request.isHiraganaQuery("あカ"));
            assertFalse(request.isHiraganaQuery("アか"));
            assertFalse(request.isHiraganaQuery("abcあ"));
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        try {
          assertFalse(entrySet.contains(nullKeyEntry));
        } catch (NullPointerException e) {
          assertFalse(allowsNullKeys);
        }
        Entry<@Nullable K, @Nullable V> nullKeyValueEntry = mapEntry(null, null);
        try {
          assertFalse(entrySet.contains(nullKeyValueEntry));
        } catch (NullPointerException e) {
          assertFalse(allowsNullKeys && allowsNullValues);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java

            value = " irc:...";
            assertFalse(htmlTransformer.isValidPath(value));
    
            value = "JAVASCRIPT:...";
            assertFalse(htmlTransformer.isValidPath(value));
    
            value = "MAILTO:...";
            assertFalse(htmlTransformer.isValidPath(value));
    
            value = "IRC:...";
            assertFalse(htmlTransformer.isValidPath(value));
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        try {
          assertFalse(entrySet.contains(nullKeyEntry));
        } catch (NullPointerException e) {
          assertFalse(allowsNullKeys);
        }
        Entry<@Nullable K, @Nullable V> nullKeyValueEntry = mapEntry(null, null);
        try {
          assertFalse(entrySet.contains(nullKeyValueEntry));
        } catch (NullPointerException e) {
          assertFalse(allowsNullKeys && allowsNullValues);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
Back to top