- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 640 for assertTrue (0.07 sec)
-
okhttp/src/test/java/okhttp3/ConscryptTest.kt
} @Test fun testVersion() { val version = Conscrypt.version() assertTrue(ConscryptPlatform.atLeastVersion(1, 4, 9)) assertTrue(ConscryptPlatform.atLeastVersion(version.major())) assertTrue(ConscryptPlatform.atLeastVersion(version.major(), version.minor())) assertTrue(ConscryptPlatform.atLeastVersion(version.major(), version.minor(), version.patch()))
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java
assertTrue(cms.removeExactly("a", 0)); assertEquals(2, cms.count("a")); assertTrue(cms.removeExactly("c", 0)); assertEquals(0, cms.count("c")); assertFalse(cms.removeExactly("a", 4)); assertEquals(2, cms.count("a")); assertTrue(cms.removeExactly("a", 2)); assertEquals(0, cms.count("a")); assertTrue(cms.removeExactly("b", 2));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 14.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java
multimap.put("foo", 3); assertTrue(multimap.get("foo") instanceof RandomAccess); assertTrue(multimap.get("bar") instanceof RandomAccess); } /** Confirm that removeAll() returns a List implementing RandomAccess. */ public void testRemoveAllRandomAccess() { Multimap<String, Integer> multimap = create(); multimap.put("foo", 1); multimap.put("foo", 3);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 6.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java
assertEquals(IllegalStateException.class, e.getCause().getClass()); assertTrue(listenerLatch.await(5, SECONDS)); assertTrue(task.isDone()); assertFalse(task.isCancelled()); } public void testListenerCalledOnCancelFromNotRunning() throws Exception { task.cancel(false); assertTrue(task.isDone()); assertTrue(task.isCancelled()); assertEquals(1, runLatch.getCount());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 4.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java
final SitemapSet sitemapSet = sitemapsHelper.parse(in); final Sitemap[] sitemaps = sitemapSet.getSitemaps(); assertEquals(5, sitemaps.length); assertTrue(sitemapSet.isUrlSet()); assertFalse(sitemapSet.isIndex()); assertEquals("2005-01-01", sitemaps[0].getLastmod()); assertEquals("http://www.example.com/", sitemaps[0].getLoc());
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 9.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapGetTester.java
Collection<V> result = multimap().get(k0()); assertTrue(result.add(v3())); assertTrue(multimap().containsKey(k0())); assertEquals(getNumElements() + 1, multimap().size()); assertTrue(multimap().containsEntry(k0(), v3())); } @MapFeature.Require(SUPPORTS_PUT) public void testPropagatesAddAllToMultimap() { Collection<V> result = multimap().get(k0()); assertTrue(result.addAll(singletonList(v3())));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/DoubleMathTest.java
assertTrue(StrictMath.pow(2.0, log2 - 1) < d); } else { assertTrue(log2 <= 0); assertTrue(StrictMath.pow(2.0, log2) <= d); assertTrue(StrictMath.pow(2.0, log2 + 1) > d); } } } @GwtIncompatible // DoubleMath.log2(double, RoundingMode) public void testRoundLog2Half() { // We don't expect perfect rounding accuracy.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 27.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.java
public class CollectionContainsAllTester<E> extends AbstractCollectionTester<E> { public void testContainsAll_empty() { assertTrue( "containsAll(empty) should return true", collection.containsAll(MinimalCollection.of())); } @CollectionSize.Require(absent = ZERO) public void testContainsAll_subset() { assertTrue( "containsAll(subset) should return true", collection.containsAll(MinimalCollection.of(e0()))); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 3.9K bytes - Viewed (0) -
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) -
android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
List<Entry<Object, Object>> warmed = warmUp(cache); for (int i = WARMUP_MIN; i < WARMUP_MAX; i++) { Entry<Object, Object> entry = warmed.get(i - WARMUP_MIN); assertTrue(cache.asMap().containsKey(entry.getKey())); assertTrue(cache.asMap().containsValue(entry.getValue())); // this getUnchecked() call shouldn't be a cache miss; verified below assertEquals(entry.getValue(), cache.getUnchecked(entry.getKey()));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 15K bytes - Viewed (0)