Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for assertBuildCancelled (0.9 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/TestLauncherSpec.groovy

            events.clear()
            if (resultHandler == null) {
                testLauncher.run()
            } else {
                testLauncher.run(resultHandler)
            }
        }
    
        def assertBuildCancelled() {
            stdout.toString().contains("Build cancelled.")
            true
        }
    
        void waitingForBuild() {
            ConcurrentTestUtil.poll(30) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:42:44 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r26/TestLauncherCrossVersionSpec.groovy

                    // Change the input to tests and wait for the tests to run again
                    removeTestClass()
                    waitingForBuild()
                }
            }
    
            then:
            assertBuildCancelled()
            assertTaskExecuted(":secondTest")
            assertTaskNotExecuted(":test")
            assertTestExecuted(className: "example.MyTest", methodName: "foo", task: ":secondTest")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 22.6K bytes
    - Viewed (0)
Back to top