Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for modelsCreated (0.27 sec)

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

             */
            void modelsCreated(String path, int count) {
                modelsCreated(new ModelRequestExpectation(path, count))
            }
    
            /**
             * The models are created for the given project. The project will also be configured
             */
            void modelsCreated(String path, Class<?> modelType, Class<?>... moreModelTypes) {
                modelsCreated(path, [modelType, *moreModelTypes].name)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiGradleLifecycleIntegrationTest.groovy

            model[1].message == "It works from project :a"
    
            fixture.assertStateStored {
                projectsConfigured(":buildSrc", ":b")
                buildModelCreated()
                modelsCreated(":", ":a")
            }
    
            outputContains("Callback before root project 'root'")
            outputContains("Callback before project ':a'")
            outputContains("Callback before project ':b'")
    
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsJavaPluginIntegrationTest.groovy

            then:
            fixture.assertStateStored {
                projectsConfigured(":buildSrc", ":", ":a", ":b")
                buildModelCreated()
                modelsCreated(":a", ":b")
            }
        }
    
        def "java projects with a valid cross-references can be configured in a parallel"() {
            given:
            withSomeToolingModelBuilderPluginInBuildSrc()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiParallelConfigurationIntegrationTest.groovy

            model.name == "root"
            model.children.name == ["a", "b"]
    
            and:
            fixture.assertStateStored {
                projectsConfigured(":", ":a", ":b")
                modelsCreated(":", 2)
                modelsCreated(":a", ":b")
            }
        }
    
        private void addConventionPluginImplementation(String targetBuildName, String className) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiKotlinDslIntegrationTest.groovy

    
            when:
            withIsolatedProjects()
            def model = fetchModel(KotlinDslScriptsModel)
    
            then:
            fixture.assertStateStored {
                modelsCreated(":", KotlinDslScriptsModel)
                modelsCreated(":a", [isolatedScriptsModel])
            }
    
            checkKotlinDslScriptsModel(model, originalModel)
    
    
            when:
            withIsolatedProjects()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiStreamingBuildActionIntegrationTest.groovy

                setStreamedValueListener(listener1)
            }
    
            then:
            fixture.assertStateStored {
                projectConfigured(":")
                modelsCreated(":", 3)
            }
    
            and:
            model.value == 42
    
            and:
            def streamedModels = listener1.models
            streamedModels.size() == 2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiParallelModelQueryIntegrationTest.groovy

            and:
            models.size == 2
            models[0].message == "It works from project :"
    
            and:
            fixture.assertStateStored {
                projectsConfigured(":buildSrc", ":")
                modelsCreated(SomeToolingModel, ":") // the model is built only once and reused
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top