Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 640 for assertTrue (0.08 sec)

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

      @CollectionSize.Require(SEVERAL)
      public void testRetainAll_duplicatesRemoved() {
        E[] array = createSamplesArray();
        array[1] = e0();
        collection = getSubjectGenerator().create(array);
        assertTrue(
            "containsDuplicates.retainAll(subset) should return true",
            collection.retainAll(MinimalCollection.of(e2())));
        expectContents(e2());
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertTrue(len1.matches('#'));
        assertFalse(len1.matches('!'));
        assertTrue(len2.matches('a'));
        assertTrue(len2.matches('b'));
        for (char c = 'c'; c < 'z'; c++) {
          assertFalse(len2.matches(c));
        }
        assertTrue(len3.matches('a'));
        assertTrue(len3.matches('b'));
        assertTrue(len3.matches('c'));
        for (char c = 'd'; c < 'z'; c++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/artifact/repository/MavenArtifactRepositoryTest.java

            MavenArtifactRepositorySubclass r3 = new MavenArtifactRepositorySubclass("bar");
    
            assertTrue(r1.hashCode() == r2.hashCode());
            assertFalse(r1.hashCode() == r3.hashCode());
    
            assertTrue(r1.equals(r2));
            assertTrue(r2.equals(r1));
    
            assertFalse(r1.equals(r3));
            assertFalse(r3.equals(r1));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/crawler/util/FieldConfigsTest.java

            FieldConfigs fieldConfigs = new FieldConfigs(params);
            assertTrue(fieldConfigs.getConfig("test").isEmpty());
            assertTrue(fieldConfigs.getConfig("foo").map(FieldConfigs.Config::isCache).orElse(false));
            assertTrue(fieldConfigs.getConfig("foo").map(FieldConfigs.Config::isOverwrite).orElse(false));
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 04 06:20:49 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java

            roleSet = buildByParameter(roleQueryHelperImpl, getMockRequest());
            assertEquals(3, roleSet.size());
            assertTrue(roleSet.contains("role1"));
            assertTrue(roleSet.contains("role2"));
            assertTrue(roleSet.contains("role3"));
    
            roleQueryHelperImpl.parameterKey = "fess2";
    
            roleQueryHelperImpl.cipher = cipher;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

      }
    
      public void testCancel_notDoneNoInterrupt() throws Exception {
        Future<?> future = newFutureInstance();
        assertTrue(future.cancel(false));
        assertTrue(future.isCancelled());
        assertTrue(future.isDone());
        assertNull(tryInternalFastPathGetFailure(future));
        CancellationException e = assertThrows(CancellationException.class, () -> future.get());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

      }
    
      public void testCancel_notDoneNoInterrupt() throws Exception {
        Future<?> future = newFutureInstance();
        assertTrue(future.cancel(false));
        assertTrue(future.isCancelled());
        assertTrue(future.isDone());
        assertNull(tryInternalFastPathGetFailure(future));
        CancellationException e = assertThrows(CancellationException.class, () -> future.get());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java

            assertTrue(range.containsVersion(new DefaultArtifactVersion("1.1-SNAPSHOT")));
            assertTrue(range.containsVersion(new DefaultArtifactVersion("1.2-SNAPSHOT")));
    
            range = VersionRange.createFromVersionSpec("[1.0-SNAPSHOT,1.2]");
    
            assertTrue(range.containsVersion(new DefaultArtifactVersion("1.0-SNAPSHOT")));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java

        assertEquals(0L, map.get(key));
        assertFalse(map.containsKey(key));
    
        assertTrue(map.replace(key, 0L, value));
        assertEquals(value, map.get(key));
    
        assertTrue(map.replace(key, value, 0L));
        assertEquals(0L, map.get(key));
        assertTrue(map.containsKey(key));
    
        assertTrue(map.replace(key, 0L, value));
        assertEquals(value, map.get(key));
      }
    
      public void testRemove() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

        entryIterator.next();
        entryIterator.remove();
        assertFalse(underlying.containsKey("g"));
    
        assertTrue(underlying.isEmpty());
        assertTrue(map.isEmpty());
        assertTrue(keys.isEmpty());
        assertTrue(values.isEmpty());
        assertTrue(entries.isEmpty());
      }
    
      public void testTransformEquals() {
        Map<String, Integer> underlying = ImmutableMap.of("a", 0, "b", 1, "c", 2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top