Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 3,908 for wren (0.12 sec)

  1. 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)
  2. 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)
  3. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/work/DefaultWorkerLeaseServiceWorkerLeaseTest.groovy

            given:
            assert !registry.workerThread
    
            when:
            registry.currentWorkerLease
    
            then:
            thrown(NoAvailableWorkerLeaseException)
    
            when:
            def result = registry.runAsWorkerThread(action)
    
            then:
            result == "result"
    
            and:
            !registry.workerThread
    
            when:
            registry.currentWorkerLease
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/BuildStatusRendererTest.groovy

            def event = event("message")
    
            when:
            renderer.onOutput(event)
    
            then:
            1 * listener.onOutput(event)
        }
    
        def "formats given message with an incrementing timer"() {
            def event1 = startRootBuildOperation(1)
            def event2 = event('2')
    
            when:
            renderer.onOutput(event1)
            renderer.onOutput(updateNow())
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/state/TaskCustomTypesInputPropertyIntegrationTest.groovy

            given:
            run "someTask"
    
            when:
            run "someTask"
    
            then:
            skipped(":someTask")
    
            // Change the build script
            when:
            buildFile << """
    task someOtherTask
    """
            and:
            run "someTask"
    
            then:
            executedAndNotSkipped(":someTask")
    
            when:
            run "someTask"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 22 16:04:50 UTC 2022
    - 9.9K bytes
    - Viewed (0)
  6. platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingPropertiesTest.groovy

        }
    
        def "stringPropertyNames() contains(#key) and containsAll(#key) is tracked"() {
            when:
            def containsResult = getMapUnderTestToRead().stringPropertyNames().contains(key)
    
            then:
            containsResult == expectedResult
            1 * onAccess.accept(key, reportedValue)
            0 * onAccess._
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  7. 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)
  8. subprojects/core/src/test/groovy/org/gradle/internal/xml/SimpleXmlWriterSpec.groovy

        }
    
        def "cannot end element when stack is empty"() {
            writer.startElement("root")
            writer.endElement()
    
            when:
            writer.endElement()
    
            then:
            IllegalStateException e = thrown()
            e.message == 'Cannot end element, as there are no started elements.'
        }
    
        def "cannot write characters when stack is empty"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 02 12:15:58 UTC 2021
    - 14.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top