Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 446 for assertFalse (0.06 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAllTester.java

        E duplicate = arrayAndDuplicate.duplicate;
    
        assertTrue(
            "removeAll(intersectingCollection) should return true",
            getList().removeAll(MinimalCollection.of(duplicate)));
        assertFalse(
            "after removeAll(e), a collection should not contain e even "
                + "if it initially contained e more than once.",
            getList().contains(duplicate));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAllTester.java

        E duplicate = arrayAndDuplicate.duplicate;
    
        assertTrue(
            "removeAll(intersectingCollection) should return true",
            getList().removeAll(MinimalCollection.of(duplicate)));
        assertFalse(
            "after removeAll(e), a collection should not contain e even "
                + "if it initially contained e more than once.",
            getList().contains(duplicate));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/OrderingTest.java

      }
    
      public void testIsStrictlyOrdered() {
        assertFalse(numberOrdering.isStrictlyOrdered(asList(5, 3, 0, 9)));
        assertFalse(numberOrdering.isStrictlyOrdered(asList(0, 5, 3, 9)));
        assertTrue(numberOrdering.isStrictlyOrdered(asList(0, 3, 5, 9)));
        assertFalse(numberOrdering.isStrictlyOrdered(asList(0, 0, 3, 3)));
        assertTrue(numberOrdering.isStrictlyOrdered(asList(0, 3)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/OrderingTest.java

      }
    
      public void testIsStrictlyOrdered() {
        assertFalse(numberOrdering.isStrictlyOrdered(asList(5, 3, 0, 9)));
        assertFalse(numberOrdering.isStrictlyOrdered(asList(0, 5, 3, 9)));
        assertTrue(numberOrdering.isStrictlyOrdered(asList(0, 3, 5, 9)));
        assertFalse(numberOrdering.isStrictlyOrdered(asList(0, 0, 3, 3)));
        assertTrue(numberOrdering.isStrictlyOrdered(asList(0, 3)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

        assertTrue(message, collection.retainAll(target.toRetain));
      }
    
      private void expectReturnsFalse(Target target) {
        String message = Platform.format("retainAll(%s) should return false", target);
        assertFalse(message, collection.retainAll(target.toRetain));
      }
    
      private void expectThrows(Target target) {
        try {
          collection.retainAll(target.toRetain);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java

                }
            };
    
            allowEmptyPermission.set(true);
            assertTrue(ldapManager.allowEmptyGroupAndRole(user));
            allowEmptyPermission.set(false);
            assertFalse(ldapManager.allowEmptyGroupAndRole(user));
    
            permissionList.add("2aaa");
    
            allowEmptyPermission.set(true);
            assertTrue(ldapManager.allowEmptyGroupAndRole(user));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/LongMathTest.java

    @GwtCompatible(emulated = true)
    public class LongMathTest extends TestCase {
      @SuppressWarnings("ConstantOverflow")
      public void testMaxSignedPowerOfTwo() {
        assertTrue(LongMath.isPowerOfTwo(LongMath.MAX_SIGNED_POWER_OF_TWO));
        assertFalse(LongMath.isPowerOfTwo(LongMath.MAX_SIGNED_POWER_OF_TWO * 2));
      }
    
      public void testCeilingPowerOfTwo() {
        for (long x : POSITIVE_LONG_CANDIDATES) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java

        for (int n = 0; n < replacementArray.length; ++n) {
          char c = (char) n;
          if (replacementArray[n] != null) {
            assertEquals(map.get(c), new String(replacementArray[n]));
          } else {
            assertFalse(map.containsKey(c));
          }
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

      public void testEquals_immutableList() {
        Collection<String> c = ImmutableList.of("a", "b", "c");
        assertTrue(c.equals(ImmutableList.of("a", "b", "c")));
        assertFalse(c.equals(ImmutableList.of("a", "c", "b")));
        assertFalse(c.equals(ImmutableList.of("a", "b")));
        assertFalse(c.equals(ImmutableList.of("a", "b", "c", "d")));
      }
    
      public void testBuilderAdd() {
        ImmutableList<String> list =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionClearTester.java

      public void testClear() {
        collection.clear();
        assertTrue("After clear(), a collection should be empty.", collection.isEmpty());
        assertEquals(0, collection.size());
        assertFalse(collection.iterator().hasNext());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testClear_unsupported() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top