- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for collectOutput (1.58 sec)
-
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r73/DeferredConfigurationCrossVersionSpec.groovy
def "does not configure build when action does not query any models"() { setupBuild() when: def model = withConnection { def executer = action(new NoOpAction()) collectOutputs(executer) executer.run() } then: model == "result" and: assertHasConfigureSuccessfulLogging() result.assertNotOutput(prefix) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 5.1K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r50/ProjectStateLockingCrossVersionTest.groovy
""" } when: withConnection { def executer = action(new FetchIdeaProject()) executer.withArguments("--warning-mode", "all") collectOutputs(executer) executer.run() } then: !stdout.toString().contains("was resolved without accessing the project in a safe manner") and:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 2.2K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/CompositeBuildBuildActionExecuterCrossVersionSpec.groovy
} """ when: toolingApi.withConnection { ProjectConnection connection -> def buildAction = connection.action(new LoadCompositeModel(GradleProject)) collectOutputs(buildAction) buildAction.forTasks([':other-build:sub:doSomething']) buildAction.run() } then: stdout.toString().contains("do something") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 1.8K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r48/CancellationCrossVersionSpec.groovy
def build = action.build() build.withCancellationToken(cancel.token()) collectOutputs(build) build.run(resultHandler) sync.waitForAllPendingCalls(resultHandler) cancel.cancel() sync.releaseAll() resultHandler.finished() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 2K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/CompositeBuildModelBuilderCrossVersionSpec.groovy
} """ when: toolingApi.withConnection { ProjectConnection connection -> ModelBuilder<GradleProject> modelBuilder = connection.model(GradleProject.class) collectOutputs(modelBuilder) modelBuilder.forTasks([':other-build:sub:doSomething']) modelBuilder.get() } then: stdout.toString().contains("do something") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 1.9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/EclipseModelCompositeBuildIncludeCycleCrossVersionSpec.groovy
when: List<String> result = withConnection { connection -> def builder = connection.action(new AccessIncludedBuildProjectBuildAction()) collectOutputs(builder) builder.run() } then: result == ['module-a', 'module-c'] }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 1.8K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r55/ReservedProjectNamesCrossVersionSpec.groovy
]) when: def eclipseModels = withConnection { con -> def builder = con.action(new SupplyRuntimeAndLoadCompositeEclipseModels(workspace)) collectOutputs(builder) builder.run() } then: eclipseModels.collect { collectProjects(it) }.flatten().collect { it.name
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 6.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/ParallelActionExecutionCrossVersionSpec.groovy
expect: server.expectConcurrent(1, 'root', 'a', 'b') def models = withConnection { def action = action(new ActionRunsNestedActions()) collectOutputs(action) action.addArguments(args) action.run() } !models.mayRunInParallel models.projects.path == [':', ':a', ':b'] where: args << [
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 6.1K bytes - Viewed (0)