- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 638 for assertFalse (0.06 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
thread.waitUntilHoldingLock(); assertFalse(lockA.tryLock()); thread.releaseLockAndFinish(); assertTrue(lockA.tryLock()); } public void testReentrantWriteLock_tryLock() throws Exception { LockingThread thread = new LockingThread(writeLockA); thread.start(); thread.waitUntilHoldingLock(); assertFalse(writeLockA.tryLock()); assertFalse(readLockA.tryLock());Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 16.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java
assertTrue(compressionService.isAlgorithmSupported(CompressionService.COMPRESSION_LZ77_HUFFMAN)); assertFalse(compressionService.isAlgorithmSupported(CompressionService.COMPRESSION_LZNT1)); assertFalse(compressionService.isAlgorithmSupported(CompressionService.COMPRESSION_PATTERN_V1)); } @Test @DisplayName("Test no compression (passthrough)")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
assertSame(defaultThread.getThreadGroup(), thread.getThreadGroup()); assertSame(defaultThread.getUncaughtExceptionHandler(), thread.getUncaughtExceptionHandler()); assertFalse(completed); thread.start(); thread.join(); assertTrue(completed); // Creating a new thread from the same ThreadFactory will have the same // pool ID but a thread ID of 2.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 7.6K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java
assertEquals(v1.hashCode(), v2.hashCode()); } @Test void testEqualsNullSafe() { assertFalse(newArtifactVersion("1").equals(null)); } @Test void testEqualsTypeSafe() { assertFalse(newArtifactVersion("1").equals("non-an-artifact-version-instance")); } private void assertVersionOlder(String left, String right) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 9.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetAddTester.java
} @CollectionFeature.Require(SUPPORTS_ADD) public void testAddAll_emptySet() { assertFalse(getMultiset().addAll(Collections.emptySet())); expectUnchanged(); } @CollectionFeature.Require(SUPPORTS_ADD) public void testAddAll_emptyMultiset() { assertFalse(getMultiset().addAll(getSubjectGenerator().create())); expectUnchanged(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 20:54:16 UTC 2025 - 4.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveIfTester.java
public class CollectionRemoveIfTester<E> extends AbstractCollectionTester<E> { @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE) public void testRemoveIf_alwaysFalse() { assertFalse("removeIf(x -> false) should return false", collection.removeIf(x -> false)); expectUnchanged(); } @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE) @CollectionSize.Require(absent = ZERO)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 4.2K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t10/ProjectInheritanceTest.java
import org.apache.maven.project.inheritance.AbstractProjectInheritanceTestCase; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; /** * Verifies scope inheritance of direct and transitive dependencies. *
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 3.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaProviderFactoryTest.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb2.rdma; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; import java.util.List;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 3.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsKeyTester.java
@CollectionSize.Require(absent = ZERO) public void testContainsKeyYes() { assertTrue(multimap().containsKey(k0())); } public void testContainsKeyNo() { assertFalse(multimap().containsKey(k3())); } public void testContainsKeysFromKeySet() { for (K k : multimap().keySet()) { assertTrue(multimap().containsKey(k)); } }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/FileUtilTest.java
*/ package org.codelibs.core.io; import static org.codelibs.core.io.FileUtil.readBytes; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertThat; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.io.File; import java.io.FileOutputStream; import java.io.IOException;
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 10.3K bytes - Viewed (0)