- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 573 for isInvalid (0.04 sec)
-
src/test/java/jcifs/util/InputValidatorTest.java
assertDoesNotThrow(() -> InputValidator.validateUsername(username)); } @ParameterizedTest @DisplayName("Test invalid usernames") @ValueSource(strings = { "user name", // space "user#name", // invalid character "user$name" // invalid character }) void testInvalidUsernames(String username) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.9K bytes - Viewed (0) -
okhttp/src/jvmTest/resources/web-platform-test-toascii.json
"output": "x..xn--zca" }, { "comment": "Invalid Punycode", "input": "xn--a", "output": null }, { "input": "xn--a.xn--zca", "output": null }, { "input": "xn--a.ß", "output": null }, { "input": "xn--ls8h=", "output": null }, { "comment": "Invalid Punycode (contains non-ASCII character)", "input": "xn--tešla",
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.2K bytes - Viewed (0) -
src/main/webapp/WEB-INF/web.xml
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue May 06 09:19:22 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java
Throwable cause = new IllegalStateException("Invalid state"); CommandExecutionException exception = new CommandExecutionException(message, cause); assertNotNull(exception); assertEquals(message, exception.getMessage()); assertEquals(cause, exception.getCause()); assertEquals("Invalid state", exception.getCause().getMessage());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java
RdmaMemoryRegion region2 = bufferManager.getSendRegion(1024); assertNotNull(region2); // Both regions should be valid assertTrue(region1.isValid() || !region1.isValid()); // Either state is OK after release assertTrue(region2.isValid(), "New region should be valid"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java
} public void test_valueOf_invalidName() { // Test valueOf with invalid name throws exception try { SsoResponseType.valueOf("INVALID"); fail("Expected IllegalArgumentException"); } catch (IllegalArgumentException e) { // Expected exception assertTrue(e.getMessage().contains("INVALID")); } } public void test_valueOf_null() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
} @DisplayName("Should throw exception for invalid structure size") @ParameterizedTest @ValueSource(ints = { 0, 1, 2, 3, 5, 10, 100, 65535 }) void testReadBytesWireFormatInvalidStructureSize(int structureSize) { // Given byte[] buffer = new byte[256]; int offset = 0; // Write invalid structure size SMBUtil.writeInt2(structureSize, buffer, offset);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/ndr/NdrException.java
* Error message for null reference pointers. */ public static final String NO_NULL_REF = "ref pointer cannot be null"; /** * Error message for invalid array conformance. */ public static final String INVALID_CONFORMANCE = "invalid array conformance"; /** * Constructs an NdrException with the specified error message. * * @param msg the error message */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (1) -
src/test/java/jcifs/pac/PacTest.java
// Create minimal PAC structure with wrong version ByteArrayOutputStream baos = new ByteArrayOutputStream(); writeLittleEndianInt(baos, 0); // buffer count = 0 writeLittleEndianInt(baos, 99); // invalid version baos.write(new byte[1]); // Make it > 8 bytes byte[] pacData = baos.toByteArray(); PACDecodingException e = assertThrows(PACDecodingException.class, () -> new Pac(pacData, keys));
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/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java
public void test_constructorWithMessageAndCause() { // Test constructor with message and cause String message = "Query parsing failed"; Exception cause = new IllegalArgumentException("Invalid query syntax"); SearchQueryException exception = new SearchQueryException(message, cause); assertEquals(message, exception.getMessage()); assertEquals(cause, exception.getCause());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.7K bytes - Viewed (0)