Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 418 for model4 (0.12 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiBuildActionIntegrationTest.groovy

            executer.withArguments(ENABLE_CLI)
            def model4 = runBuildAction(new FetchCustomModelForEachProject())
    
            then:
            model4.size() == 2
            model4[0].message == "It works from project :"
            model4[1].message == "It works from project :a"
    
            and:
            fixture.assertStateLoaded()
        }
    
        def "invalidates cached model when model builder input changes"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingModelsWithDependencyResolutionIntegrationTest.groovy

            when:
            executer.withArguments(ENABLE_CLI)
            def model2 = runBuildAction(new FetchCustomModelForEachProject())
    
            then:
            model2.size() == 4
            model2[0].message == "project :a classpath = 2"
            model2[1].message == "project :b classpath = 1"
            model2[2].message == "project :c classpath = 0"
            model2[3].message == "project :d classpath = 0"
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiModelQueryIntegrationTest.groovy

            when:
            executer.withArguments(ENABLE_CLI)
            def model2 = fetchModel(GradleBuild)
    
            then:
            model2.rootProject.name == "root"
            model2.projects.size() == 3
            model2.projects[0].name == "root"
            model2.projects[1].name == "a"
            model2.projects[2].name == "b"
    
            and:
            fixture.assertStateLoaded()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/adapter/ProtocolToModelAdapterTest.groovy

            model4.is(model1)
    
            def model5 = converter.builder(TestModel.class).mixInTo(TestProject, "instance").build(protocolModel)
            !model5.is(model1)
            !model5.project.is(model1.project)
            !model5.is(model2)
            !model5.project.is(model2.project)
    
            def model6 = converter.builder(TestModel.class).mixInTo(TestProject, "instance").build(protocolModel)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiGradleLifecycleIntegrationTest.groovy

            """
    
            withIsolatedProjects()
            def model3 = runBuildAction(new FetchCustomModelForEachProject())
    
            then:
            model3.size() == 2
            model3[0].message == "updated message for root"
            model3[1].message == "It works from project :a"
    
            fixture.assertStateUpdated {
                fileChanged("build.gradle")
                projectConfigured(":buildSrc")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiCoupledProjectsIntegrationTest.groovy

            }
    
            when:
            executer.withArguments(ENABLE_CLI)
            def model2 = runBuildAction(new FetchCustomModelForEachProject())
    
            then:
            model2.size() == 3
            model2[0].message == "project a"
            model2[1].message == "project b"
            model2[2].message == "It works from project :c"
    
            and:
            fixture.assertStateLoaded()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiParallelConfigurationIntegrationTest.groovy

            server.expectConcurrent("model-a", "model-b")
    
            executer.withArguments(ENABLE_CLI)
            def model3 = runBuildAction(new FetchCustomModelForEachProjectInParallel())
    
            then:
            model3.size() == 3
            model3[0].message == "It works from project :"
            model3[1].message == "this is project a"
            model3[2].message == "this is project b"
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. tests/test_response_model_include_exclude.py

            },
            "baz": "simple_include_dict model2 baz",
        }
    
    
    @app.get(
        "/simple_exclude",
        response_model=Model2,
        response_model_exclude={"ref": {"bar"}},
    )
    def simple_exclude():
        return Model2(
            ref=Model1(foo="simple_exclude model foo", bar="simple_exclude model bar"),
            baz="simple_exclude model2 baz",
        )
    
    
    @app.get(
        "/simple_exclude_dict",
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Jul 19 19:14:58 UTC 2021
    - 4K bytes
    - Viewed (0)
  9. tests/test_filter_pydantic_sub_model/app_pv1.py

            return name
    
    
    async def get_model_c() -> ModelC:
        return ModelC(username="test-user", password="test-password")
    
    
    @app.get("/model/{name}", response_model=ModelA)
    async def get_model_a(name: str, model_c=Depends(get_model_c)):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 784 bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r44/MultipleParametersAction.java

                @Override
                public void execute(CustomParameter customParameter) {
                    customParameter.setValue(model1.getParameterValue() + ":parameter2");
                }
            });
            result.add(model0);
            result.add(model1);
            result.add(model2);
            return result;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top