Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 971 for modelA (0.03 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

                Model model = new Model();
                model.setModelVersion("4.0.0");
                model.setGroupId(groupId);
                model.setArtifactId(artifactId);
                model.setVersion(version);
                model.setBuild(new Build());
                project = new MavenProject(model);
            }
    
            public ProjectBuilder setGroupId(String groupId) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. tests/associations_has_one_test.go

    	CheckUser(t, user, user)
    
    	// Find
    	var user2 User
    	DB.Find(&user2, "id = ?", user.ID)
    	DB.Model(&user2).Association("Account").Find(&user2.Account)
    	CheckUser(t, user2, user)
    
    	// Count
    	AssertAssociationCount(t, user, "Account", 1, "")
    
    	// Append
    	account := Account{Number: "account-has-one-append"}
    
    	if err := DB.Model(&user2).Association("Account").Append(&account); err != nil {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/PluginConfigurationExpander.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.plugin;
    
    import org.apache.maven.model.Model;
    import org.apache.maven.model.building.ModelBuildingRequest;
    import org.apache.maven.model.building.ModelProblemCollector;
    
    /**
     * Handles expansion of general build plugin configuration into individual executions.
     *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblemCollector.java

    import org.apache.maven.api.model.InputLocation;
    import org.apache.maven.api.model.Model;
    
    /**
     * Collects problems that are encountered during model building. The primary purpose of this component is to account for
     * the fact that the problem reporter has/should not have information about the calling context and hence cannot provide
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Dec 19 14:50:21 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. tests/test_request_params/test_form/test_optional_list.py

    class FormModelOptionalListStr(BaseModel):
        p: Optional[list[str]] = None
    
    
    @app.post("/model-optional-list-str", operation_id="model_optional_list_str")
    async def read_model_optional_list_str(p: Annotated[FormModelOptionalListStr, Form()]):
        return {"p": p.p}
    
    
    @pytest.mark.parametrize(
        "path",
        ["/optional-list-str", "/model-optional-list-str"],
    )
    def test_optional_list_str_schema(path: str):
        openapi = app.openapi()
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. tests/soft_delete_test.go

    	user := *GetUser("SoftDelete", Config{})
    	DB.Save(&user)
    
    	var count int64
    	var age uint
    
    	if DB.Model(&User{}).Where("name = ?", user.Name).Count(&count).Error != nil || count != 1 {
    		t.Errorf("Count soft deleted record, expects: %v, got: %v", 1, count)
    	}
    
    	if DB.Model(&User{}).Select("age").Where("name = ?", user.Name).Scan(&age).Error != nil || age != user.Age {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed Feb 01 06:40:55 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/project/ProjectSorterTest.java

    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    
    import org.apache.maven.model.Build;
    import org.apache.maven.model.Dependency;
    import org.apache.maven.model.Extension;
    import org.apache.maven.model.Model;
    import org.apache.maven.model.Parent;
    import org.apache.maven.model.Plugin;
    import org.apache.maven.model.PluginManagement;
    import org.junit.jupiter.api.Test;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

        }
    
        @Override
        public Model interpolate(Model model, File projectDir, ProjectBuilderConfiguration config, boolean debugEnabled)
                throws ModelInterpolationException {
            interpolateObject(model, model, projectDir, config, debugEnabled);
    
            return model;
        }
    
        protected void interpolateObject(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  9. api/maven-api-model/src/site/apt/index.apt

     -----
    
    Maven 4 API - Immutable Maven Model
    
     This is strictly the immutable model for Maven POM (Project Object Model), so really just plain objects in <<<org.apache.maven.api.model>>> package.
    
     The following are generated from this model:
    
       * {{{./apidocs/index.html}Java sources}} with <<<Builder>>> inner classes for immutable instances creation.
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Nov 16 18:16:44 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  10. tests/associations_test.go

    	var emptyUser User
    	var err error
    	// belongs to
    	err = DB.Model(&emptyUser).Association("Company").Delete(&user1.Company)
    	AssertEqual(t, err, gorm.ErrPrimaryKeyRequired)
    	// has many
    	err = DB.Model(&emptyUser).Association("Pets").Delete(&user1.Pets)
    	AssertEqual(t, err, gorm.ErrPrimaryKeyRequired)
    	// has one
    	err = DB.Model(&emptyUser).Association("Account").Delete(&user1.Account)
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Sep 12 04:33:27 UTC 2025
    - 13.3K bytes
    - Viewed (0)
Back to top