Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for interactiveExecution (0.43 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/userinput/UserInputHandlingIntegrationTest.groovy

            input | stdin | accepted
            YES   | "yes" | true
            NO    | "no"  | false
        }
    
        def "can ask yes/no and handle invalid input in interactive build"() {
            given:
            interactiveExecution()
    
            when:
            def gradleHandle = executer.withTasks("askYesNo").start()
    
            then:
            poll(INTERACTIVE_WAIT_TIME_SECONDS) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top