- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 80 for assertTrue (0.26 sec)
-
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
// Then assertNotNull(str); assertTrue(str.contains("SmbOperationException")); assertTrue(str.contains("ACCESS_DENIED")); assertTrue(str.contains("AUTHENTICATION")); assertTrue(str.contains("retryable=false")); assertTrue(str.contains("attempt=1")); assertTrue(str.contains("context=")); assertTrue(str.contains("elapsed=")); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java
urlFilter.init(sessionId); // Without any patterns, all URLs should match assertTrue(urlFilter.match("https://example.com/")); assertTrue(urlFilter.match("https://test.com/page")); assertTrue(urlFilter.match("ftp://files.com/document.pdf")); assertTrue(urlFilter.match("file:///home/user/file.txt")); } /** * Test match with complex URL patterns */
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 19K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
// Should not throw any exception int bytesRead = response.readBytesWireFormat(validBuffer, 0); assertTrue(bytesRead > 0); assertEquals(0x0302, response.getDialectRevision()); // SMB 3.0.2 assertTrue(response.getMaxTransactSize() > 0); assertTrue(response.getMaxTransactSize() <= 16777216); // Within validated limits } /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/util/ResourceManagerTest.java
assertFalse(resource1.isClosed()); assertFalse(resource2.isClosed()); int cleaned = resourceManager.forceCleanup(); assertTrue(cleaned >= 2); assertTrue(resource1.isClosed()); assertTrue(resource2.isClosed()); } @Test @DisplayName("Test leak detection for unclosed resources") @Timeout(value = 5, unit = TimeUnit.SECONDS)Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
assertFalse(auth.isClosed()); // Close multiple times auth.close(); assertTrue(auth.isClosed()); auth.close(); // Should not throw assertTrue(auth.isClosed()); auth.close(); // Should still not throw assertTrue(auth.isClosed()); } /** * Test secure password wiping with multi-threaded access */ @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessNotificationTest.java
assertEquals(WitnessEventType.CLIENT_MOVE, notification.getEventType()); assertEquals("TestResource", notification.getResourceName()); assertTrue(notification.getTimestamp() <= System.currentTimeMillis()); assertTrue(notification.getNewIPAddresses().isEmpty()); assertTrue(notification.getOldIPAddresses().isEmpty()); assertEquals(WitnessNotification.WITNESS_RESOURCE_STATE_UNKNOWN, notification.getFlags()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 5K bytes - Viewed (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
}); // Check metrics assertTrue(cbWithMetrics.getAverageResponseTime() > 0, "Average response time should be tracked"); assertTrue(cbWithMetrics.getMinResponseTime() > 0, "Min response time should be tracked"); assertTrue(cbWithMetrics.getMaxResponseTime() > 0, "Max response time should be tracked");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java
assertTrue(true); // Test negative timeout generator.setCommandTimeout(-1L); assertTrue(true); // Test very large timeout generator.setCommandTimeout(Long.MAX_VALUE); assertTrue(true); // Test destroy timeout generator.setCommandDestroyTimeout(0L); assertTrue(true);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 16.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
// Given & When Smb2ChangeNotifyResponse resp = new Smb2ChangeNotifyResponse(mockConfig); // Then assertNotNull(resp); assertTrue(resp instanceof ServerMessageBlock2Response); assertTrue(resp instanceof ServerMessageBlock2); assertTrue(resp instanceof NotifyResponse); assertNotNull(resp.getNotifyInformation()); assertEquals(0, resp.getNotifyInformation().size()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0)