- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for writeAllOutput (0.32 sec)
-
platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/AggregateTestResultsProviderTest.groovy
provider.writeAllOutput(1, TestOutputEvent.Destination.StdOut, writer) provider.writeTestOutput(1, 11, TestOutputEvent.Destination.StdOut, writer) provider.writeNonTestOutput(1, TestOutputEvent.Destination.StdOut, writer) then: 1 * provider1.hasOutput(12, TestOutputEvent.Destination.StdOut) 1 * provider1.writeAllOutput(12, TestOutputEvent.Destination.StdOut, writer)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 7.1K bytes - Viewed (0) -
platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/JUnitXmlResultWriterSpec.groovy
result.add(new TestMethodResult(4, "some skipped test", SKIPPED, 10, startTime + 45)) provider.writeAllOutput(1, StdOut, _) >> { args -> args[2].write("1st output message\n2nd output message\n") } provider.writeAllOutput(1, StdErr, _) >> { args -> args[2].write("err") } when: def xml = getXml(result, options) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 18:51:05 UTC 2024 - 15.2K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/BinaryResultBackedTestResultsProvider.java
return false; } @Override public void writeAllOutput(final long classId, final TestOutputEvent.Destination destination, final Writer writer) { withReader(new Action<TestOutputStore.Reader>() { @Override public void execute(TestOutputStore.Reader reader) { reader.writeAllOutput(classId, destination, writer); } }); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 3.1K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/AggregateTestResultsProvider.java
} } return false; } @Override public void writeAllOutput(long classId, TestOutputEvent.Destination destination, Writer writer) { for (DelegateProvider delegateProvider : classOutputProviders.get(classId)) { delegateProvider.provider.writeAllOutput(delegateProvider.id, destination, writer); } } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 6.2K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/InMemoryTestResultsProvider.java
}); return hasOutput[0]; } @Override public void writeAllOutput(final long classId, final TestOutputEvent.Destination destination, final Writer writer) { withReader(new Action<TestOutputStore.Reader>() { @Override public void execute(TestOutputStore.Reader reader) { reader.writeAllOutput(classId, destination, writer); } }); } @Override
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/main/java/org/gradle/api/internal/tasks/testing/report/ClassPageRenderer.java
htmlWriter.startElement("span").attribute("class", "code") .startElement("pre") .characters(""); resultsProvider.writeAllOutput(classId, TestOutputEvent.Destination.StdOut, htmlWriter); htmlWriter.endElement() .endElement(); } }); }
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/TestResultsProvider.java
* Writes the output of the given test to the given writer. This method must be called only after {@link #visitClasses(org.gradle.api.Action)}. * * Writes all output for the test class. */ void writeAllOutput(long classId, TestOutputEvent.Destination destination, Writer writer); void writeNonTestOutput(long classId, TestOutputEvent.Destination destination, Writer writer); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2K bytes - Viewed (0) -
platforms/software/testing-base/src/testFixtures/groovy/org/gradle/api/internal/tasks/testing/BuildableTestResultsProvider.groovy
BuildableTestClassResult testSuite = new BuildableTestClassResult(idCounter++, className, timestamp) testSuite.with(configClosure) testClasses[testSuite.id] = testSuite } void writeAllOutput(long classId, TestOutputEvent.Destination destination, Writer writer) { doWrite(classId, 0, true, destination, writer) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 6.3K bytes - Viewed (0) -
platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/TestOutputStoreSpec.groovy
thrown(IllegalStateException) } String collectAllOutput(TestOutputStore.Reader reader, long classId, TestOutputEvent.Destination destination) { def writer = new StringWriter() reader.writeAllOutput(classId, destination, writer) return writer.toString() } String collectOutput(TestOutputStore.Reader reader, long classId, long testId, TestOutputEvent.Destination destination) {
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/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/TestOutputStore.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:51 UTC 2024 - 14.3K bytes - Viewed (0)