- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 211 for model1 (0.15 sec)
-
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiParameterizedModelQueryIntegrationTest.groovy
outputContains("creating model with parameter='fetch1' for root project 'root'") outputContains("creating model with parameter='fetch1' for project ':a'") outputContains("creating model with parameter='fetch1' for project ':b'") and: model1.keySet() ==~ [":", ":a", ":b"] model1.values().every { it.size() == 1 } model1[":"][0].message == "fetch1 It works from project :"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 9.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r86/StreamingBuildActionCrossVersionTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 07 03:20:59 UTC 2024 - 6.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiBuildActionIntegrationTest.groovy
} outputContains("creating model for root project 'root'") outputContains("creating model for project ':a'") when: executer.withArguments(ENABLE_CLI) def model2 = runBuildAction(new FetchCustomModelForEachProject()) then: model2.size() == 2 model2[0].message == "It works from project :" model2[1].message == "It works from project :a" and:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 18.5K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
tests/test_filter_pydantic_sub_model_pv2.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)): return {"name": name, "description": "model-a-desc", "foo": model_c} client = TestClient(app) return client @needs_pydanticv2
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 6.3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiPhasedBuildActionIntegrationTest.groovy
def model2 = models2.right model2.size() == 2 model2[0].message == "It works from project :" model2[1].message == "It works from project :a" and: fixture.assertStateLoaded() outputDoesNotContain("creating model") } def "caches execution of phased BuildAction that queries custom tooling model and that runs tasks"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 10.4K bytes - Viewed (0)