Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for standard_out (0.19 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGConsoleLoggingIntegrationTest.groovy

                }
            """
    
            when:
            args "-q"
            fails "test"
    
            then:
            outputContains("""
    Gradle test > org.gradle.TestNGStandardOutputTest.printTest STANDARD_OUT
        line 1
        line 2
        line 3
            """)
        }
    
        @Issue("https://github.com/gradle/gradle/issues/25857")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  9. 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)
  10. 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')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top