Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for standard_error (0.32 sec)

  1. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/jvm/AbstractConsoleJvmTestLoggingFunctionalTest.groovy

                assert !taskOutput.contains("""MyTest > testExpectation ${TestLogEvent.STANDARD_ERROR.consoleMarker}
        standard error""")
            } else {
                outputDoesNotContain("""MyTest > testExpectation ${TestLogEvent.STANDARD_OUT.consoleMarker}
        standard output""")
                outputDoesNotContain("""MyTest > testExpectation ${TestLogEvent.STANDARD_ERROR.consoleMarker}
        standard error""")
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 14:21:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/logging/DefaultTestLogging.java

        }
    
        @Override
        public TestLogging setShowStandardStreams(boolean flag) {
            if (flag) {
                events.addAll(EnumSet.of(TestLogEvent.STANDARD_OUT, TestLogEvent.STANDARD_ERROR));
            } else {
                events.removeAll(EnumSet.of(TestLogEvent.STANDARD_OUT, TestLogEvent.STANDARD_ERROR));
            }
            return this;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 10:04:16 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/logging/TestEventLogger.java

            } else if (outputEvent.getDestination() == TestOutputEvent.Destination.StdErr
                    && isLoggedEventType(TestLogEvent.STANDARD_ERROR)) {
                logEvent(descriptor, TestLogEvent.STANDARD_ERROR, TextUtil.indent(outputEvent.getMessage(), INDENT) + "\n");
            }
        }
    
        private void before(TestDescriptor descriptor) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  4. platforms/software/testing-base/src/main/java/org/gradle/api/tasks/testing/logging/TestLogEvent.java

         */
        FAILED,
    
        /**
         * A test has written a message to standard out.
         */
        STANDARD_OUT,
    
        /**
         * A test has written a message to standard error.
         */
        STANDARD_ERROR
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. platforms/enterprise/enterprise-plugin-performance/src/templates/project-with-source/build.gradle

            testLogging {
                if (Boolean.getBoolean("reducedOutput")) {
                    events "failed"
                } else {
                    events "started", "skipped", "failed", "passed", "standard_out", "standard_error"
                }
            }
        <% } %>
        maxParallelForks 2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 17 10:38:06 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/DataSeries.java

        private final Amount<Q> average;
        private final Amount<Q> median;
        private final Amount<Q> max;
        private final Amount<Q> min;
        // https://en.wikipedia.org/wiki/Standard_error
        private final Amount<Q> standardError;
    
        public DataSeries(Iterable<? extends Amount<Q>> values) {
            for (Amount<Q> value : values) {
                if (value != null) {
                    add(value);
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. testing/performance/src/templates/project-with-source/build.gradle

        }
        jvmArgs '-XX:+HeapDumpOnOutOfMemoryError'
        <% if (binding.hasVariable("fullTestLogging")) { %>
            testLogging {
                events "started", "skipped", "failed", "passed", "standard_out", "standard_error"
            }
        <% } %>
    }
    
    String compilerMemory = getProperty('compilerMemory')
    String testRunnerMemory = getProperty('testRunnerMemory')
    int testForkEvery = getProperty('testForkEvery') as Integer
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/DefaultTestLoggingTest.groovy

        def "allows standardStreams to be turned on and off"() {
            when:
            logging.setShowStandardStreams(true)
    
            then:
            logging.showStandardStreams
            logging.events == [STANDARD_OUT, STANDARD_ERROR] as Set
    
            when:
            logging.setShowStandardStreams(false)
    
            then:
            !logging.showStandardStreams
            logging.events == [] as Set
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  9. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/AbstractTestLoggerTest.groovy

            createLogger(LogLevel.DEBUG)
    
            when:
            logger.logEvent(methodDescriptor, TestLogEvent.STANDARD_ERROR, "this is a${sep}standard error${sep}event")
    
            then:
            textOutputFactory.toString() == "{TestEventLogger}{DEBUG}${sep}OuterSuiteClass > InnerSuiteClass > TestClass > a test STANDARD_ERROR${sep}this is a${sep}standard error${sep}event"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  10. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/enduser/GradleRunnerDefaultTestKitDirIntegrationTest.groovy

                    testLogging.exceptionFormat = 'full'
                    testLogging.showStandardStreams = true
                    testLogging.events "started", "skipped", "failed", "passed", "standard_out", "standard_error"
                }
            """
        }
    
    
        def "uses a test kit directory under the project build directory by default"() {
            when:
            buildFile << gradleTestKitDependency()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 4.7K bytes
    - Viewed (0)
Back to top