- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 122 for gracefully (0.07 sec)
-
src/test/java/jcifs/internal/TreeConnectResponseTest.java
* Tests for edge cases and error conditions */ @Nested @DisplayName("Edge Case Tests") class EdgeCaseTests { @Test @DisplayName("Should handle null configuration gracefully") void testNullConfiguration() { // When & Then - Should not throw exception assertDoesNotThrow(() -> { new Smb2TreeConnectResponse(null);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
byte[] shortFileId = new byte[8]; Arrays.fill(shortFileId, (byte) 0xAB); request.setFileId(shortFileId); byte[] buffer = new byte[256]; // Should handle gracefully or throw appropriate exception assertThrows(ArrayIndexOutOfBoundsException.class, () -> request.writeBytesWireFormat(buffer, 0)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
public void test_mappingUpdater_closeWithError() throws Exception { writeTestFile("a,b => c\n"); // This test verifies that close() handles errors gracefully CharMappingItem newItem = new CharMappingItem(0, new String[] { "x", "y" }, "z"); // Insert will trigger MappingUpdater which will be closed automatically charMappingFile.insert(newItem);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
SMBUtil.writeInt4(8, buffer, notifyOffset + 8); System.arraycopy("test".getBytes("UnicodeLittleUnmarked"), 0, buffer, notifyOffset + 12, 8); // When & Then - should handle gracefully assertThrows(Exception.class, () -> { response.readBytesWireFormat(buffer, offset); }); } @Test @DisplayName("Should verify NotifyResponse interface implementation")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/audit/SecurityAuditLogger.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 26.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
assertEquals(24, SMBUtil.readInt2(buffer, 0)); assertEquals(testFlags, SMBUtil.readInt2(buffer, 2)); } @Test @DisplayName("writeBytesWireFormat with null file ID should handle gracefully") void testWriteBytesWireFormatWithNullFileId() { Smb2CloseRequest requestWithNull = new Smb2CloseRequest(mockConfig, null, testFileName); byte[] buffer = new byte[256];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/QueryHelperTest.java
ctx.skipRoleQuery(); }); // If we get here without exception, that's actually fine for some invalid queries // that might be handled gracefully } catch (InvalidQueryException e) { // This is expected for some types of invalid queries assertNotNull(e.getMessage()); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 52.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exec/Crawler.java
crawlingInfoHelper.putToInfoMap(key, dateFormat.format(new Date())); } } /** * Waits for a crawler thread to complete execution. * This method handles interruptions gracefully and logs when a crawler process is interrupted. * * @param crawlerThread the thread to wait for; null threads are ignored */ private void joinCrawlerThread(final Thread crawlerThread) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 31K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
} /** * Test remove method with non-existing type */ @Test @DisplayName("Remove should handle non-existing type gracefully") void testRemoveNonExisting() { List<AvPair> pairs = new LinkedList<>(); AvTimestamp timestamp = new AvTimestamp(new byte[8]); pairs.add(timestamp);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Floats.java
// extensive testing try { return Float.parseFloat(string); } catch (NumberFormatException e) { // Float.parseFloat has changed specs several times, so fall through // gracefully } } return null; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.7K bytes - Viewed (0)