Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for SomeToolingModel (0.17 sec)

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

            List<String> result = new ArrayList<>();
            GradleBuild buildModel = controller.getBuildModel();
            for (BasicGradleProject project : buildModel.getProjects()) {
                SomeToolingModel model = controller.findModel(project, SomeToolingModel.class);
                if (model != null) {
                    result.add(model.getMessage());
                }
            }
            return result;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiModelQueryIntegrationTest.groovy

            executer.withArguments(ENABLE_CLI)
            fetchModel(SomeToolingModel, "help")
    
            then:
            notExecuted("help")
            fixture.assertStateStored {
                projectsConfigured(":buildSrc", ":")
                modelsCreated(":")
            }
    
            when:
            executer.withArguments(ENABLE_CLI)
            fetchModel(SomeToolingModel, ":dummyTask")
    
            then:
            executed(":dummyTask")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiParallelModelQueryIntegrationTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl.isolated
    
    import org.gradle.internal.cc.impl.fixtures.SomeToolingModel
    
    class IsolatedProjectsToolingApiParallelModelQueryIntegrationTest extends AbstractIsolatedProjectsToolingApiIntegrationTest {
    
        def "intermediate model is cached and reused for nested concurrent requests"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiPhasedBuildActionIntegrationTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl.isolated
    
    import org.gradle.internal.cc.impl.fixtures.SomeToolingModel
    
    class IsolatedProjectsToolingApiPhasedBuildActionIntegrationTest extends AbstractIsolatedProjectsToolingApiIntegrationTest {
        def setup() {
            settingsFile << """
                rootProject.name = 'root'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ToolingApiSpec.groovy

                import ${Project.name}
    
                class MyModelBuilder implements ToolingModelBuilder {
                    boolean canBuild(String modelName) {
                        return modelName == "${SomeToolingModel.class.name}"
                    }
                    Object buildAll(String modelName, Project project) {
                        println("creating model for \$project")
                        $content
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiBuildActionIntegrationTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl.isolated
    
    import org.gradle.internal.cc.impl.fixtures.SomeToolingModel
    
    class IsolatedProjectsToolingApiBuildActionIntegrationTest extends AbstractIsolatedProjectsToolingApiIntegrationTest {
        def setup() {
            settingsFile << """
                rootProject.name = 'root'
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top