- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 126 for gracefully (0.04 sec)
-
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/jcifs/internal/smb2/io/Smb2ReadResponseTest.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 Smb2ReadResponse responseWithNull = new Smb2ReadResponse(null, outputBuffer, outputBufferOffset);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0) -
cmd/server-main.go
EnvVar: "MINIO_CONSOLE_ADDRESS", }, cli.DurationFlag{ Name: "shutdown-timeout", Value: time.Second * 30, Usage: "shutdown timeout to gracefully shutdown server (DEPRECATED)", EnvVar: "MINIO_SHUTDOWN_TIMEOUT", Hidden: true, }, cli.DurationFlag{ Name: "idle-timeout", Value: xhttp.DefaultIdleTimeout,
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue May 27 15:18:36 UTC 2025 - 35.9K bytes - Viewed (4) -
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: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 16.7K 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) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.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 - 25.3K 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: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 22.7K bytes - Viewed (0) -
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/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
ProtwordsFile errorFile = new ProtwordsFile("test_id", nonExistentFile.getAbsolutePath(), new Date()); errorFile.reload(null); // If no exception, the file might have been handled gracefully assertTrue(true); } catch (Exception e) { // Expected for missing file assertTrue(true); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.8K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0)