- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 73 for setStandardOutput (0.78 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/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ExternalProcessFixture.groovy
setStandardOutput(baos) """ } private String getGroovyKotlinJavaexecSpec() { return """ mainClass.set("${TestJavaMain.class.name}") classpath("${TextUtil.escapeString(TestJavaMain.classLocation)}") args("Hello", "from", "Java") setStandardOutput(baos) """ }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 10.2K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r41/BuildListenerCrossVersionSpec.groovy
when: withConnection { ProjectConnection connection -> connection.model(GradleProject) .setStandardOutput(output) .get() } then: listenersWereCalled() } def "build listeners are called when using configure-on-demand with build actions"() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 2.9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r56/ClosedProjectSubstitutionCrossVersionSpec.groovy
.buildFinished(new LoadEclipseModel(workspace), buildFinishedHandler) .build() .setStandardOutput(out) .forTasks() .run() } then: def child2 = buildFinishedHandler.result.children.find { it.name == "child2" } child2.projectDependencies.isEmpty()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 11.6K 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) -
subprojects/core/src/main/java/org/gradle/process/internal/DefaultExecSpec.java
} @Override public InputStream getStandardInput() { return streamsSpec.getStandardInput(); } @Override public BaseExecSpec setStandardOutput(OutputStream outputStream) { streamsSpec.setStandardOutput(outputStream); return this; } @Override public OutputStream getStandardOutput() { return streamsSpec.getStandardOutput(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 06 16:16:31 UTC 2020 - 4.6K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/process/internal/DefaultExecHandleSpec.groovy
def out = new ByteArrayOutputStream() def err = new ByteArrayOutputStream() def execHandle = handle() .args(args(TestApp.class, "arg1", "arg2")) .setStandardOutput(out) .setErrorOutput(err) .build() when: def result = execHandle.start().waitForFinish() then: execHandle.state == ExecHandleState.SUCCEEDED
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 23 03:44:52 UTC 2021 - 14.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ToolingApiSpec.groovy
def args = executer.allArgs args.remove("--no-daemon") model = connection.model(type) .forTasks(tasks) .withArguments(args) .setStandardOutput(new TeeOutputStream(output, System.out)) .setStandardError(new TeeOutputStream(error, System.err)) .get() OutputScrapingExecutionResult.from(output.toString(), error.toString())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 15.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/process/internal/AbstractExecHandleBuilder.java
} @Override public InputStream getStandardInput() { return streamsSpec.getStandardInput(); } @Override public AbstractExecHandleBuilder setStandardOutput(OutputStream outputStream) { streamsSpec.setStandardOutput(outputStream); return this; } @Override public OutputStream getStandardOutput() { return streamsSpec.getStandardOutput(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 06 16:16:31 UTC 2020 - 6K bytes - Viewed (0)