Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,177 for wren (0.06 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheJavaIntegrationTest.groovy

                )
            }
    
            when:
            configurationCacheRun ":jar", "-Dcreator=creator1"
    
            then:
            assertCreatedBy 'creator1'
            assertStateStored()
    
            when:
            configurationCacheRun ":jar", "-Dcreator=creator2"
    
            then:
            assertCreatedBy 'creator2'
            assertStateLoaded()
    
            when:
            manifestFile.delete()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/DefaultPropertyTest.groovy

            def property = propertyWithDefaultValue(String)
    
            when:
            def p = property.map(transformer)
    
            then:
            !p.present
            0 * _
    
            when:
            property.set("123")
            p.present
    
            then:
            1 * transformer.transform("123") >> "present"
            0 * _
    
            when:
            def r = p.get()
    
            then:
            r == "321"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 17:09:50 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDependencyResolutionFeaturesIntegrationTest.groovy

            v3.pom.expectGet()
            v3.artifact.expectGet()
    
            when:
            configurationCacheRun("resolve1")
    
            then:
            configurationCache.assertStateStored()
            outputContains("result = [lib-1.3.jar]")
    
            when: // run again with different tasks, to verify behaviour when version list is already cached when configuration cache entry is written
            configurationCacheRun("resolve2")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 33K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/services/internal/DefaultBuildServicesRegistryTest.groovy

        }
    
        def "can lazily create service instance"() {
            when:
            def provider = registerService("service", ServiceImpl)
    
            then:
            ServiceImpl.instances.empty
    
            when:
            def service = provider.get()
    
            then:
            service instanceof ServiceImpl
            ServiceImpl.instances == [service]
    
            when:
            def service2 = provider.get()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractLineEndingSensitivityIntegrationSpec.groovy

            when:
            execute("taskWithInputs")
    
            then:
            executedAndNotSkipped(":taskWithInputs")
    
            when:
            file('foo/Changing.java').text = toWindows(TEXT_WITH_LINE_ENDINGS)
            cleanWorkspace()
            execute("taskWithInputs")
    
            then:
            executedAndNotSkipped(":taskWithInputs")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskExecutionIntegrationTest.groovy

                        }
                    }
                """
            }
        }
    
        def "no task is re-executed when inputs are unchanged"() {
            when:
            withBuildCache().run "jar"
            then:
            noneSkipped()
    
            expect:
            withBuildCache().run "clean"
    
            when:
            withBuildCache().run "jar"
            then:
            skipped ":compileJava"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/execution/taskgraph/DefaultTaskExecutionGraphSpec.groovy

            when:
            populateAndExecute([a, b])
    
            then:
            failures.empty
            executedTasks == [a, b]
        }
    
        def "does not fail with exception when build is cancelled and no tasks scheduled"() {
            given:
            cancellationToken.cancellationRequested >>> [true]
    
            when:
            populateAndExecute([])
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultResolutionStrategySpec.groovy

            strategy.setMutationValidator(validator)
    
            when: strategy.failOnVersionConflict()
            then: 1 * validator.validateMutation(STRATEGY)
    
            when: strategy.failOnDynamicVersions()
            then: 1 * validator.validateMutation(STRATEGY)
    
            when: strategy.failOnChangingVersions()
            then: 1 * validator.validateMutation(STRATEGY)
    
            when: strategy.failOnNonReproducibleResolution()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/TaskCacheabilityReasonIntegrationTest.groovy

                task noOutputs(type: NoOutputs) {}
            """
            when:
            run "cacheable"
            then:
            assertCachingDisabledFor BUILD_CACHE_DISABLED, "Build cache is disabled"
    
            when:
            run "notCacheableByDefault"
            then:
            assertCachingDisabledFor BUILD_CACHE_DISABLED, "Build cache is disabled"
    
            when:
            run "unspecified"
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 16:59:01 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/RepositoryChainComponentMetaDataResolverTest.groovy

                getRemoteAccess() >> repoRemoteAccess
                getName() >> name
            }
            resolver.add(repo)
            repo
        }
    
        def "uses local dependency when available"() {
            given:
            def repo = addRepo1()
    
            when:
            resolver.resolve(moduleComponentId, componentRequestMetaData, result)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 17:38:42 UTC 2024
    - 19.8K bytes
    - Viewed (0)
Back to top