Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 296 for validator (0.05 sec)

  1. src/test/java/org/codelibs/fess/validation/CronExpressionTest.java

     */
    package org.codelibs.fess.validation;
    
    import java.lang.annotation.Annotation;
    import java.lang.reflect.Field;
    import java.lang.reflect.Method;
    import java.util.Set;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    import jakarta.validation.ConstraintViolation;
    import jakarta.validation.Validation;
    import jakarta.validation.Validator;
    import jakarta.validation.ValidatorFactory;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/PathValidatorTest.java

            validator.addToBlacklist("\\share\\blocked");
            validator.clearBlacklist();
    
            // Should allow previously blacklisted path
            String allowed = validator.validatePath("\\share\\blocked\\file.txt");
            assertEquals("\\share\\blocked\\file.txt", allowed);
        }
    
        @Test
        public void testClearWhitelist() throws Exception {
            validator.addToWhitelist("\\share\\allowed");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  3. .github/workflows/validate-codeowners.yml

          - name: GitHub CODEOWNERS Validator
            uses: mszostok/codeowners-validator@v0.7.4
            with:
              checks: "files,duppatterns,syntax"
              experimental_checks: "notowned,avoid-shadowing"
    
          # downgrading to 0.7.2 for owners check to avoid issues with token permissions check,
          # see https://github.com/mszostok/codeowners-validator/issues/224
          - name: GitHub CODEOWNERS Validator
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Tue Aug 12 07:00:55 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java

            validator = new CustomSizeValidator();
        }
    
        public void test_constructor() {
            assertNotNull(validator);
        }
    
        public void test_isValid_nullValue() {
            final CustomSize annotation = createBasicAnnotation();
            validator.initialize(annotation);
    
            // Test null context - should return true for null value regardless of context
            assertTrue(validator.isValid(null, null));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/validation/CronExpressionValidatorTest.java

            assertTrue(validator.isValid("", context));
        }
    
        public void test_determineValid_nullAndBlank() {
            assertTrue(validator.determineValid(null));
            assertTrue(validator.determineValid(""));
            assertTrue(validator.determineValid(" "));
            assertTrue(validator.determineValid("   "));
            assertTrue(validator.determineValid("\t"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/ServerResponseValidatorTest.java

            assertEquals(Integer.MAX_VALUE, validator.safeAdd(Integer.MAX_VALUE, 0));
            assertEquals(Integer.MIN_VALUE, validator.safeAdd(Integer.MIN_VALUE, 0));
            assertEquals(0, validator.safeMultiply(0, Integer.MAX_VALUE));
            assertEquals(1, validator.safeMultiply(1, 1));
    
            // Test exact buffer boundaries
            byte[] buffer = new byte[100];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/query-params-str-validations.md

    /// tip
    
    Pydantic also has <a href="https://docs.pydantic.dev/latest/concepts/validators/#field-before-validator" class="external-link" target="_blank">`BeforeValidator`</a> and others. 🤓
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

            assertEquals("Validator class should be UriTypeValidator", UriTypeValidator.class, constraint.validatedBy()[0]);
            assertEquals("Should have exactly one validator", 1, constraint.validatedBy().length);
        }
    
        // Test default values
        public void test_defaultValues() throws Exception {
            assertEquals("Default message should match", "{org.lastaflute.validator.constraints.UriType.message}", getDefaultMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 21K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/validation/CustomSizeValidator.java

     */
    package org.codelibs.fess.validation;
    
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.util.ComponentUtil;
    import org.hibernate.validator.constraintvalidation.HibernateConstraintValidatorContext;
    
    import jakarta.validation.ConstraintValidator;
    import jakarta.validation.ConstraintValidatorContext;
    
    /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/body-fields.md

    Extra keys passed to `Field` will also be present in the resulting OpenAPI schema for your application.
    As these keys may not necessarily be part of the OpenAPI specification, some OpenAPI tools, for example [the OpenAPI validator](https://validator.swagger.io/), may not work with your generated schema.
    
    ///
    
    ## Recap { #recap }
    
    You can use Pydantic's `Field` to declare extra validations and metadata for model attributes.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.3K bytes
    - Viewed (0)
Back to top