Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for hasOutputs (0.17 sec)

  1. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/TestOutputStoreSpec.groovy

            writer.onOutput(1, 1, output(StdOut, "[out]"))
            writer.close()
            def reader = output.reader()
    
            then:
            reader.hasOutput(1, StdOut)
            !reader.hasOutput(1, StdErr)
            !reader.hasOutput(2, StdErr)
    
            cleanup:
            reader.close()
        }
    
        def "can open empty reader"() {
            // neither file
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/report/ClassPageRenderer.java

                public void doExecute(SimpleHtmlWriter writer) throws IOException {
                    renderTests(writer);
                }
            });
            final long classId = getModel().getId();
            if (resultsProvider.hasOutput(classId, TestOutputEvent.Destination.StdOut)) {
                addTab("Standard output", new ErroringAction<SimpleHtmlWriter>() {
                    @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  3. platforms/software/testing-base/src/testFixtures/groovy/org/gradle/api/internal/tasks/testing/BuildableTestResultsProvider.groovy

            }
        }
    
        boolean isHasResults() {
            !testClasses.isEmpty()
        }
    
        boolean hasOutput(long classId, TestOutputEvent.Destination destination) {
            testClasses[classId]?.outputEvents?.find { it.testOutputEvent.destination == destination }
        }
    
        @Override
        boolean hasOutput(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.3K bytes
    - Viewed (0)
Back to top