Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 221 for realized (0.67 sec)

  1. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelPropertyTargetingRuleIntegrationTest.groovy

            output.contains("plugin name: windows 10")
            output.contains("script input: Family 'windows'")
            output.contains("script name: windows 10")
        }
    
        def "target of reference is realized when used as an input"() {
            when:
            buildScript '''
                @Managed
                interface Platforms {
                    OperatingSystem getCurrent()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 16.6K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/api/plugins/JavaPluginIntegrationTest.groovy

                dependencies {
                    testImplementation 'junit:junit:4.13'
                }
    
                tasks.withType(Test).configureEach {
                    throw new RuntimeException("Test task should not have been realized")
                }""".stripIndent()
    
            file("src/main/java/com/example/SampleClass.java") << """
                package com.example;
    
                public class SampleClass {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 11:39:00 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/attributes/DefaultMutableAttributeContainerTest.groovy

                })
            }
            expect:
            container.asImmutable().keySet().size() == 100
            actual == expected
        }
    
        def "realizing the value of lazy attributes may cause other attributes to be realized"() {
            def container = new DefaultMutableAttributeContainer(attributesFactory)
            def firstAttribute = Attribute.of("first", String)
            def secondAttribute = Attribute.of("second", String)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 08 14:34:28 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  4. 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)
  5. subprojects/core-api/src/main/java/org/gradle/api/NamedDomainObjectCollection.java

         * The returned collection is live, so that when matching objects are added to this collection,
         * they are also visible in the filtered collection.
         * This method will NOT cause any pending objects in this container to be realized.
         *
         * @param nameFilter The specification to test names against.
         * @return The collection of objects with names satisfying the filter. Returns an empty collection if there are no such objects in this collection.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 12:50:52 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  6. pkg/controller/history/controller_history.go

    	}
    	return br[i].Revision < br[j].Revision
    }
    
    func (br byRevision) Swap(i, j int) {
    	br[i], br[j] = br[j], br[i]
    }
    
    // Interface provides an interface allowing for management of a Controller's history as realized by recorded
    // ControllerRevisions. An instance of Interface can be retrieved from NewHistory. Implementations must treat all
    // pointer parameters as "in" parameter, and they must not be mutated.
    type Interface interface {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 05 13:33:52 UTC 2021
    - 18.2K bytes
    - Viewed (0)
  7. 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)
  8. platforms/jvm/plugins-jvm-test-suite/src/integTest/groovy/org/gradle/testing/testsuites/TestSuitesIntegrationTest.groovy

        }
    
        @Issue("https://github.com/gradle/gradle/issues/18622")
        def "custom Test tasks eagerly realized prior to Java and Test Suite plugin application do not fail to be configured when combined with test suites"() {
            buildFile << """
                tasks.withType(Test) {
                    // realize all test tasks
                }
                tasks.register("mytest", Test)
                apply plugin: 'java'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Sep 13 20:36:32 UTC 2023
    - 35.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/DefaultModelRegistryTest.groovy

            registry.realize("parent") // TODO - should not need this: parent mutations should be applied before mutating element
    
            expect:
            registry.realize("parent.bar", Bean).value == "prefix: bar"
            registry.realize("parent.foo", String) == "ignore me"
            registry.realize("parent.bar.child1", Bean).value == "prefix: baz"
            registry.realize("parent.bar.child2", String) == "ignore me too"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 56K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_5.adoc

    - `TaskContainer.clear()`
    - `TaskContainer.iterator().remove()`
    
    Additionally, the following deprecated functionality now results in an error:
    
    - Replacing a task that has already been realized.
    - Replacing a registered (unrealized) task with an incompatible type. A compatible type is the same type or a sub-type of the registered type.
    - Replacing a task that has never been registered.
    
    ==== Replaced and Removed APIs
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 03:01:48 UTC 2024
    - 47.5K bytes
    - Viewed (0)
Back to top