Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 8,420 for wren (0.05 sec)

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

        }
    
        def "can run tasks via tooling API when configuration cache is enabled"() {
            buildFile << """
                plugins {
                    id("java")
                }
                println("script log statement")
            """
    
            when:
            configurationCacheRun("assemble")
    
            then:
            outputContains("script log statement")
    
            when:
            configurationCacheRun("assemble")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/async/ServiceLifecycleTest.groovy

            noExceptionThrown()
        }
    
        def "throws exception when attempting to use service after it has stopped"() {
            when:
            lifecycle.stop()
            lifecycle.use { }
    
            then:
            IllegalStateException e = thrown()
            e.message == 'Cannot use [service] as it has been stopped.'
        }
    
        def "throws exception when attempting to use service after stop has been requested"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:55 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/state/TaskEnumTypesInputPropertyIntegrationTest.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: Thu Nov 04 22:26:51 UTC 2021
    - 8.6K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/result/DefaultBuildableModuleComponentMetaDataResolveResultTest.groovy

            then:
            thrown(IllegalStateException)
        }
    
        def "cannot get meta-data when has no result"() {
            when:
            descriptor.metaData
    
            then:
            thrown(IllegalStateException)
        }
    
        def "cannot get authoritative flag when has no result"() {
            when:
            descriptor.authoritative
    
            then:
            thrown(IllegalStateException)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. platforms/core-runtime/time/src/test/groovy/org/gradle/internal/time/MonotonicClockTest.groovy

        def "prevents time from going backwards"() {
            when:
            setNanos 0
    
            then:
            clock.currentTime == START_MILLIS + 0
    
            when:
            setNanos 10
    
            then:
            clock.currentTime == START_MILLIS + 10
    
            when:
            setNanos 8
    
            then:
            clock.currentTime == START_MILLIS + 10
    
            when:
            setNanos 10
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:20:17 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/result/DefaultBuildableArtifactSetResolveResultTest.groovy

        def "cannot get artifacts when no result specified"() {
            when:
            result.result
    
            then:
            IllegalStateException e = thrown()
            e.message == 'No result has been specified.'
        }
    
        def "cannot get failure when no result specified"() {
            when:
            result.failure
    
            then:
            IllegalStateException e = thrown()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api-builders/src/test/groovy/org/gradle/tooling/internal/provider/runner/ClientBuildEventGeneratorTest.groovy

            when:
            generator.started(operation, startEvent)
    
            then:
            0 * _
    
            when:
            generator.progress(operationId, progressEvent)
    
            then:
            0 * _
    
            when:
            generator.finished(operation, finishEvent)
    
            then:
            0 * _
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  8. platforms/core-runtime/functional/src/test/groovy/org/gradle/internal/lazy/LazyTest.groovy

            def supplier = Mock(Supplier)
    
            when:
            def lazy = factory(supplier)
    
            then:
            0 * supplier._
    
            when:
            lazy.use {
                assert it == 123
            }
    
            then:
            1 * supplier.get() >> 123
    
            when:
            lazy.get()
    
            then:
            0 * supplier.get()
    
            when:
            lazy.use {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:22:02 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  9. testing/internal-testing/src/test/groovy/org/gradle/test/fixtures/concurrent/ConcurrentSpecTest.groovy

            instant.actionExecuted
        }
    
        def "fails when waiting for an instant that is not defined by any thread"() {
            instant.timeout = 100
    
            when:
            thread.blockUntil.unknown
    
            then:
            IllegalStateException e = thrown()
            e.message == "Timeout waiting for instant 'unknown' to be defined by another thread."
    
            when:
            async {
                thread.blockUntil.unknown
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. platforms/software/signing/src/integTest/groovy/org/gradle/plugins/signing/SigningTasksIntegrationSpec.groovy

                }
            """
    
            when:
            run "signCustomFile"
    
            then:
            executedAndNotSkipped(":signCustomFile")
            file("input.txt.asc").exists()
    
            when:
            inputFile.text = "bar"
            run "signCustomFile"
    
            then:
            executedAndNotSkipped(":signCustomFile")
    
            when:
            run "signCustomFile"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 8K bytes
    - Viewed (0)
Back to top