- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for collectOutput (0.17 sec)
-
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r73/DependencyArtifactDownloadProgressEventCrossVersionTest.groovy
modules.useLargeJars() when: def events = ProgressEvents.create() withConnection { ProjectConnection connection -> def build = connection.newBuild() collectOutputs(build) build.addProgressListener(events, OperationType.FILE_DOWNLOAD) .run() } then: events.operations.size() == 8 events.trees == events.operations
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 11.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r48/PhasedBuildActionCrossVersionSpec.groovy
.projectsLoaded(new FailAction(), projectsLoadedHandler) .buildFinished(new ActionShouldNotBeCalled(), buildFinishedHandler) .build() collectOutputs(action) action.run() } then: BuildActionFailureException e = thrown() e.message == "The supplied phased action failed with an exception."
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 17.2K bytes - Viewed (0) -
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/r68/CompositeBuildTaskExecutionCrossVersionSpec.groovy
when: withConnection { connection -> TestLauncher launcher = connection.newTestLauncher().withTests(descriptor) collectOutputs(launcher) launcher.run() } then: outputContains("BUILD SUCCESSFUL") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 15.5K 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/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApi.groovy
builder.tap(configurator) collectOutputs(builder) builder.get() } } def <T> T loadValidatedToolingModel(Class<T> modelClass, @DelegatesTo(ModelBuilder<T>) Closure configurator = {}) { def result = loadToolingLeanModel(modelClass, configurator) validateOutput() result } void collectOutputs(LongRunningOperation op) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 10:07:23 UTC 2024 - 12K bytes - Viewed (0)