- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 126 for gracefully (0.05 sec)
-
src/test/java/jcifs/config/DelegatingConfigurationTest.java
verify(mockDelegate).isIpcSigningEnforced(); verify(mockDelegate, times(2)).isForceExtendedSecurity(); } @Test @DisplayName("Delegation should handle null returns gracefully") void testNullReturnHandling() { // Given - configure delegate to return nulls when(mockDelegate.getRandom()).thenReturn(null); when(mockDelegate.getLocalAddr()).thenReturn(null);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbExceptionTest.java
assertEquals(intermediateCause, finalException.getCause()); assertEquals(rootCause, finalException.getCause().getCause()); } @Test @DisplayName("Should handle null message gracefully") void testNullMessage() { // When/Then assertDoesNotThrow(() -> { SmbException exception = new SmbException((String) null); assertNotNull(exception); });
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
code_of_conduct.md
orientation. ## Our Standards Examples of behavior that contributes to creating a positive environment include: * Using welcoming and inclusive language * Being respectful of differing viewpoints and experiences * Gracefully accepting constructive criticism * Focusing on what is best for the community * Showing empathy towards other community members Examples of unacceptable behavior by participants include:
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Jan 20 18:38:58 UTC 2020 - 3.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java
ComponentUtil.setFessConfig(fessConfig); // Create new instance after registering the updated config purgeDocJob = new PurgeDocJob(); // Execute the job - should handle empty field name gracefully try { String result = purgeDocJob.execute(); // The job should handle the exception internally but since QueryBuilders.rangeQuery
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 16.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
assertEquals(0x800, Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_STREAM_WRITE); } @Test @DisplayName("Should handle null file ID gracefully") void testNullFileId() { // Given byte[] nullFileId = new byte[16]; // All zeros Configuration config = mock(Configuration.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
assertTrue(rateLimiter.checkAttempt("user7", ip), "Should be allowed after manual unblock"); } @Test public void testNullUsername() throws Exception { // Null username should be handled gracefully assertTrue(rateLimiter.checkAttempt(null, "192.168.1.8"), "Null username should be allowed"); // Should not affect IP limiting rateLimiter.recordFailure(null, "192.168.1.8");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
void testNullDataNonZeroLength() { request.setData(null, 0, 100); byte[] buffer = new byte[256]; // Should handle gracefully or throw appropriate exception assertThrows(NullPointerException.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 - 22.4K bytes - Viewed (0) -
src/test/java/jcifs/util/CryptoTest.java
assertNotNull(md4Hash); assertNotNull(md5Hash); assertEquals(16, md4Hash.length); assertEquals(16, md5Hash.length); } @Test @DisplayName("Should handle null input gracefully") void testNullInputHandling() { // When/Then assertThrows(NullPointerException.class, () -> { MessageDigest md4 = Crypto.getMD4(); md4.digest(null); });
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
cmd/prepare-storage.go
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jul 12 20:51:54 UTC 2024 - 11.1K bytes - Viewed (1) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java
assertEquals(0, buffer[1], "Second byte must be null terminator"); } @Test @DisplayName("writeBytesWireFormat handles empty string gracefully") void testWriteEmptyString() { when(mockConfig.getOemEncoding()).thenReturn("windows-1252"); SmbComQueryInformation emptyCmd = new SmbComQueryInformation(mockConfig, "");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0)