- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 573 for isInvalid (0.21 sec)
-
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> { response.readBytesWireFormat(buffer, 0); }); assertTrue(exception.getMessage().contains("Invalid negotiate context count: 1000")); assertTrue(exception.getMessage().contains("must be 0-100")); } /** * Test validation of negative negotiate context count. */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java
public class InvalidQueryExceptionTest extends UnitFessTestCase { public void test_constructor_withMessageCodeMessageAndCause() { // Setup final String message = "Invalid query syntax error"; final Exception cause = new RuntimeException("Query parsing failed"); final VaMessenger<FessMessages> messageCode = messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 15.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/PrunedTagTest.java
fail("Should have thrown FessSystemException"); } catch (FessSystemException e) { assertTrue(e.getMessage().contains("Invalid pruned tag")); } try { PrunedTag.parse(".css-only"); fail("Should have thrown FessSystemException"); } catch (FessSystemException e) { assertTrue(e.getMessage().contains("Invalid pruned tag")); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 21K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/UserInfoHelper.java
* This method retrieves the authenticated user information and creates an encrypted user code. * * @param request the HTTP servlet request * @return the user code from the user bean, or null if not found or invalid */ protected String getUserCodeFromUserBean(final HttpServletRequest request) { final SessionManager sessionManager = ComponentUtil.getComponent(SessionManager.class);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 14.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java
} public void test_multipleNestedExceptions() { // Test with multiple nested exceptions Exception innerCause = new IllegalArgumentException("Invalid image format"); Exception middleCause = new RuntimeException("Processing failed", innerCause); ThumbnailGenerationException exception = new ThumbnailGenerationException("Thumbnail generation error", middleCause);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SambaHelperTest.java
// Test unavailable SID type (type 6 - DELETED) assertNull(sambaHelper.getAccountId(createMockSID(6, "Deleted Account"))); // Test unavailable SID type (type 7 - INVALID) assertNull(sambaHelper.getAccountId(createMockSID(7, "Invalid Account"))); } public void test_getAccountId_smb1_basic() throws SmbException { // Note: SMB1 SID testing is limited due to interface constraints
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 14.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
assertEquals(0, result); } @Test @DisplayName("Should throw exception for invalid structure size") void testReadBytesWireFormatInvalidSize() { byte[] buffer = new byte[1024]; int bufferIndex = 100; // Write invalid structure size = 8 SMBUtil.writeInt2(8, buffer, bufferIndex); SMBProtocolDecodingException exception =
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacCredentialType.java
* @param data the raw credential type data * @throws PACDecodingException if the credential type data is invalid */ public PacCredentialType(final byte[] data) throws PACDecodingException { this.credentialType = data; if (!isCredentialTypeCorrect()) { throw new PACDecodingException("Invalid PAC credential type"); } } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
this.options = WRITE_OPTIONS; this.access = SmbConstants.FILE_READ_DATA | SmbConstants.FILE_WRITE_DATA; } else { throw new IllegalArgumentException("Invalid mode"); } try (SmbFileHandle h = ensureOpen()) {} this.readSize = th.getReceiveBufferSize() - 70; this.writeSize = th.getSendBufferSize() - 70;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/DialectVersionTest.java
assertEquals(DialectVersion.SMB311, DialectVersion.valueOf("SMB311")); // Test valueOf with invalid name assertThrows(IllegalArgumentException.class, () -> { DialectVersion.valueOf("INVALID"); }); // Test valueOf with null assertThrows(NullPointerException.class, () -> { DialectVersion.valueOf(null);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0)