Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 5,778 for wren (0.06 sec)

  1. 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)
  2. 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)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/extensibility/ExtraPropertiesExtensionTest.groovy

            expect:
            extension.foo == null
    
            when:
            extension.foo = "bar"
    
            then:
            extension.foo == "bar"
        }
    
        def "cannot read or write unregistered property using groovy syntax"() {
            when:
            extension.foo
    
            then:
            thrown(MissingPropertyException)
    
            when:
            extension.foo = "bar"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  4. 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)
  5. platforms/software/resources/src/test/groovy/org/gradle/internal/resource/UriTextResourceTest.groovy

            when:
            file.text = '<content>'
            UriTextResource resource = new UriTextResource('<display-name>', file, resolver)
    
            then:
            resource.exists
            !resource.hasEmptyContent
            resource.text == '<content>'
            resource.asReader.text == '<content>'
        }
    
        def assumesFileIsEncodedUsingUtf8() throws IOException {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  6. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/actor/internal/DefaultActorFactorySpec.groovy

        def cleanup() {
            factory.stop()
        }
    
        def createsANonBlockingActorForATargetObject() {
            when:
            def actor = factory.createActor(target)
    
            then:
            actor != null
        }
    
        def cachesTheNonBlockingActorForATargetObject() {
            when:
            def actor1 = factory.createActor(target)
            def actor2 = factory.createActor(target)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/text/AbstractLineChoppingStyledTextOutputTest.groovy

        def "appends text to current line"() {
            def output = output()
    
            when:
            output.text("some text")
    
            then:
            result.toString() == "[some text]"
        }
    
        def "append empty lines [#type]"() {
            def output = output()
    
            when:
            output.text(eol)
            output.text(eol)
            output.text("$eol$eol")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaExecToolchainIntegrationTest.groovy

            "current JVM"    | "when toolchains are not configured" | null     | null           | null              | "current"
            "java extension" | "when configured"                    | null     | null           | "other"           | "other"
            "executable"     | "when configured"                    | null     | "other"        | null              | "other"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/javadoc/JavadocToolchainIntegrationTest.groovy

            "current JVM"    | "when toolchains are not configured" | null     | null           | null              | "current"
            "java extension" | "when configured"                    | null     | null           | "other"           | "other"
            "executable"     | "when configured"                    | null     | "other"        | null              | "other"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/MultiLineBuildProgressAreaTest.groovy

                0 * ansi._
            }
        }
    
        def "doesn't do any ansi calls when visibility is set to false before the first redraw"() {
            given:
            fillArea()
    
            when:
            progressArea.setVisible(false)
            redraw()
    
            then:
            0 * ansi._
        }
    
        def "doesn't scroll the area when visibility is set to false"() {
            given:
            fillArea()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 8.1K bytes
    - Viewed (0)
Back to top