Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for realizes (0.19 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r61/GradleProjectBuilderOptionsCrossVersionSpec.groovy

    import org.gradle.tooling.model.GradleProject
    import org.gradle.tooling.model.idea.IdeaProject
    
    @TargetGradleVersion(">=6.1")
    class GradleProjectBuilderOptionsCrossVersionSpec extends ToolingApiSpecification {
    
        def "realizes #description when fetching GradleProject with option value #optionDescription"() {
            buildFile << """
                tasks.create("a") {
                    println "realizing non-lazy task"
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/WellBehavedPluginTest.groovy

            target << "apply plugin: '${getPluginName()}'\n"
        }
    
        def "does not realize all possible tasks"() {
            // TODO: This isn't done yet, we still realize many tasks
            // Eventually, this should only realize "help"
    
            Assume.assumeFalse(pluginName in [
                'xctest', // Almost, still realizes compileTestSwift
    
                'visual-studio',
                'xcode',
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 13:39:44 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/CollectionSupplier.java

     *
     * @param <T> the type of elements
     * @param <C> type of collection
     */
    interface CollectionSupplier<T, C extends Collection<? extends T>> extends ValueSupplier {
        /**
         * Realizes and returns the (collection) value.
         */
        Value<? extends C> calculateValue(ValueConsumer consumer);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 21 05:02:13 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/tooling/GradleProjectBuilder.java

            return buildHierarchy(project.getRootProject(), realizeTasks);
        }
    
        /**
         * When {@code realizeTasks} is false, the project's task graph will not be realized, and the task list in the model will be empty
         */
        private static DefaultGradleProject buildHierarchy(Project project, boolean realizeTasks) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 13:57:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/TaskContainerIntegrationTest.groovy

                tasks.register("bar", Delete)
            """
    
            when:
            succeeds "help"
    
            then:
            // help task is realized and configured
            outputContains("configured :help")
    
            // are "built-in" tasks realized and configured?
            if (realizesBuiltInTasks) {
                outputContains("configured :tasks")
                outputContains("configured :projects")
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 07:46:00 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/RuleSourceApplicationTest.groovy

            project.apply plugin: 'custom-rule-source'
    
            then:
            project.modelRegistry.realize("foo", String) == "bar"
        }
    
        def "can apply a rule source by type"() {
            when:
            def project = buildProject()
            project.apply type: CustomRuleSource
    
            then:
            project.modelRegistry.realize("foo", String) == "bar"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/collections/IterationOrderRetainingSetElementSourceTest.groovy

            source.contains("foo")
        }
    
        def "an element added as both a provider and a realized value is not duplicated"() {
            when:
            source.add("foo")
            source.addPending(provider("foo"))
    
            then:
            source.iterator().collect() == ["foo"]
        }
    
        def "an element added as both a provider and a realized value has the correct order"() {
            when:
            source.addPending(provider("foo"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 06:43:26 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/ProjectVariantResolutionIntegrationTest.groovy

    class ProjectVariantResolutionIntegrationTest extends AbstractIntegrationSpec implements VariantAwareDependencyResolutionTestFixture, TasksWithInputsAndOutputs {
        def "does not realize tasks that produce outgoing artifacts that are not required"() {
            createDirs("a", "b")
            settingsFile << """
                include 'a', 'b'
            """
            setupBuildWithColorVariants()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/transforms.h

                                bool smuggle_disallowed_ops);
    
    // This function is a common entry point for all graph optimizations that are
    // not specific to any hardware. It legalizes SHLO->MHLO, does MHLO->MHLO
    // optimizations by calling `AddMhloOptimizationPasses` internally, and
    // legalizes MHLO->SHLO
    void AddStablehloOptimizationPasses(OpPassManager& pm);
    
    // Adds all the backend-agonstic stableHLO optimization passes
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 01:08:27 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/SequentialOutputMatcher.groovy

        public void assertOutputMatches(String expected, String actual, boolean ignoreExtraLines) {
            List actualLines = new ArtifactResolutionOmittingOutputNormalizer().normalize(actual).readLines().findAll { !it.isEmpty() }
            List expectedLines = expected.readLines().findAll { !it.isEmpty() }
            assertOutputLinesMatch(expectedLines, actualLines, ignoreExtraLines, actual)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top