- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 879 for assertValue (0.2 seconds)
-
guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
/** Tests that the {@link Future#get()} method blocks until a value is available. */ public void testGetBlocksUntilValueAvailable() throws Throwable { assertFalse(future.isDone()); assertFalse(future.isCancelled()); ExecutorService executor = newSingleThreadExecutor(); try { Future<Boolean> getResult = executor.submit(() -> future.get());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 6.1K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java
assertEquals("a", iterator.next()); assertFalse(iterator.hasNext()); assertThrows(NoSuchElementException.class, iterator::next); assertThrows(IllegalStateException.class, iterable::iterator); } public void testFrom_empty() { Iterable<String> iterable = MinimalIterable.from(Collections.<String>emptySet()); Iterator<String> iterator = iterable.iterator(); assertFalse(iterator.hasNext());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 2.6K bytes - Click Count (0) -
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));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 32.4K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/PluginUpgradeCliTest.java
// None of the optional flags should be present assertFalse(options.plugins().isPresent(), "--plugins should not be present by default"); assertFalse(options.all().isPresent(), "--all should not be present by default"); assertFalse(options.infer().isPresent(), "--infer should not be present by default"); assertFalse(options.model().isPresent(), "--fix-model should not be present by default");Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:48:39 GMT 2025 - 9.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java
try { Path nonExistingFile = tempDir.resolve("non_existing.tmp"); assertFalse(Files.exists(nonExistingFile)); // Should return false without throwing exception boolean deleted = Files.deleteIfExists(nonExistingFile); assertFalse(deleted); } finally { deleteDirectory(tempDir.toFile()); } }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/EquivalenceTest.java
Predicate<@Nullable Object> equalTo1 = Equivalence.equals().equivalentTo("1"); assertTrue(equalTo1.apply("1")); assertFalse(equalTo1.apply("2")); assertFalse(equalTo1.apply(null)); Predicate<@Nullable Object> isNull = Equivalence.equals().equivalentTo(null); assertFalse(isNull.apply("1")); assertFalse(isNull.apply("2")); assertTrue(isNull.apply(null)); new EqualsTester()
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 6.6K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/ResponseTest.java
package jcifs.util.transport; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.5K bytes - Click Count (0) -
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" })); }Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 10.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
void testEqualsWithDifferentObjectType() { SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, TEST_TYPE, TEST_REMARK); assertFalse(info.equals("Not a SmbShareInfo")); assertFalse(info.equals(null)); assertFalse(info.equals(new Object())); } @Test @DisplayName("Test hashCode method") void testHashCode() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
assertTrue(asMap.containsKey("foo")); assertFalse(asMap.containsKey("cow")); Set<Entry<String, Collection<Integer>>> entries = asMap.entrySet(); assertFalse(entries.contains((Object) 4.5)); assertFalse(entries.remove((Object) 4.5)); assertFalse(entries.contains(Maps.immutableEntry("foo", singletonList(1)))); assertFalse(entries.remove(Maps.immutableEntry("foo", singletonList(1))));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 39.2K bytes - Click Count (0)