Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 314 for wren (0.06 sec)

  1. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollectionSpec.groovy

            when:
            collection.from = ["a", "b"]
            then:
            collection.from as List == [["a", "b"]]
        }
    
        def "can mutate the from collection"() {
            collection.from("src1", "src2")
            def from = collection.from
    
            when:
            from.clear()
    
            then:
            from.empty
            collection.from.empty
    
            when:
            def add1 = from.add('a')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 17:09:50 UTC 2024
    - 53K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractDomainObjectCollectionSpec.groovy

            when:
            container.whenObjectAdded(action)
    
            then:
            // Does not fire for existing elements
            0 * action._
    
            when:
            addToContainer(a)
    
            then:
            1 * action.execute(a)
            0 * action._
    
            when:
            addToContainer(a)
    
            then:
            0 * action._
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

            property.set(someValue())
    
            when:
            property.finalizeValueOnRead()
    
            then:
            0 * _
    
            when:
            def value = property.orNull
    
            then:
            value == someValue()
    
            and:
            1 * host.beforeRead(null) >> null
        }
    
        def "can disallow changes when host is not ready when unsafe read disallowed"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/MapPropertySpec.groovy

        def "can change value to empty map"() {
            when:
            property.set([a: 'b'])
            property.empty()
            then:
            assertValueIs([:])
        }
    
        def "can set value using empty map"() {
            when:
            property.set([:])
            then:
            assertValueIs([:])
        }
    
        def "returns immutable copy of value"() {
            when:
            property.set(['k': 'v'])
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 58.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy

        }
    
        def "throws NullPointerException when provider returns list with null to property"() {
            given:
            property.addAll(Providers.of([null]))
    
            when:
            property.get()
    
            then:
            def ex = thrown(NullPointerException)
        }
    
        def "throws NullPointerException when adding a null value to the property"() {
            when:
            property.add(null)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationSpec.groovy

            when:
            configuration.extendsFrom(conf("other"))
            then:
            thrown(InvalidUserDataException)
    
            when:
            configuration.dependencies.add(Mock(Dependency))
            then:
            thrown(InvalidUserDataException)
    
            when:
            configuration.dependencies.remove(Mock(Dependency))
            then:
            thrown(InvalidUserDataException)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:30:13 UTC 2024
    - 64.8K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyTaskIntegrationSpec.groovy

                   into 'dest'
                }
            '''
    
            when:
            run 'copy'
            then:
            executedAndNotSkipped(":copy")
    
            when:
            file("files/sub/empty").createDir()
            run 'copy'
            then:
            executedAndNotSkipped(":copy")
    
            when:
            run 'copy'
            then:
            skipped(":copy")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 67.9K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultExecutionPlanParallelTest.groovy

        }
    
        def "finalizer dependency runs even when finalizer does not run when dependency is also an entry task"() {
            given:
            Task finalizerDepDep = task("finalizerDepDep", type: Async)
            Task finalizerDep = task("finalizerDep", type: Async, dependsOn: [finalizerDepDep])
            Task finalizer = task("finalizer", type: Async, dependsOn: [finalizerDep])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 93.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/suppliers/DynamicRevisionRemoteResolveWithMetadataSupplierIntegrationTest.groovy

                    }
                }
            }
    
            when:
            run 'checkDeps'
    
            then:
            outputContains("Providing metadata for group:projectB:2.2")
            outputContains("Providing metadata for group:projectB:1.1")
    
            when:
            // stop the daemon to make sure that when we run the build again
            // it's fetched from the persistent cache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 11:46:17 UTC 2024
    - 49K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDependencyResolutionIntegrationTest.groovy

            setupBuildWithArtifactTransformOfProjectDependencies()
    
            when:
            configurationCacheRun(":resolve")
    
            then:
            assertTransformed("a.jar", "b.jar")
            outputContains("result = [a.jar.green, b.jar.green]")
    
            when:
            configurationCacheRun(":resolve")
    
            then: // everything is up-to-date
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 54.1K bytes
    - Viewed (0)
Back to top