Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,186 for wren (0.04 sec)

  1. platforms/core-runtime/daemon-services/src/test/groovy/org/gradle/api/internal/tasks/userinput/DefaultUserInputHandlerTest.groovy

        def "select question does not prompt user when there is only one option"() {
            when:
            def input = ask { it.selectOption(TEXT, [11], 11) }
    
            then:
            0 * outputEventBroadcaster.onOutput(_)
            0 * userInputHandler._
    
            and:
            input == 11
        }
    
        def "select question returns default when empty input line received"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractDirectorySensitivityIntegrationSpec.groovy

            file('bar').mkdir()
            file('bar/a').createFile()
    
            when:
            execute("taskWithInputs")
    
            then:
            executedAndNotSkipped(":taskWithInputs")
    
            when:
            cleanWorkspace()
            execute("taskWithInputs")
    
            then:
            reused(":taskWithInputs")
    
            when:
            cleanWorkspace()
            file('foo/c').mkdir()
            file('foo/c/1').mkdir()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  3. platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceIntegrationTest.groovy

                test=true
            """
        }
    
        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: Mon Apr 22 23:08:20 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiModelQueryIntegrationTest.groovy

            }
            outputContains("creating model for root project 'root'")
    
            when:
            executer.withArguments(ENABLE_CLI)
            def model2 = fetchModel()
    
            then:
            model2.message == "It works from project :"
    
            and:
            fixture.assertStateLoaded()
            outputDoesNotContain("creating model")
    
            when:
            buildFile << """
                myExtension.message = 'this is the root project'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/BuildInitPluginIntegrationTest.groovy

            given:
            pom()
    
            when:
            run('init')
    
            then:
            pomValuesUsed(rootProjectDslFixtureFor(KOTLIN))
        }
    
        def "pom conversion to #scriptDsl build scripts not triggered when build type is specified"() {
            given:
            pom()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 13:39:44 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/file/FileCollectionSymlinkIntegrationTest.groovy

                    outputDirectory =  Paths.get('${root}')
                }
            """
    
            when:
            target.createFile()
            run 'producesLink'
            then:
            executedAndNotSkipped ':producesLink'
    
            when:
            run 'producesLink'
            then:
            skipped ':producesLink'
    
            when:
            target.delete()
            run 'producesLink'
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  7. subprojects/core-api/src/test/groovy/org/gradle/api/tasks/util/PatternSetTest.groovy

        }
    
        def takesGlobalExcludesFromAnt() {
            when:
            DirectoryScanner.defaultExcludes.each {
                DirectoryScanner.removeDefaultExclude(it)
            }
            updateSettingsDefaults()
    
            then:
            included dir('.svn')
            included file('.svn', 'abc')
            included file('foo', '.DS_Store')
    
            when:
            DirectoryScanner.addDefaultExclude('*X*')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 15 12:37:12 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DefaultDaemonConnectionTest.groovy

            1 * handler.onEndOfInput() >> { received.countDown() }
            0 * handler._
        }
    
        def "generates end of stdin event when connection disconnects"() {
            StdinHandler handler = Mock()
            def input1 = new ForwardInput("hello".bytes)
            def received = new CountDownLatch(1)
    
            when:
            daemonConnection.onStdin(handler)
            connection.queueIncoming(input1)
            received.await()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  9. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/event/DefaultListenerManagerTest.groovy

            !manager.hasListeners(TestFooListener)
    
            when:
            manager.getBroadcaster(TestFooListener)
    
            then:
            !manager.hasListeners(TestFooListener)
    
            when:
            manager.addListener(fooListener1)
    
            then:
            manager.hasListeners(TestFooListener)
            !manager.hasListeners(TestBarListener)
    
            when:
            manager.removeListener(fooListener1)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/ConfigurationOnDemandIntegrationTest.groovy

            when:
            run(":api:build")
    
            then:
            fixture.assertProjectsConfigured(":", ":api")
    
            when:
            inDirectory("impl")
            run(":api:build")
    
            then:
            fixture.assertProjectsConfigured(":", ":api")
    
            when:
            run(":impl:build")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 12:57:53 UTC 2024
    - 18.7K bytes
    - Viewed (0)
Back to top