Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 123 for realizes (0.37 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeferredTaskConfigurationIntegrationTest.groovy

                    doLast {
                        assert defaultTaskRealizedCount == 0, "All DefaultTask shouldn't be realized"
                        assert zipTaskRealizedCount == 1, "All Zip task should be realized"
                    }
                }
            '''
    
            expect:
            succeeds "foo"
        }
    
        def "realizes only the task of the given type when verifying if a filtered task collection is empty"() {
            buildFile << '''
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. build-logic/performance-testing/src/main/kotlin/gradlebuild/performance/PerformanceTestPlugin.kt

            }
            tasks.withType<Delete>().configureEach {
                if (name == "clean${name.capitalize()}") {
                    // do not use 'tasks.named("clean...")' because that realizes the base task to apply the clean rule
                    delete(performanceTestReport)
                    dependsOn("clean${performanceTestReportZipTask.name.capitalize()}")
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskContainerTest.groovy

            then:
            container.resolveTask(":task") == task
        }
    
        void "realizes task graph"() {
            given:
            def aTask = addTask("a")
            def bTask = addTask("b")
            aTask.dependsOn(bTask)
    
            when:
            container.realize()
    
            then:
            0 * aTask.getTaskDependencies()
            0 * bTask.getTaskDependencies()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 14:36:44 UTC 2024
    - 44.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/poset.go

    			if strict {
    				// Cases #6 and #8: contradiction
    				return false
    			}
    
    			// We're in case #5 or #7. Try to collapse path, and that will
    			// fail if it realizes that we are in case #7.
    			return po.collapsepath(n2, n1)
    		}
    
    		// We don't know of any existing relation between n1 and n2. They could
    		// be part of the same DAG or not.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 17:23:05 UTC 2023
    - 37.2K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/collections/AbstractIterationOrderRetainingElementSource.java

            @Override
            public void collectInto(ImmutableCollection.Builder<T> builder) {
                if (!realized) {
                    realize();
                }
                builder.addAll(cache);
            }
    
            List<T> getValues() {
                if (!realized) {
                    realize();
                }
                return cache;
            }
    
            public boolean remove(T value) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 20:04:06 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultNamedDomainObjectSetSpec.groovy

            container.bean {
                assert it == b
            }
        }
    
        def "name based filtering does not realize pending"() {
            given:
            container.add(new Bean("realized1"))
            container.addLater(new TestNamedProvider("unrealized1", new Bean("unrealized1")))
            container.add(new Bean("realized2"))
            container.addLater(new TestNamedProvider("unrealized2", new Bean("unrealized2")))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 08:21:31 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskCreationBuildOperationIntegrationTest.groovy

            verifyTaskIds()
            verifyTaskDetails(RegisterTaskBuildOperationType, withPath(':', ':foo')).children.empty
            def realize = verifyTaskDetails(RealizeTaskBuildOperationType, withPath(':', ':foo'))
            realize.children.empty
            realize.details.eager == false
        }
    
        def "op during realize are child ops"() {
            given:
            register('foo')
            register('bar')
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultNamedDomainObjectListTest.groovy

            expect:
            list.findAll { it != "b" } == ["a", "c"]
        }
    
        def "name based filtering does not realize pending"() {
            given:
            list.add("realized1")
            list.addLater(new TestNamedProvider("unrealized1", "unrealized1"))
            list.add("realized2")
            list.addLater(new TestNamedProvider("unrealized2", "unrealized2"))
    
            expect: "unrealized elements remain as such"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 08:21:31 UTC 2023
    - 13K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/NodeBackedModelMapSpec.groovy

        }
    
        void realize() {
            registry.realizeNode(path)
        }
    
        void selfClose() {
            registry.atState(path, ModelNode.State.SelfClosed)
        }
    
        ModelMap<T> realizeAsModelMap() {
            registry.realize(path, modelMapType)
        }
    
        T realizeChild(String name) {
            registry.realize(path.child(name), itemType)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 38.3K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/test/groovy/org/gradle/language/internal/DefaultBinaryCollectionTest.groovy

        }
    
        def "cannot add elements after collection is realized"() {
            given:
            container.add(Stub(SwiftBinary))
            container.realizeNow()
    
            when:
            container.add(Stub(SwiftBinary))
    
            then:
            def e = thrown(IllegalStateException)
            e.message == 'Cannot add an element to this collection as it has already been realized.'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 18.4K bytes
    - Viewed (0)
Back to top