Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TestLogEvent (0.16 sec)

  1. 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)
  2. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/jvm/AbstractConsoleJvmTestLoggingFunctionalTest.groovy

            taskOutput.contains("""MyTest > testExpectation ${TestLogEvent.STANDARD_OUT.consoleMarker}
        standard output""")
            taskOutput.contains("""MyTest > testExpectation ${TestLogEvent.STANDARD_ERROR.consoleMarker}
        standard error""")
        }
    
        def "can group multiple test log events with task"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 14:21:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/TestEventLoggerTest.groovy

        def result = new SimpleTestResult()
    
        def "logs event if event type matches"() {
            testLogging.events(TestLogEvent.PASSED, TestLogEvent.SKIPPED)
    
            when:
            eventLogger.afterTest(methodDescriptor, result)
    
            then:
            textOutputFactory.toString().count("PASSED") == 1
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:45:02 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/jvm/java_testing.adoc

    | `LIFECYCLE`
    | link:{javadocPath}/org/gradle/api/tasks/testing/logging/TestLogEvent.html#FAILED[Test failures]
    | Exception format is link:{javadocPath}/org/gradle/api/tasks/testing/logging/TestExceptionFormat.html#SHORT[SHORT]
    | `INFO`
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 16:24:12 UTC 2024
    - 53.1K bytes
    - Viewed (0)
Back to top