- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 116 for isInvalid (0.04 sec)
-
src/test/java/org/codelibs/fess/validation/CronExpressionValidatorTest.java
assertTrue(validator.isValid(null, context)); } public void test_isValid_blankValue() { final ConstraintValidatorContext context = null; assertTrue(validator.isValid(" ", context)); assertTrue(validator.isValid(" ", context)); assertTrue(validator.isValid("\t", context)); assertTrue(validator.isValid("\n", context)); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.5K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
* including if it is a public suffix itself. For example, returns {@code true} for {@code * www.google.com}, {@code foo.co.uk} and {@code com}, but not for {@code invalid} or {@code * google.invalid}. This is the recommended method for determining whether a domain is potentially * an addressable host. * * <p>Note that this method is equivalent to {@link #hasRegistrySuffix()} because all registry
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java
Iterables.concat(INVALID_NAME, VALID_IP_ADDRS, INVALID_IP_ADDRS); for (String valid : validCases) { assertTrue(valid, InternetDomainName.isValid(valid)); } for (String invalid : invalidCases) { assertFalse(invalid, InternetDomainName.isValid(invalid)); } } public void testToString() { for (String inputName : SOMEWHERE_UNDER_PS) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.5K bytes - Viewed (0) -
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) -
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/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java
validator.initialize(annotation); // Test that the method can be called (even if context handling is complex) try { final boolean result = validator.isValid("test", null); assertNotNull("isValid should return a boolean result", Boolean.valueOf(result)); } catch (final NullPointerException e) { // This is expected if the implementation requires a non-null context
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java
assertEquals(exception.getMessage(), exception2.getMessage()); } public void test_toString() { // Test the toString method String message = "LDAP configuration is invalid"; LdapConfigurationException exception = new LdapConfigurationException(message); String toStringResult = exception.toString(); assertNotNull(toStringResult);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java
assertNull(exception.getCause()); } public void test_exceptionChaining() { // Test exception chaining Throwable rootCause = new IllegalArgumentException("Invalid argument"); Throwable intermediateCause = new RuntimeException("Processing failed", rootCause); String message = "Plugin operation failed";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/StringsTest.java
// One invalid pair. assertEquals("abc", Strings.commonPrefix("abc\uD8AB\uDCABdef", "abc\uD8AB\uD8ABxyz")); // Two identical invalid pairs. assertEquals( "abc\uD8AB\uD8AC", Strings.commonPrefix("abc\uD8AB\uD8ACdef", "abc\uD8AB\uD8ACxyz")); // Two differing invalid pairs.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 27 17:53:41 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProviderTest.java
ComponentUtil.setFessConfig(mockConfig); // Setup mock request manager with invalid format RequestManager mockRequestManager = createMockRequestManager("invalid_locale_format"); // Execute OptionalThing<Locale> result = provider.findBusinessLocale(null, mockRequestManager); // Verify - invalid format should return empty due to exception in LocaleUtils.toLocale
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11K bytes - Viewed (0)