Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of about 10,000 for wren (0.07 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/DefaultPluginContainerTest.groovy

            !container.hasPlugin("x")
            !container.findPlugin("x")
        }
    
        def "fails when getting unknown plugin"() {
            when:
            container.getPlugin("unknown")
    
            then:
            thrown(UnknownPluginException)
        }
    
        def "fails when getting plugin of unknown type"() {
            when:
            container.getPlugin(plugin1Class)
    
            then:
            thrown(UnknownPluginException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/services/DefaultLoggingManagerTest.groovy

            when:
            loggingManager.start()
    
            then:
            1 * loggingRouter.addStandardOutputListener(stdoutListener)
    
            when:
            loggingManager.removeStandardOutputListener(stdoutListener)
    
            then:
            1 * loggingRouter.removeStandardOutputListener(stdoutListener)
    
            when:
            loggingManager.stop()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  3. 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)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskContainerTest.groovy

        void 'cannot create task with no name'() {
            when:
            container.create([:])
    
            then:
            InvalidUserDataException e = thrown()
            e.message == "The task name must be provided."
        }
    
        void 'can create task with dependencies'() {
            def task = task("task")
            taskFactory.create(_ as TaskIdentity) >> task
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 14:36:44 UTC 2024
    - 44.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. subprojects/core/src/test/groovy/org/gradle/invocation/DefaultGradleSpec.groovy

            given:
            gradle.attachSettings(state)
    
            when:
            gradle.resetState()
    
            then:
            1 * state.close()
        }
    
        def "get root project throws exception when root project is not available"() {
            when:
            gradle.rootProject
    
            then:
            thrown IllegalStateException
    
            when:
            def rootProject = project('root')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 22:53:34 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top