- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 58 for gracefully (0.06 sec)
-
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
@DisplayName("Test toString with null values") void testToStringWithNullValues() { SmbShareInfo info = new SmbShareInfo(); String str = info.toString(); // Should handle null values gracefully assertNotNull(str); assertTrue(str.startsWith("SmbShareInfo[")); assertTrue(str.contains("netName=null")); assertTrue(str.contains("type=0x"));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java
assertEquals(0, buffer.getNumReferrals()); assertEquals(10, buffer.getTflags()); } @Test @DisplayName("Should handle referral decode failure gracefully") void testReferralDecodeFailure() { // Create buffer with invalid referral data byte[] testBuffer = new byte[20];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
} when(mockConfig.getLmHostsFileName()).thenReturn(lmhostsFile.getAbsolutePath()); if (!isWindows) { // Should handle IOException gracefully and return null NbtAddress result = lmhosts.getByName("ANYHOST", mockContext); assertNull(result); } // Cleanup lmhostsFile.setReadable(true); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/DataIndexHelper.java
*/ public boolean isFinished() { return finished; } /** * Stops the crawling operation gracefully. * If a data store is currently active, this method calls * its stop method to halt the crawling process. */ public void stopCrawling() { if (dataStore != null) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 19K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java
assertTrue(sitemaps.length >= 3); // At least the valid ones should be parsed // Test NumericBot - various crawl-delay formats // Should handle edge cases gracefully assertTrue(robotsTxt.getCrawlDelay("NumericBot") >= 0); // Test TabBot - tab characters should be treated as whitespace assertFalse(robotsTxt.allows("/tab1/", "TabBot"));
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 20.6K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java
assertEquals(4, attemptCount.get()); } /** * Test: Null safety in connect() when targetIndices is null * Verifies that connect() handles null targetIndices gracefully */ @Test public void testConnectWithNullTargetIndices() { final AdminClient mockAdminClient = mock(AdminClient.class);
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:44:44 UTC 2025 - 17K bytes - Viewed (0) -
src/test/java/jcifs/SmbSessionTest.java
}, "Multiple close() calls should not throw exceptions"); verify(mockSession, times(2)).close(); } @Test @DisplayName("Should handle close with exception gracefully") void shouldHandleCloseExceptionGracefully() throws Exception { SmbSession mockSession = mock(SmbSession.class); Exception testException = new Exception("Test close exception");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java
* It will parse valid directives and ignore invalid ones, ensuring that partial * content can be extracted even from poorly formatted files.</p> * * <p>The following errors are handled gracefully (line is skipped, parsing continues):</p> * <ul> * <li>Invalid directive formats</li> * <li>Unknown directives</li> * <li>Invalid crawl-delay values (non-numeric, negative)</li>Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Fri Nov 14 12:52:01 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
for (int i = 0; i < 10; i++) { assertEquals(4, SMBUtil.readInt2(buffer, i * 10)); } } @Test @DisplayName("Should handle null configuration gracefully in response creation") void testCreateResponseWithNullConfig() { // Given Configuration mockConfig = mock(Configuration.class);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
// Then assertEquals(0, bytesWritten); assertArrayEquals(originalBuffer, buffer); // Buffer should remain unchanged } @Test @DisplayName("Should handle null configuration gracefully") void testNullConfiguration() { // When - constructor accepts null config without throwing Smb2TreeDisconnectResponse responseWithNull = new Smb2TreeDisconnectResponse(null);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0)