- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 800 for isInvalid (0.04 sec)
-
src/main/java/jcifs/smb/NtlmContext.java
return switch (this.state) { case 1 -> makeNegotiate(token); case 2 -> makeAuthenticate(token); default -> throw new SmbException("Invalid state"); }; } /** * Creates a Type 3 (authentication) message in response to a Type 2 (challenge) message. * @param token the Type 2 message bytes
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 17.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
@Test @DisplayName("Should throw DcerpcException for invalid URL format") void testConstructor_InvalidUrl() { String invalidUrl = "invalid:server"; assertThrows(DcerpcException.class, () -> new DcerpcPipeHandle(invalidUrl, mockContext, false), "Should throw DcerpcException for invalid protocol"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactFactory.java
* @param request the request holding artifact creation parameters * @return an {@code Artifact}, never {@code null} * @throws IllegalArgumentException if {@code request} is null or {@code request.session} is null or invalid */ @Nonnull Artifact create(@Nonnull ArtifactFactoryRequest request); @Nonnull default Artifact create(
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 3.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java
assertTrue(exception instanceof java.io.Serializable); } public void test_nestedExceptions() { // Test nested exception handling Exception innerCause = new IllegalArgumentException("Invalid parameter"); RuntimeException middleCause = new RuntimeException("Processing failed", innerCause); ThemeException exception = new ThemeException("Theme operation failed", middleCause);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacMacTest.java
keys.put(PacSignature.ETYPE_ARCFOUR_HMAC, hmacKey); PACDecodingException e = assertThrows(PACDecodingException.class, () -> PacMac.calculateMac(-1, keys, TEST_DATA)); // Invalid type assertEquals("Invalid MAC algorithm", 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) -
cmd/signature-v4-parser_test.go
}, // Test Case - 7. // Test case with invalid region. { inputCredentialStr: generateCredentialStr( "Z7IXGOO6BZ0REAN1Q26I", UTCNow().Format(yyyymmdd), "us-west-2", "s3", "aws4_request"), expectedCredentials: credentialHeader{}, expectedErrCode: ErrAuthorizationHeaderMalformed, }, // Test Case - 8. // Test case with invalid request version.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 27.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/transport/Transport.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/SmbPipeHandle.java
* * @return whether the FD is open and valid */ boolean isOpen(); /** * Tests whether this file descriptor was previously open but has become invalid. * * @return whether the FD was previously open but became invalid */ boolean isStale(); /** * Unwraps this handle to the specified type. * * @param <T> the type to unwrap to
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java
}); assertTrue(e.getMessage().contains("PAC")); } // Test exception for invalid version @Test void testConstructorInvalidVersion() throws IOException { ByteArrayOutputStream baos = new ByteArrayOutputStream(); DataOutputStream dos = new DataOutputStream(baos); // Write header with invalid version dos.writeInt(Integer.reverseBytes(1)); // 1 buffer
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/RequestParamTest.java
} // Edge/Invalid: empty string is invalid for valueOf @ParameterizedTest @EmptySource @DisplayName("valueOf(\"\") throws IllegalArgumentException for empty input") void valueOfRejectsEmpty(String empty) { assertThrows(IllegalArgumentException.class, () -> RequestParam.valueOf(empty)); } // Invalid: null is not allowed for valueOf @ParameterizedTest
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0)