- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 56 for TestOutputEvent (0.18 sec)
-
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/UserInputConsoleRendererTest.groovy
given: def testOutputEvent = new TestOutputEvent() when: renderer.onOutput(testOutputEvent) then: 0 * console._ 1 * listener.onOutput(testOutputEvent) renderer.eventQueue.empty } private static class TestOutputEvent extends OutputEvent { @Override LogLevel getLogLevel() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 30 05:02:18 UTC 2024 - 5K bytes - Viewed (0) -
platforms/software/testing-base/src/testFixtures/groovy/org/gradle/api/internal/tasks/testing/MethodTestOutputEvent.groovy
package org.gradle.api.internal.tasks.testing import org.gradle.api.tasks.testing.TestOutputEvent class MethodTestOutputEvent { String testMethodName TestOutputEvent testOutputEvent MethodTestOutputEvent(String testMethodName, TestOutputEvent testOutputEvent) { this.testMethodName = testMethodName this.testOutputEvent = testOutputEvent }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 994 bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/report/ClassPageRenderer.java
.characters(""); resultsProvider.writeAllOutput(classId, TestOutputEvent.Destination.StdOut, htmlWriter); htmlWriter.endElement() .endElement(); } }); } if (resultsProvider.hasOutput(classId, TestOutputEvent.Destination.StdErr)) { addTab("Standard error", new ErroringAction<SimpleHtmlWriter>() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 6.8K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/InMemoryTestResultsProvider.java
* limitations under the License. */ package org.gradle.api.internal.tasks.testing.junit.result; import org.gradle.api.Action; import org.gradle.api.tasks.testing.TestOutputEvent; import java.io.Writer; public class InMemoryTestResultsProvider extends TestOutputStoreBackedResultsProvider { private final Iterable<TestClassResult> results;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/TestOutputStoreSpec.groovy
import org.gradle.api.internal.tasks.testing.TestDescriptorInternal import org.gradle.api.tasks.testing.TestOutputEvent import org.gradle.test.fixtures.file.WorkspaceTest import static org.gradle.api.tasks.testing.TestOutputEvent.Destination.StdErr import static org.gradle.api.tasks.testing.TestOutputEvent.Destination.StdOut class TestOutputStoreSpec extends WorkspaceTest {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 6.1K bytes - Viewed (0) -
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/UserInputStandardOutputRendererTest.groovy
given: def testOutputEvent = new TestOutputEvent() when: renderer.onOutput(testOutputEvent) then: 1 * listener.onOutput(testOutputEvent) 0 * userInput._ renderer.eventQueue.empty } private static class TestOutputEvent extends OutputEvent { @Override LogLevel getLogLevel() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 19:25:32 UTC 2024 - 3.6K bytes - Viewed (0) -
platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/redirector/TestOutputRedirectorTest.groovy
when: 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/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/TestOutputStore.java
writeIndex(); } public void onOutput(long classId, TestOutputEvent outputEvent) { onOutput(classId, 0, outputEvent); } public void onOutput(long classId, long testId, TestOutputEvent outputEvent) { boolean stdout = outputEvent.getDestination() == TestOutputEvent.Destination.StdOut; mark(classId, testId, stdout);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:51 UTC 2024 - 14.3K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/JUnitXmlResultWriter.java
writeOutputs(writer, classId, !options.outputPerTestCase, TestOutputEvent.Destination.StdOut); writer.endElement(); } if (options.includeSystemErrLog) { writer.startElement("system-err"); writeOutputs(writer, classId, !options.outputPerTestCase, TestOutputEvent.Destination.StdErr); writer.endElement(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 18:49:57 UTC 2024 - 18.1K bytes - Viewed (0) -
platforms/software/testing-base/src/testFixtures/groovy/org/gradle/api/internal/tasks/testing/BuildableTestMethodResult.groovy
} def stderr(String output) { outputEvents << new MethodTestOutputEvent(name, new DefaultTestOutputEvent(TestOutputEvent.Destination.StdErr, output)) } def stdout(String output) { outputEvents << new MethodTestOutputEvent(name, new DefaultTestOutputEvent(TestOutputEvent.Destination.StdOut, output)) } static class TestResultException extends Exception {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2.2K bytes - Viewed (0)