Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 77 for realized (0.15 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractCollectionProperty.java

     *     of the Java collection this collection property corresponds to</li>
     *     <li>{@link CollectingSupplier}, when the collection is still being added to - in that case,
     *     the collecting supplier will wrap a {@link Collector} that lazily represents the yet-to-be realized contents of the collection - see below for details</li>
     * </ul>
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultNamedDomainObjectSetSpec.groovy

        }
    
        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")))
    
            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
    - 11.6K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ResolutionResultApiIntegrationTest.groovy

        }
        def "resolution result does not realize artifact tasks"() {
            createDirs("producer")
            settingsFile << "include 'producer'"
            file("producer/build.gradle") << """
                plugins {
                    id("base")
                }
    
                def fooTask = tasks.register("foo", Zip) {
                    throw new RuntimeException("Realized artifact task")
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 30.5K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskDefinitionIntegrationTest.groovy

                tasks.create("foo", Foo)
                tasks.register("bar", Foo) {
                    assert false : "This should not be realized"
                }
                tasks.create("builtInTask", Copy)
                tasks.register("defaultTask") {
                    assert false : "This should not be realized"
                }
    
                def schema = tasks.collectionSchema.elements.collectEntries { e ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 14:43:53 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultNamedDomainObjectListTest.groovy

        }
    
        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"
            list.index.asMap().size() == 2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 08:21:31 UTC 2023
    - 13K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top