- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for setStandardOutput (0.19 sec)
-
platforms/ide/ide-plugins/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r54/RunEclipseSynchronizationTasksCrossVersionSpec.groovy
connection.action().projectsLoaded(new TellGradleToRunSyncTasks(), projectsLoadedHandler) .buildFinished(new LoadEclipseModel(), buildFinishedHandler) .build() .setStandardOutput(out) .forTasks() .run() } then: taskExecuted(out, ":foo") } def "can use task reference in sync task list"() { setup:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 6.2K bytes - Viewed (0) -
platforms/ide/ide-plugins/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r54/RunEclipseAutoBuildTasksCrossVersionSpec.groovy
when: withConnection { connection -> connection.action().projectsLoaded(new TellGradleToRunAutoBuildTasks(), projectsLoadedHandler) .build() .setStandardOutput(out) .forTasks() .run() } then: taskExecuted(out, ":foo") } def "can use task reference in sync task list"() { setup:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 5.2K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r35/BuildEnvironmentCrossVersionSpec.groovy
when: ByteArrayOutputStream out = new ByteArrayOutputStream() withConnection { ProjectConnection connection -> connection.newBuild().setEnvironmentVariables(["var": "val"]).setStandardOutput(out).forTasks('printEnv').run() } then: out.toString().contains("<${["var": "val"]}>") } @TargetGradleVersion(">=4.11")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 3.1K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r35/RunTasksBeforeRunActionCrossVersion.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 7.3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ToolingApiBackedGradleExecuter.groovy
usingToolingConnection(workingDir) { connection -> connection.newBuild() .withArguments(args) .addJvmArguments(jvmArgs) .setStandardOutput(new TeeOutputStream(output, System.out)) .setStandardError(new TeeOutputStream(error, System.err)) .run() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 3.7K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r56/CompositeProjectSubstitutionCrossVersionSpec.groovy
.buildFinished(new ParameterizedLoadCompositeEclipseModels(workspace, EclipseProject), buildFinishedHandler) .build() .setStandardOutput(out) .forTasks() .run() } def eclipseProjects = buildFinishedHandler.result then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 5.4K bytes - Viewed (0) -
platforms/jvm/language-java/src/crossVersionTest/groovy/org/gradle/api/internal/tasks/compile/tooling/JavaCompileTaskOperationResultCrossVersionTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 5.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r82/CustomToolingModelCrossVersionSpec.groovy
} private fetchCustomModelsWithRestrictedMemoryAction(ProjectConnection connection) { connection.action(new FetchProjectsCustomModelsAction()) .setStandardError(stderr) .setStandardOutput(stdout) .setJvmArguments(["-Xmx256m"] + kotlinDslJvmArguments()) .run() } private static List<String> kotlinDslJvmArguments() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 3.7K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r60/ToolingApiPropertiesLoaderCrossVersionSpec.groovy
project_property_available=true '''.stripIndent() TestOutputStream stdout = new TestOutputStream() when: withConnection { connection -> connection.newBuild().setStandardOutput(stdout).forTasks('hello').run() } String output = stdout.toString() then: output.contains('system_property_available in buildSrc: true')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/SystemPropertyPropagationCrossVersionTest.groovy
withConnection { def launcher = newBuild().forTasks('printSystemProperty') launcherSpec.delegate = launcher launcherSpec() launcher.setStandardOutput(out) launcher.run() } } private boolean hasNoSystemProperty(String key, String value = null) { !out.toString().contains("$key=${value ?: ""}") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 06:17:20 UTC 2024 - 5K bytes - Viewed (0)