Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for reportsActionExecutionFailure (0.61 sec)

  1. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/MainTest.groovy

        }
    
        def createsAndExecutesCommandLineAction() {
            given:
            action {}
    
            when:
            main.run()
    
            then:
            completedSuccessfully
        }
    
        def reportsActionExecutionFailure() {
            given:
            def thrownFailure = new RuntimeException('broken')
            action { throw thrownFailure }
    
            when:
            main.run()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top