- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for acceptable (0.55 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ArchiveExtractorErrorHandlingTest.java
assertNotNull("Content should not be null", result.getContent()); // Empty or minimal content is acceptable for invalid archives } catch (final ExtractException e) { // Exception is also acceptable - verify it has a descriptive message assertTrue("Error message should mention TAR archive or extraction failure",
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
Subject first = orig.getSubject(); // In test environments, getSubject() may return null if JAAS is not configured // This is acceptable behavior - the test should focus on the cloning logic // Clone and verify basic fields copied JAASAuthenticator copy = (JAASAuthenticator) orig.clone();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
long skipped = sis.skip(10); // If it doesn't throw, it should only skip what's available assertEquals(3, skipped); } catch (IOException e) { // This is also acceptable behavior - skip may fail when it runs out of data assertTrue(e.getMessage().contains("unexpected EOF")); } } @Test @DisplayName("Keep-alive packets are transparently skipped")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ExtractorResourceManagementTest.java
} catch (final RuntimeException e) { // POI may throw IllegalArgumentException or other RuntimeExceptions // for invalid data, which is also acceptable assertNotNull("Exception message should not be null", e.getMessage()); } } /** * Test that MsExcelExtractor throws appropriate exception for invalid data.
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 10.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java
verify(filter).accept(resource); verify(resource).close(); } @Test @DisplayName("Iterator with rejecting filter - finds next acceptable") void iteratorWithRejectingFilter() throws Exception { // Setup: first entry rejected, second accepted FileEntry entry1 = mock(FileEntry.class); FileEntry entry2 = mock(FileEntry.class);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
* * @return true if the CPU load is within the acceptable range, false otherwise. */ public boolean calibrateCpuLoad() { return calibrateCpuLoad(0L); } /** * Calibrates the CPU load with a timeout. * * @param timeoutInMillis The timeout in milliseconds. * @return true if the CPU load is within the acceptable range, false otherwise. */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 20 08:30:43 UTC 2025 - 36.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java
// Should not throw NPE - implementation should handle gracefully or throw } catch (NullPointerException e) { // Acceptable behavior assertTrue(true); } catch (Exception e) { // Other exceptions might be acceptable assertTrue(true); } } /** * Test destroyObject with PooledObject containing null object */Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 13:07:01 UTC 2025 - 36.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
void testDeriveKeys_NullPreauthForSMB300() { // Given int dialect = Smb2Constants.SMB2_DIALECT_0300; // When - SMB 3.0.0 doesn't use preauth integrity, so null should be acceptable byte[] signingKey = Smb3KeyDerivation.deriveSigningKey(dialect, sessionKey, null); // Then assertNotNull(signingKey, "Should handle null preauth for SMB 3.0.0");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
} catch (Exception e) { // Log but don't fail - concurrent encryption/decryption with same context is complex System.out.println("Sample decryption failed (acceptable for concurrent test): " + e.getMessage()); } } // Cleanup context.close(); } @Test @DisplayName("Should handle AES-CCM encryption correctly")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0)