Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,041 for model (0.02 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/project/validation/ModelValidator.java

     * under the License.
     */
    package org.apache.maven.project.validation;
    
    import org.apache.maven.model.Model;
    
    /**
     * Checks the model for missing or invalid values.
     *
     */
    @Deprecated
    public interface ModelValidator {
    
        String ROLE = ModelValidator.class.getName();
    
        ModelValidationResult validate(Model model);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. tests/test_tuples.py

        data = {"items": [["foo", "bar"], ["baz", "whatelse"]]}
        response = client.post("/model-with-tuple/", json=data)
        assert response.status_code == 200, response.text
        assert response.json() == data
    
    
    def test_model_with_tuple_invalid():
        data = {"items": [["foo", "bar"], ["baz", "whatelse", "too", "much"]]}
        response = client.post("/model-with-tuple/", json=data)
        assert response.status_code == 422, response.text
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  3. api/maven-api-toolchain/src/site/apt/index.apt

     2006-11-04
     -----
    
    Maven 4 API - Immutable Toolchains Model
    
     This is strictly the immutable model for Maven toolchains in <<<org.apache.maven.api.toolchain>>> package.
    
     The following are generated from this model:
    
       * {{{./apidocs/index.html}Java sources}} with <<<Builder>>> inner classes for immutable instances creation.
    
     See also corresponding {{{../../maven-toolchain-model/index.html}Maven classical toolchains model documentation}}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Dec 31 16:32:07 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  4. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

    import jetbrains.buildServer.configs.kotlin.failureConditions.BuildFailureOnText
    import model.ALL_CROSS_VERSION_BUCKETS
    import model.CIBuildModel
    import model.DefaultFunctionalTestBucketProvider
    import model.JsonBasedGradleSubprojectProvider
    import model.QUICK_CROSS_VERSION_BUCKETS
    import model.TestCoverage
    import model.TestType
    import model.ignoredSubprojects
    import org.junit.jupiter.api.Assertions.assertEquals
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 18 07:02:47 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingResult.java

     * under the License.
     */
    package org.apache.maven.model.building;
    
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Objects;
    
    import org.apache.maven.model.Model;
    import org.apache.maven.model.Profile;
    
    /**
     * Collects the output of the model builder.
     *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java

     * under the License.
     */
    package org.apache.maven.model.building;
    
    import java.io.PrintWriter;
    import java.io.StringWriter;
    import java.util.Collections;
    import java.util.List;
    
    import org.apache.maven.model.Model;
    
    /**
     * Signals one ore more errors during model building. The model builder tries to collect as many problems as possible
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. tests/test_jsonable_encoder.py

        model = ModelWithDefault(foo="foo", bar="bar")
        assert jsonable_encoder(model) == {"foo": "foo", "bar": "bar", "bla": "bla"}
        assert jsonable_encoder(model, exclude_unset=True) == {"foo": "foo", "bar": "bar"}
        assert jsonable_encoder(model, exclude_defaults=True) == {"foo": "foo"}
        assert jsonable_encoder(model, exclude_unset=True, exclude_defaults=True) == {
            "foo": "foo"
        }
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 9K bytes
    - Viewed (0)
  8. tests/count_test.go

    	})
    
    	var count1 int64
    	if err := DB.Model(&Company{}).Where("name = ?", "company_count_group_a").Group("name").Count(&count1).Error; err != nil {
    		t.Errorf(fmt.Sprintf("Count should work, but got err %v", err))
    	}
    	if count1 != 1 {
    		t.Errorf("Count with group should be 1, but got count: %v", count1)
    	}
    
    	var count2 int64
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java

     * under the License.
     */
    package org.apache.maven.model.profile.activation;
    
    import java.io.File;
    import java.io.IOException;
    import java.nio.file.Path;
    
    import org.apache.maven.api.model.Activation;
    import org.apache.maven.api.model.ActivationFile;
    import org.apache.maven.api.model.Profile;
    import org.apache.maven.model.path.DefaultPathTranslator;
    import org.apache.maven.model.path.ProfileActivationFilePathInterpolator;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java

     * under the License.
     */
    package org.apache.maven.model.v4;
    
    import javax.xml.stream.XMLStreamException;
    
    import java.io.IOException;
    import java.io.StringReader;
    import java.io.StringWriter;
    import java.util.LinkedHashMap;
    import java.util.Map;
    
    import org.apache.maven.api.model.Model;
    import org.apache.maven.api.model.Plugin;
    import org.apache.maven.api.xml.XmlNode;
    import org.junit.jupiter.api.Test;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top