- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 111 for Missing (0.08 sec)
-
src/test/java/org/codelibs/fess/entity/FacetInfoTest.java
facetInfo.minDocCount = 10L; assertEquals(Long.valueOf(10), facetInfo.minDocCount); } // Test missing assignment public void test_missingAssignment() { facetInfo.missing = "N/A"; assertEquals("N/A", facetInfo.missing); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacMacTest.java
/** * Test calculateMac with a missing key. */ @Test void testCalculateMacMissingKey() { Map<Integer, KerberosKey> keys = new HashMap<>(); // Empty map PACDecodingException e = assertThrows(PACDecodingException.class, () -> PacMac.calculateMac(PacSignature.KERB_CHECKSUM_HMAC_MD5, keys, TEST_DATA)); assertEquals("Missing key", e.getMessage()); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacTest.java
byte[] pacData = baos.toByteArray(); PACDecodingException e = assertThrows(PACDecodingException.class, () -> new Pac(pacData, keys)); // The error could be about version or missing buffers assertNotNull(e.getMessage()); } @Test void testUnalignedBuffer() throws IOException { // Create PAC with unaligned buffer offset
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacMac.java
* @param data the data to calculate the MAC for * @return the calculated mac bytes * @throws PACDecodingException if the MAC calculation fails or required keys are missing */ public static byte[] calculateMac(int type, Map<Integer, KerberosKey> keys, byte[] data) throws PACDecodingException { try { int usage = 17;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java
} @ParameterizedTest @DisplayName("Message constructor should handle crypto-specific error messages") @NullAndEmptySource @ValueSource(strings = { "AES encryption not supported", "Missing Bouncy Castle provider", "Invalid key length for AES-128", "RC4 cipher not available in this JVM", "DES encryption is deprecated and not supported", "HMAC-SHA256 algorithm not found",
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/timer/HotThreadMonitorTargetTest.java
} public void test_expired_method_can_be_called() { try { target.expired(); } catch (Exception e) { // Expected that it may fail due to missing dependencies in test environment // but method should be callable assertNotNull("Exception should not be null if thrown", e); } } public void test_package_structure() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
@Test @DisplayName("Should throw DcerpcException for missing endpoint") void testConstructor_MissingEndpoint() { String urlWithoutEndpoint = "ncacn_np:server"; assertThrows(DcerpcException.class, () -> new DcerpcPipeHandle(urlWithoutEndpoint, mockContext, false), "Should throw DcerpcException for missing endpoint"); } } @Nested
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
assertNotNull(pairs, "Decoded pairs should not be null"); assertEquals(0, pairs.size(), "Should have no pairs"); } /** * Test decode with missing EOL */ @Test @DisplayName("Decode should throw exception when EOL is missing") void testDecodeMissingEOL() { byte[] flagData = new byte[4]; SMBUtil.writeInt4(0x12345678, flagData, 0);
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/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java
generator = new TestThumbnailGenerator(); Map<String, Object> docMap = new HashMap<>(); // Note: isTarget requires FessConfig which needs container // We can only verify the method handles missing container gracefully try { generator.isTarget(docMap); } catch (IllegalStateException e) { // Expected when container is not initialized
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/MIENameTest.java
Arguments.of("oid length exceeds buffer", new byte[] { 0x04, 0x01, 0x00, 0x10, 0x06 }, IllegalArgumentException.class), // Missing NAME_LEN (not enough bytes for 4-byte length) Arguments.of("missing NAME_LEN bytes", new byte[] { 0x04, 0x01, 0x00, (byte) der.length, der[0] }, IllegalArgumentException.class),
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0)