- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 638 for assertFalse (0.14 sec)
-
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/AndArtifactFilterTest.java
assertFalse(filter1.equals(null), "Expected " + filter1 + " to not equal " + null); assertTrue(filter1.equals(filter1), "Expected " + filter1 + " to equal " + filter1); assertEquals(filter1.hashCode(), filter1.hashCode()); assertFalse(filter1.equals(filter2), "Expected " + filter1 + " to not equal " + filter2);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeImplTest.java
} // Test case for DFS related methods @Test void testDfs() throws SmbException { SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:"); assertFalse(tree.isDfs()); assertFalse(tree.isInDomainDfs()); tree.markDomainDfs(); assertTrue(tree.isInDomainDfs()); } // Test case for treeConnect method with SMB1 @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
// Then assertTrue(response.haveCapabilitiy(0x01)); // Has this bit assertTrue(response.haveCapabilitiy(0x0F)); // Has all these bits assertFalse(response.haveCapabilitiy(0x10)); // Doesn't have this bit assertFalse(response.haveCapabilitiy(0x40)); // Doesn't have this bit } @Test @DisplayName("Should check DFS support correctly")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java
package jcifs.smb; 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.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.ArgumentMatchers.any;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsTester.java
} public void testContains_no() { assertFalse("contains(notPresent) should return false", collection.contains(e3())); } @CollectionFeature.Require(ALLOWS_NULL_QUERIES) public void testContains_nullNotContainedButQueriesSupported() { assertFalse("contains(null) should return false", collection.contains(null)); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFilenameFilterTest.java
SmbFilenameFilter filter = (d, n) -> n.equalsIgnoreCase("hello.txt"); assertFalse(filter.accept(dir, "world.txt")); } @Test void acceptHandlesNullName() throws Exception { SmbFile dir = Mockito.mock(SmbFile.class); SmbFilenameFilter filter = (d, n) -> n != null && n.startsWith("a"); assertFalse(filter.accept(dir, null)); } @Test void acceptPropagatesException() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/PublicInternalApiTest.kt
import okhttp3.internal.http.hasBody import org.junit.jupiter.api.Assertions.assertFalse import org.junit.jupiter.api.Assertions.assertTrue import org.junit.jupiter.api.Test @Suppress("DEPRECATION_ERROR") class PublicInternalApiTest { @Test fun permitsRequestBody() { assertTrue(permitsRequestBody("POST")) assertFalse(permitsRequestBody("GET")) } @Test fun requiresRequestBody() {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CharUtilTest.java
assertFalse(CharUtil.isUrlChar(' ')); // space assertFalse(CharUtil.isUrlChar('\t')); // tab assertFalse(CharUtil.isUrlChar('\n')); // newline assertFalse(CharUtil.isUrlChar('\r')); // carriage return assertFalse(CharUtil.isUrlChar('<')); // less than assertFalse(CharUtil.isUrlChar('>')); // greater than assertFalse(CharUtil.isUrlChar('"')); // double quote
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/util/ResourceManagerTest.java
TestResource resource2 = new TestResource("cleanup2"); resourceManager.registerResource(resource1); resourceManager.registerResource(resource2); assertFalse(resource1.isClosed()); assertFalse(resource2.isClosed()); int cleaned = resourceManager.forceCleanup(); assertTrue(cleaned >= 2); assertTrue(resource1.isClosed());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/TransportTest.java
package jcifs.util.transport; import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0)