- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 150 for gracefully (0.16 seconds)
-
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, "");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.9K bytes - Click Count (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); });
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java
} } } @Nested @DisplayName("Error Handling") class ErrorHandlingTests { @Test @DisplayName("should handle malformed POM gracefully") void shouldHandleMalformedPOMGracefully() throws Exception { String malformedPomXml = """ <?xml version="1.0" encoding="UTF-8"?>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 27.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
byte[] wrongSizeBuffer = new byte[100]; // Wrong size byte[] correctBuffer = new byte[SmbComTransaction.TRANSACTION_BUF_SIZE]; // When/Then - Should handle invalid buffers gracefully assertDoesNotThrow(() -> { BufferCache.releaseBuffer(nullBuffer); // Should ignore null BufferCache.releaseBuffer(wrongSizeBuffer); // Should ignore wrong size
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 9.6K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/ConsoleIconTest.java
assertEquals("-", ConsoleIcon.DETAIL.getIcon(mockTerminal)); assertEquals(">", ConsoleIcon.ACTION.getIcon(mockTerminal)); } @Test @DisplayName("should handle null terminal gracefully") void shouldHandleNullTerminal() { // Should fall back to system default charset for (ConsoleIcon icon : ConsoleIcon.values()) { String result = icon.getIcon(null);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Jul 15 09:35:08 GMT 2025 - 6.8K bytes - Click Count (0) -
CODE_OF_CONDUCT.md
## 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:
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Feb 05 18:43:16 GMT 2021 - 5.2K bytes - Click Count (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); });
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.4K bytes - Click Count (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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.4K bytes - Click Count (0) -
CODE_OF_CONDUCT.md
Examples of behavior that contributes to a positive environment for our community includes: * Demonstrating empathy and kindness toward other people * Being respectful of differing opinions, viewpoints, and experiences * Giving and gracefully accepting constructive feedback * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience * Focusing on what is best not just for us as individuals, but for the
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Oct 17 06:18:13 GMT 2024 - 5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/KeyMatchHelperTest.java
// Expected due to missing dependencies in test environment assertTrue(true); return; } // Should handle null keywords gracefully assertNotNull(functionBuilders); } catch (Exception e) { // May throw exception due to null handling assertNotNull(e); } } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.4K bytes - Click Count (0)