- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 130 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java
assertNotNull(item.getTimestamp()); assertNotNull(item.getId()); } @Test public void testConstructorWithNullArrays() { // Test constructor handles null arrays gracefully String[] text = { "text" }; String[][] readings = { { "reading" } }; SuggestItem item = new SuggestItem(text, readings, null, 0L, 0L, 1.0f, null, null, null, SuggestItem.Kind.DOCUMENT);
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 16.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java
ConfigurableRule rule = new ConfigurableRule(); rule.setRuleId("nullTest"); rule.setResponseProcessor(new TestResponseProcessor("nullProcessor")); // Should handle null gracefully assertFalse(rule.match(null)); } /** * Test Rule with null rule ID */ public void test_nullRuleId() {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 22.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
} } @Nested @DisplayName("Encoding Tests") class EncodingTests { @Test @DisplayName("encode_in should handle null binding gracefully") void testEncodeInWithNullBinding() throws Exception { // Given when(mockHandle.getMaxXmit()).thenReturn(1024); when(mockHandle.getMaxRecv()).thenReturn(1024);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
src/main/java/jcifs/audit/SecurityAuditLogger.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 26.6K bytes - Viewed (0) -
docs/smb3-features/06-witness-protocol-design.md
SmbSession session = new SmbSession(context, transport); session.initializeWitnessSupport(); // Should either find witness service or gracefully handle absence // No exception should be thrown } private static class TestWitnessListener implements WitnessClient.WitnessNotificationListener { private volatile boolean notificationReceived = false;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K 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 Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 22 18:14:49 UTC 2025 - 25.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: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 31.4K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Doubles.java
// extensive testing try { return Double.parseDouble(string); } catch (NumberFormatException e) { // Double.parseDouble has changed specs several times, so fall through // gracefully } } return null; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 22 18:14:49 UTC 2025 - 27.6K bytes - Viewed (0)