Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for fetchModel (0.18 sec)

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

            file("a/build.gradle") << ""
            file("b/build.gradle") << ""
    
            when:
            def originalModel = fetchModel(GradleProject)
    
            then:
            fixture.assertNoConfigurationCache()
    
            when:
            executer.withArguments(ENABLE_CLI)
            def model = fetchModel(GradleProject)
    
            then:
            fixture.assertStateStored {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiModelQueryIntegrationTest.groovy

            when:
            executer.withArguments(ENABLE_CLI)
            fetchModel(SomeToolingModel, "help")
    
            then:
            notExecuted("help")
            fixture.assertStateStored {
                projectsConfigured(":buildSrc", ":")
                modelsCreated(":")
            }
    
            when:
            executer.withArguments(ENABLE_CLI)
            fetchModel(SomeToolingModel, ":dummyTask")
    
            then:
    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/IsolatedProjectsToolingApiIdeaProjectIntegrationTest.groovy

            def ideaModel = fetchModel(IdeaProject)
    
            then:
            fixture.assertStateStored {
                modelsCreated(":", models(IdeaProject, pluginApplyingModel, IsolatedGradleProjectInternal, IsolatedIdeaModuleInternal))
            }
    
            then:
            ideaModel.name == "root"
    
            when:
            executer.withArguments(ENABLE_CLI)
            fetchModel(IdeaProject)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiKotlinDslIntegrationTest.groovy

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

            buildWithSomeToolingModelAndScriptLogStatement()
    
            when:
            def model = fetchModel()
    
            then:
            model.message == "It works from project :"
            outputContains("script log statement")
    
            when:
            def model2 = fetchModel()
    
            then:
            model2.message == "It works from project :"
            outputContains("script log statement")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/tooling/provider/model/internal/DefaultIntermediateToolingModelProvider.java

            List<Supplier<Object>> fetchActions = targets.stream()
                .map(targetProject -> (Supplier<Object>) () -> fetchModel(modelName, controller, (ProjectInternal) targetProject, parameter))
                .collect(toList());
    
            return runFetchActions(fetchActions);
        }
    
        @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 10:31:36 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ToolingApiSpec.groovy

                            id = "$pluginId"
                            implementationClass = "$implClass"
                        }
                    }
                }
            """
        }
    
        def <T> T fetchModel(Class<T> type = SomeToolingModel.class, String... tasks = null) {
            def model = null
            result = toolingApiExecutor.runBuildWithToolingConnection { connection ->
                def output = new ByteArrayOutputStream()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiParallelConfigurationIntegrationTest.groovy

            given:
            server.expect("configure-root")
            server.expectConcurrent("configure-a", "configure-b")
    
            when:
            executer.withArguments(ENABLE_CLI)
            def model = fetchModel(GradleProject)
    
            then:
            model.name == "root"
            model.children.name == ["a", "b"]
    
            and:
            fixture.assertStateStored {
                projectsConfigured(":", ":a", ":b")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/grappler/grappler_test.cc

                                              lens[i])) != nodes_preserved.end(),
                  true);
      }
      TF_DeleteStatus(status);
    }
    
    TEST(TF_GrapplerItem, FetchNodes) {
      GrapplerItem item;
      item.fetch = std::vector<string>{"Conv", "BiasAdd"};
      TF_GrapplerItem* c_item = reinterpret_cast<TF_GrapplerItem*>(&item);
    
      int list_total_size = 0;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 13 22:30:58 UTC 2023
    - 11.6K bytes
    - Viewed (0)
Back to top