- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 893 for isValid (0.08 sec)
-
src/test/java/org/codelibs/fess/validation/CronExpressionTest.java
assertTrue(violations.isEmpty()); } // Test validation with invalid cron expressions public void test_invalidCronExpressions() { TestBean bean = new TestBean(); // Test invalid cron expression bean.setCronExpression("invalid"); Set<ConstraintViolation<TestBean>> violations = validator.validate(bean); assertFalse(violations.isEmpty());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exception/InvalidAccessTokenException.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.exception; /** * Exception thrown when an invalid access token is encountered. * This exception is typically used in authentication and authorization contexts * where a provided access token is invalid, expired, or malformed. */ public class InvalidAccessTokenException extends FessSystemException { /** Serial version UID for serialization */Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/BaseEncodingTest.java
assertFailsToDecode(base64(), "12345", "Invalid input length 5"); // These have a combination of invalid length, unrecognized characters and wrong padding. assertFailsToDecode(base64(), "AB=C", "Unrecognized character: ="); assertFailsToDecode(base64(), "A=BCD", "Invalid input length 5"); assertFailsToDecode(base64(), "?", "Invalid input length 1"); } public void testBase64CannotUpperCase() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (0) -
src/main/java/jcifs/util/InputValidator.java
throw new IllegalArgumentException("Username contains invalid characters: " + username); } } /** * Validates domain name * * @param domain the domain to validate * @throws IllegalArgumentException if domain is invalid */ public static void validateDomain(String domain) { if (domain == null) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.5K bytes - Viewed (0) -
cmd/ftp-server.go
tokens := strings.SplitN(arg, "=", 2) if len(tokens) != 2 { logger.Fatal(fmt.Errorf("invalid arguments passed to --ftp=%s", arg), "unable to start FTP server") } switch tokens[0] { case "address": host, portStr, err := net.SplitHostPort(tokens[1]) if err != nil { logger.Fatal(fmt.Errorf("invalid arguments passed to --ftp=%s (%v)", arg, err), "unable to start FTP server") }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.2K bytes - Viewed (0) -
cmd/object-api-multipart_test.go
}, {bucketName: "a", objName: "obj", PartID: 1, expectedError: fmt.Errorf("%s", "Bucket name invalid: a")}, // Test case - 5. // Case with invalid object names. {bucketName: bucket, PartID: 1, expectedError: fmt.Errorf("%s", "Object name invalid: minio-bucket/")}, // Test case - 6. // Valid object and bucket names but non-existent bucket.Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 89.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java
} catch (FessSystemException e) { assertEquals("Invalid format: 12", e.getMessage()); } try { IntervalControlHelper.parseTime("12:30:45"); fail("Should throw FessSystemException"); } catch (FessSystemException e) { assertEquals("Invalid format: 12:30:45", e.getMessage()); } try {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 13.1K bytes - Viewed (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
log.warn("Invalid SMB protocol ID: 0x{}", Integer.toHexString(protocolId)); throw new SmbException("Invalid SMB protocol identifier"); } // Validate command is in valid range if (command < 0 || command > 255) { failedValidations.incrementAndGet(); throw new SmbException("Invalid command code: " + command); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosAuthDataTest.java
} /** * Test parsing of {@link KerberosConstants#AUTH_DATA_PAC} with an invalid token. * Expects a {@link PACDecodingException} to be thrown. */ @Test void testParseAuthDataPacWithInvalidToken() { // GIVEN an invalid token for AUTH_DATA_PAC byte[] invalidToken = "invalid-pac-token".getBytes(); // WHEN parsing the auth dataRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/config/MultiChannelConfigurationTest.java
Properties props = new Properties(); // Invalid boolean should default to true props.setProperty("jcifs.smb.client.useMultiChannel", "invalid"); PropertyConfiguration config = new PropertyConfiguration(props); assertTrue(config.isUseMultiChannel()); // Invalid integer should use default props.clear();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 8.3K bytes - Viewed (0)