- Sort Score
- Result 10 results
- Languages All
Results 401 - 410 of 1,141 for assertTrue (0.56 sec)
-
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java
String result = transPeekNamedPipe.toString(); // Assert assertNotNull(result); assertTrue(result.contains("TransPeekNamedPipe")); if (pipeName != null) { assertTrue(result.contains("pipeName=" + pipeName)); } else { assertTrue(result.contains("pipeName=null")); } } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java
assertNotNull(result); assertTrue(result.contains("Trans2FindNext2")); assertTrue(result.contains("sid=" + TEST_SID)); assertTrue(result.contains("searchCount=50")); assertTrue(result.contains("informationLevel=0x")); assertTrue(result.contains("resumeKey=0x" + Hexdump.toHexString(TEST_RESUME_KEY, 4))); assertTrue(result.contains("flags=0x00"));Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.anyBoolean; import static org.mockito.ArgumentMatchers.anyInt; import static org.mockito.ArgumentMatchers.eq;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IterablesTest.java
assertTrue(Iterables.contains(set, null)); } public void test_contains_null_set_no() { Iterable<String> set = newHashSet("a", "b"); assertFalse(Iterables.contains(set, null)); } public void test_contains_null_iterable_yes() { Iterable<@Nullable String> set = iterable("a", null, "b"); assertTrue(Iterables.contains(set, null)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 46.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java
assertEquals("test-channel", state.getChannelId()); assertEquals(0, state.getRetryCount()); assertTrue(state.shouldRetry()); assertTrue(state.getFailureTime() > 0); assertTrue(state.getNextRetryTime() > state.getFailureTime()); } @Test void testFailoverStateRetryLogic() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.7K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/feature/FeaturesTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; /** * Unit tests for the Features class. */ class FeaturesTest { @Test void testDeployBuildPomDefaultValue() { // Test that deployBuildPom returns true by default (when property is not set) Map<String, Object> emptyProperties = Map.of(); assertTrue(Features.deployBuildPom(emptyProperties));Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jul 04 19:42:23 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/ReferralTest.java
String result = referral.toString(); assertTrue(result.contains("Referral[")); assertTrue(result.contains("version=3")); assertTrue(result.contains("size=200")); // updated size assertTrue(result.contains("serverType=1")); assertTrue(result.contains("flags=0")); assertTrue(result.contains("proximity=10")); assertTrue(result.contains("ttl=600"));Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 22K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java
dataStoreParams.putAll(additionalParams); // Verify all values exist assertTrue(dataStoreParams.containsKey("key1")); assertTrue(dataStoreParams.containsKey("key2")); assertTrue(dataStoreParams.containsKey("key3")); assertTrue(dataStoreParams.containsKey("key4")); // Create a copy DataStoreParams copy = dataStoreParams.newInstance();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java
} // Test changePassword with no chains public void test_changePassword_noChains() { boolean result = authenticationManager.changePassword("testuser", "newpass"); assertTrue(result); // Returns true when no chains present } // Test changePassword with single chain success public void test_changePassword_singleChain_success() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 14K bytes - Viewed (0) -
src/test/java/jcifs/netbios/UniAddressTest.java
} @Test void shouldReturnTrueForInvalidOctetValues() { // isDotQuadIP does not validate octet values, only checks format assertTrue(UniAddress.isDotQuadIP("192.168.1.256")); assertTrue(UniAddress.isDotQuadIP("999.999.999.999")); } @Test void shouldThrowExceptionForNullInput() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.4K bytes - Viewed (0)