Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,134 for Model (0.05 sec)

  1. compat/maven-model/src/test/java/org/apache/maven/model/ModelTest.java

            Model model = new Model();
            model.addProperty("key1", "value1");
            model.addProperty("key2", "value2");
            assertEquals(2, model.getProperties().size());
    
            // This should not throw NullPointerException
            model.getProperties().clear();
            assertEquals(0, model.getProperties().size());
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 08:09:30 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. compat/maven-model/src/main/java/org/apache/maven/model/InputSource.java

        }
    
        /**
         * Converts this compat model InputSource to an API model InputSource.
         * This method is used for converting between the compat model and the API model.
         *
         * @return the equivalent API model InputSource
         */
        public org.apache.maven.api.model.InputSource toApiSource() {
            return org.apache.maven.api.model.InputSource.of(modelId, location);
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. .teamcity/src/test/kotlin/BuildScanTagUtilsTest.kt

    import common.VersionedSettingsBranch
    import common.asBuildScanCustomValue
    import common.getBuildScanCustomValueParam
    import jetbrains.buildServer.configs.kotlin.DslContext
    import model.CIBuildModel
    import model.JsonBasedGradleSubprojectProvider
    import model.TestCoverage
    import model.TestType
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Test
    import java.io.File
    
    class BuildScanTagUtilsTest {
        init {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Aug 05 16:58:51 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomBuilderTest.java

            request.setRootDirectory(Paths.get("src/test/resources/consumer/simple"));
            Model model = builder.build(session, project, Sources.buildSource(file));
    
            assertNotNull(model);
            assertTrue(model.getProfiles().isEmpty());
        }
    
        @Test
        void testScmInheritance() throws Exception {
            Model model = Model.newBuilder()
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 06 18:32:25 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. fastapi/_compat/v2.py

                field_info=FieldInfo(annotation=model),
                name=model.__name__,
                mode="validation",
            )
            for model in flat_validation_models
        ]
        flat_serialization_model_fields = [
            ModelField(
                field_info=FieldInfo(annotation=model),
                name=model.__name__,
                mode="serialization",
            )
            for model in flat_serialization_models
        ]
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

    import static japicmp.model.JApiCompatibilityChangeType.METHOD_ADDED_TO_INTERFACE;
    import static japicmp.model.JApiCompatibilityChangeType.METHOD_ADDED_TO_PUBLIC_CLASS;
    import static japicmp.model.JApiCompatibilityChangeType.METHOD_NEW_DEFAULT;
    import static japicmp.model.JApiCompatibilityChangeType.METHOD_REMOVED;
    import static japicmp.model.JApiCompatibilityChangeType.METHOD_RETURN_TYPE_CHANGED;
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 24 14:15:15 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/project/ProjectBuilder.java

         *
         * @see org.apache.maven.model.building.ModelSource2
         */
        ProjectBuildingResult build(ModelSource modelSource, ProjectBuildingRequest request)
                throws ProjectBuildingException;
    
        /**
         * Builds a project descriptor for the specified model source.
         *
         * @param modelSource The source of the model to build the project descriptor from, must not be {@code null}.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 10:13:56 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. .teamcity/src/test/kotlin/PromotionProjectTests.kt

                    "Start Release Cycle Test",
                ),
                model.buildTypes.map { it.name },
            )
        }
    
        @Test
        fun `promotion project has expected build types for other branches`() {
            val model = setupModelFor("release")
    
            assertEquals("Promotion", model.name)
            assertEquals(12, model.buildTypes.size)
            assertEquals(
                listOf(
                    "SanityCheck",
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Jun 12 09:41:54 UTC 2025
    - 15.3K bytes
    - Viewed (1)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java

     * under the License.
     */
    package org.apache.maven.model.building;
    
    import java.io.File;
    
    import org.apache.maven.model.Model;
    
    /**
     * Assists in the handling of model problems.
     *
     * @author Benjamin Bentmann
     */
    public class ModelProblemUtils {
    
        /**
         * Creates a user-friendly source hint for the specified model.
         *
         * @param model The model to create a source hint for, may be {@code null}.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/configurations/PerformanceTestsPass.kt

    import common.setArtifactRules
    import jetbrains.buildServer.configs.kotlin.ParameterDisplay
    import jetbrains.buildServer.configs.kotlin.ReuseBuilds
    import model.CIBuildModel
    import model.PerformanceTestType
    import projects.PerformanceTestProject
    
    class PerformanceTestsPass(
        model: CIBuildModel,
        performanceTestProject: PerformanceTestProject,
    ) : OsAwareBaseGradleBuildType(
            os = performanceTestProject.spec.os,
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Dec 22 07:15:16 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top