Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for buildWasCancelled (0.82 sec)

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

                sync.waitForAllPendingCalls(resultHandler)
                cancel.cancel()
                sync.releaseAll()
                resultHandler.finished()
            }
    
            then:
            buildWasCancelled(resultHandler, 'Could not execute tests using')
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r22/CancellationCrossVersionSpec.groovy

                sync.waitForAllPendingCalls(resultHandler)
                cancel.cancel()
                sync.releaseAll()
                resultHandler.finished()
            }
    
            then:
            buildWasCancelled(resultHandler)
        }
    
        def "can cancel build during configuration phase"() {
            file("gradle.properties") << "org.gradle.configureondemand=${configureOnDemand}"
            setupCancelInConfigurationBuild()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/CancellationSpec.groovy

    }
    
    // Signal to test that callback has been registered
    ${server.callFromBuild("registered")}
    // Wait until cancel request received by build process
    latch.await()
    """
    
        }
    
        void buildWasCancelled(TestResultHandler resultHandler, String failureMessage = 'Could not execute build using') {
            resultHandler.assertFailedWith(BuildCancelledException)
            assert resultHandler.failure.message.startsWith(failureMessage)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 6.1K bytes
    - Viewed (0)
Back to top