- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for collectOutput (0.47 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/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/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) -
platforms/core-configuration/declarative-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/declarative/dsl/tooling/builders/r89/DeclarativeDslToolingModelsCrossVersionTest.groovy
} private <T> T fetchSchemaModel(Class<T> modelType) { toolingApi.withConnection() { connection -> ModelBuilder<T> modelBuilder = connection.model(modelType) collectOutputs(modelBuilder) modelBuilder.get() } } private static boolean documentIsEquivalentTo( String expectedDocumentText,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 11:32:11 UTC 2024 - 14.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r51/ProjectConfigurationProgressEventCrossVersionSpec.groovy
withConnection { def launcher = newBuild() .forTasks(task) .addProgressListener(events, operationTypes) collectOutputs(launcher) config.execute(launcher) launcher.run() } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 18.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/TestLauncherSpec.groovy
TestLauncher testLauncher = connection.newTestLauncher() .withCancellationToken(cancellationToken) .addProgressListener(events, OperationType.TASK, OperationType.TEST) collectOutputs(testLauncher) configurationClosure.call(testLauncher) events.clear() if (resultHandler == null) { testLauncher.run() } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 08:42:44 UTC 2024 - 19.9K bytes - Viewed (0)