- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 126 for gracefully (0.05 sec)
-
src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java
d.parameterCount = 0; d.dataCount = 0; d.headerStart = 0; byte[] buf = new byte[100]; int result = d.readBytesWireFormat(buf, 0); // Should handle empty read gracefully assertEquals(0, result, "Should return 0 for no data"); assertTrue(d.getParametersDone(), "parametersDone should be true when total is 0");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
OkHttp 4.x Change Log ===================== ## Version 4.12.0 _2023-10-16_ * Fix: Don't hang taking headers for HTTP 103 responses. * Fix: Recover gracefully when a cache entry's certificate is corrupted. * Fix: Fail permanently when there's a failure loading the bundled public suffix database. This is the dataset that powers `HttpUrl.topPrivateDomain()`.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Apr 17 13:25:31 UTC 2024 - 25.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java
assertEquals(1, chain3.updateCallCount); } // Test addChain null handling public void test_addChain_withNull() { // ArrayUtils.addAll handles null gracefully by adding it to the array authenticationManager.addChain(null); // Verify null chain doesn't cause issues during operations User user = createTestUser("testuser"); try {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 14K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java
builder.startObject(); builder.field("null_test", "value"); builder.endObject(); return builder; }; // This should handle any IOException gracefully OutputStream result = SearchEngineUtil.getXContentBuilderOutputStream(callback, XContentType.JSON); assertNotNull(result); } public void test_utility_class_instantiation() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java
constructor.setAccessible(true); SmbComNtCancel cancel = constructor.newInstance(config, 1); byte[] emptyArray = new byte[0]; // When & Then - should handle gracefully Method writeParams = SmbComNtCancel.class.getDeclaredMethod("writeParameterWordsWireFormat", byte[].class, int.class); writeParams.setAccessible(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java
void testSetNullFileId() { // Given RequestWithFileId request = new Smb2CloseRequest(mockConfig, testFileId); // When & Then - should handle null gracefully (implementation dependent) assertDoesNotThrow(() -> request.setFileId(null), "Should handle null file ID without throwing exception"); } @Test @DisplayName("Should handle empty file ID")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/UUIDTest.java
assertEquals((byte) 0x00, uuid.node[5]); // Missing data defaults to 0 } @Test @DisplayName("Constructor with empty node array in rpc.uuid_t should handle gracefully") void testConstructorWithEmptyNode() { // Arrange rpc.uuid_t rpcUuid = new rpc.uuid_t(); rpcUuid.time_low = TIME_LOW; rpcUuid.time_mid = TIME_MID;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/MsrpcDfsRootEnumTest.java
assertEquals("single_share", entries[0].getName()); assertEquals(8, entries[0].getType()); // TYPE_SHARE constant value } @Test @DisplayName("getEntries should handle null DFS names gracefully") void testGetEntries_nullNames() throws Exception { // Create array with null name entries netdfs.DfsEnumArray200 arrayWithNulls = new netdfs.DfsEnumArray200(); arrayWithNulls.count = 2;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java
}; try { Artifact artifact = new Artifact("fess-theme-test", "1.0.0"); mockThemeHelper.install(artifact); // Some environments may handle invalid zip gracefully assertTrue(true); } catch (Exception e) { // Should throw ThemeException or ZipException
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
assertEquals("Expected structureSize = 4", exception.getMessage()); } @Test @DisplayName("Should handle malformed buffer gracefully") void testMalformedBuffer() { // Given - buffer with random data byte[] buffer = new byte[10]; for (int i = 0; i < buffer.length; i++) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0)