Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for assertFailedWith (0.14 sec)

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

            build.run(resultHandler)
            sync.waitForAllPendingCalls(resultHandler)
            connector.disconnect()
            resultHandler.finished()
    
            then:
            resultHandler.assertFailedWith(BuildCancelledException)
        }
    
        def "disconnect before build starts"() {
            when:
            def connector = toolingApi.connector()
            connector.connect()
            connector.disconnect()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiRemoteIntegrationTest.groovy

                downloadHandle.waitUntilBlocked()
                tokenSource.cancel()
                handler.finished()
                downloadHandle.release()
            }
    
            then:
            handler.assertFailedWith(BuildCancelledException)
            handler.failure.message.contains('Distribution download cancelled.')
    
            and:
            events.buildOperations.size() == 1
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 10.9K bytes
    - Viewed (0)
Back to top