Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for configureWasCancelled (0.36 sec)

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

                sync.waitForAllPendingCalls(resultHandler)
                cancel.cancel()
                sync.releaseAll()
                resultHandler.finished()
            }
    
            then:
            configureWasCancelled(resultHandler, "Could not fetch model of type 'GradleProject' using")
    
            where:
            configureOnDemand << [true, false]
        }
    
        def "can cancel build action execution during settings phase"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r48/CancellationCrossVersionSpec.groovy

                sync.waitForAllPendingCalls(resultHandler)
                cancel.cancel()
                sync.releaseAll()
                resultHandler.finished()
            }
    
            then:
            configureWasCancelled(resultHandler, "Could not run phased build action using")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/CancellationSpec.groovy

            assertHasBuildFailedLogging()
        }
    
        private void targetIsGradle51OrLater() {
            targetVersion >= GradleVersion.version('5.1')
        }
    
        void configureWasCancelled(TestResultHandler resultHandler, String failureMessage) {
            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