Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ResultHandler (0.36 sec)

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

            build.forTasks('hang').withCancellationToken(cancellation.token()).run(resultHandler)
            sync.waitForAllPendingCalls(resultHandler)
            cancellation.cancel()
            Thread.sleep(200) // The daemon seems to drop messages arriving the same time
            connector.disconnect()
            resultHandler.finished()
    
            then:
            resultHandler.assertFailedWith(BuildCancelledException)
        }
    
    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/crossVersionTest/groovy/org/gradle/integtests/tooling/TestLauncherSpec.groovy

        }
    
        void launchTests(ResultHandler<Void> resultHandler, Closure configurationClosure) {
            withConnection { ProjectConnection connection ->
                launchTests(connection, resultHandler, cancellationTokenSource.token(), configurationClosure)
            }
        }
    
        void launchTests(ProjectConnection connection, ResultHandler<Void> resultHandler, CancellationToken cancellationToken, Closure configurationClosure) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:42:44 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top