Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 301 for validators (0.06 sec)

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

            final Constraint constraint = CustomSize.class.getAnnotation(Constraint.class);
            assertNotNull("Constraint annotation should be present", constraint);
            assertEquals("Validator class should be CustomSizeValidator", CustomSizeValidator.class, constraint.validatedBy()[0]);
        }
    
        // Test default values
        public void test_defaultValues() throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SecurityBlobTest.java

            assertEquals("deadbeef", blob.toString(), "toString() should reflect underlying content");
            assertEquals(data.hashCode(), blob.hashCode(), "hashCode should equal the array's hashCode");
        }
    
        // Validates equals() returns true for same-sized, equal-content blobs
        @Test
        @DisplayName("equals: identical content and size -> true")
        void equals_identicalContent_true() {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/group/AdminGroupAction.java

                    messages.addErrorsCrudInvalidMode(GLOBAL, String.valueOf(expectedMode), String.valueOf(crudMode));
                }, this::asListHtml);
            }
        }
    
        /**
         * Validates group attributes using LDAP manager.
         *
         * @param attributes the attributes to validate
         * @param throwError the error handler
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

                new FessTimeResourceProvider(null);
                // Constructor may accept null, so test continues
                assertTrue(true);
            } catch (NullPointerException e) {
                // Expected if constructor validates input
                assertTrue(true);
            }
        }
    
        // Test with different time adjustments
        public void test_withDifferentTimeAdjustments() {
            // Test zero adjustment
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  5. cmd/object-handlers_test.go

    		t.Fatalf("MinIO %s: Failed to create an anonymous request for %s/%s: <ERROR> %v",
    			instanceType, bucketName, objectName, err)
    	}
    
    	// ExecObjectLayerAPIAnonTest - Calls the HTTP API handler using the anonymous request, validates the ErrAccessDeniedResponse,
    	// sets the bucket policy using the policy statement generated from `getWriteOnlyObjectStatement` so that the
    	// unsigned request goes through and its validated again.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 163.1K bytes
    - Viewed (0)
  6. .github/workflows/build.yml

        name: "Validation"
        runs-on: ubuntu-latest
        steps:
          - uses: actions/checkout@v5
          - uses: gradle/actions/wrapper-validation@v4
          - name: Validate Renovate
            uses: rinchsan/renovate-config-validator@v0.2.0
            with:
              pattern: '.github/renovate.json'
    
      checkjdk11:
        permissions:
          checks: write # for mikepenz/action-junit-report
        runs-on: ubuntu-latest
    
        steps:
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 07:15:58 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  7. docs/zh-hant/docs/features.md

        * 使用 Pydantic 模型時,你可以把資料結構分層設計,並且用 Python 的 `List` 和 `Dict` 等型別來定義。
        * 驗證器讓我們可以輕鬆地定義和檢查複雜的資料結構,並把它們轉換成 JSON Schema 進行記錄。
        * 你可以擁有深層**巢狀的 JSON** 物件,並對它們進行驗證和註釋。
    * **可擴展**:
        * Pydantic 讓我們可以定義客製化的資料型別,或者你可以使用帶有 validator 裝飾器的方法來擴展模型中的驗證功能。
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Dec 10 10:48:41 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/sql-databases.md

    ///
    
    ### Ler Heroes com `HeroPublic`
    
    Podemos fazer o mesmo que antes para **ler** `Hero`s, novamente, usamos `response_model=list[HeroPublic]` para garantir que os dados sejam validados e serializados corretamente.
    
    {* ../../docs_src/sql_databases/tutorial002_an_py310.py ln[65:72] hl[65] *}
    
    ### Ler Um Hero com `HeroPublic`
    
    Podemos **ler** um único herói:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Oct 27 15:25:29 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/settings.md

    You can use all the same validation features and tools you use for Pydantic models, like different data types and additional validations with `Field()`.
    
    //// tab | Pydantic v2
    
    {* ../../docs_src/settings/tutorial001.py hl[2,5:8,11] *}
    
    ////
    
    //// tab | Pydantic v1
    
    /// info
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. cmd/iam.go

    	if !auth.IsSecretKeyValid(secretKey) {
    		return auth.ErrInvalidSecretKeyLength
    	}
    
    	return sys.store.UpdateUserSecretKey(ctx, accessKey, secretKey)
    }
    
    // purgeExpiredCredentialsForExternalSSO - validates if local credentials are still valid
    // by checking remote IDP if the relevant users are still active and present.
    func (sys *IAMSys) purgeExpiredCredentialsForExternalSSO(ctx context.Context) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 75.3K bytes
    - Viewed (0)
Back to top