Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for standardOut (0.15 sec)

  1. platforms/jvm/testing-jvm/src/integTest/resources/org/gradle/testing/cucumberjvm/CucumberJVMReportIntegrationTest/testReportingSupportsCucumberStepsWithSlashes/build.gradle

        testImplementation "io.cucumber:cucumber-junit:6.8.1"
    }
    
    test {
        testLogging.showStandardStreams = true
        testLogging.events 'started', 'passed', 'skipped', 'failed', 'standardOut', 'standardError'
        reports.junitXml.required = true
        reports.html.required = true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitConsoleLoggingIntegrationTest.groovy

                        quiet {
                            events "standardOut", "standardError"
                        }
                    }
                }
            """
    
            when:
            executer.withStackTraceChecksDisabled()
            args("-q")
            fails("test")
    
            then:
            outputContains("""
                ${maybeParentheses('printTest')} STANDARD_OUT
                    line 1
                    line 2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:58:24 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGConsoleLoggingIntegrationTest.groovy

                                    testTask.configure {
                                        testLogging {
                                            quiet {
                                                events "standardOut", "standardError"
                                            }
                                        }
                                    }
                                }
                            }
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.6K bytes
    - Viewed (1)
  4. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/internal/GUtilTest.groovy

            TestEnum.ENUM3 == toEnum(TestEnum, "enum3")
            TestEnum.ENUM_4_1 == toEnum(TestEnum, "enum_4_1")
            TestEnum.STANDARD_OUT == toEnum(TestEnum, "Standard_Out")
            TestEnum.STANDARD_OUT == toEnum(TestEnum, "standardOut")
        }
    
        def "converts enum constants to themselves"() {
            expect:
            TestEnum.ENUM1 == toEnum(TestEnum, TestEnum.ENUM1)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/jvm/AbstractConsoleJvmTestLoggingFunctionalTest.groovy

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

            when:
            logger.logEvent(methodDescriptor, TestLogEvent.STANDARD_OUT, "event 1")
            logger.logEvent(methodDescriptor, TestLogEvent.STANDARD_OUT, "event 2")
    
            then:
            textOutputFactory.toString() == "{TestEventLogger}{INFO}${sep}OuterSuiteClass > InnerSuiteClass\
     > TestClass > a test STANDARD_OUT${sep}event 1{TestEventLogger}{INFO}event 2"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  7. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/logging/DefaultTestLogging.java

            return events.contains(TestLogEvent.STANDARD_OUT) && events.contains(TestLogEvent.STANDARD_ERROR);
        }
    
        @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));
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 10:04:16 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/logging/TestEventLogger.java

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

        SKIPPED,
    
        /**
         * A test has failed. This event gets fired both for atomic and composite tests.
         */
        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)
  10. 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)
Back to top