- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for redirectStandardOutputTo (0.35 sec)
-
platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/redirector/DefaultStandardOutputRedirectorTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:59:04 UTC 2024 - 3.8K bytes - Viewed (0) -
platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/redirector/StandardOutputRedirector.java
* {@link #redirectStandardErrorTo(OutputListener)} and * {@link #redirectStandardOutputTo(OutputListener) */ void start(); /** * Restores System.out and System.err to the values they had before {@link #start()} has been called. */ void stop(); void redirectStandardOutputTo(OutputListener stdOutDestination);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:59:04 UTC 2024 - 1.3K bytes - Viewed (0) -
platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/redirector/JULRedirectorTest.groovy
System.out == outputs.stdOutPrintStream System.err == outputs.stdErrPrintStream } def "start and stop output with redirection and default logging"() { when: redirector.redirectStandardOutputTo(stdOutListener) redirector.redirectStandardErrorTo(stdErrListener) redirector.start() [Level.SEVERE, Level.WARNING, Level.INFO, Level.CONFIG, Level.FINE, Level.FINER, Level.FINEST].each {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:59:04 UTC 2024 - 5.5K bytes - Viewed (0) -
platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/redirector/TestOutputRedirectorTest.groovy
redirector.setOutputOwner("1") redirector.startRedirecting() then: 1 * redir.redirectStandardErrorTo({ it.dest == TestOutputEvent.Destination.StdErr }) 1 * redir.redirectStandardOutputTo({ it.dest == TestOutputEvent.Destination.StdOut }) then: 1 * redir.start() 0 * _ } def "disallows starting redirecting if test owner not provided"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:59:04 UTC 2024 - 2.5K bytes - Viewed (0) -
platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/redirector/DefaultStandardOutputRedirector.java
private final PrintStream redirectedStdErr = new LinePerThreadBufferingOutputStream(stdErr); @Override public void redirectStandardOutputTo(OutputListener stdOutDestination) { stdOut.setDestination(stdOutDestination); } @Override public void redirectStandardErrorTo(OutputListener stdErrDestination) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:59:04 UTC 2024 - 3K bytes - Viewed (0) -
platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/redirector/TestOutputRedirector.java
} public void startRedirecting() { assert outForwarder.outputOwner != null; assert errForwarder.outputOwner != null; redirector.redirectStandardOutputTo(outForwarder); redirector.redirectStandardErrorTo(errForwarder); redirector.start(); } public void stopRedirecting() { redirector.stop(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:59:04 UTC 2024 - 2.7K bytes - Viewed (0)