- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for TestLogEvent (0.17 sec)
-
platforms/software/testing-base/src/main/java/org/gradle/api/tasks/testing/logging/TestLogEvent.java
* limitations under the License. */ package org.gradle.api.tasks.testing.logging; /** * Test events that can be logged. */ public enum TestLogEvent { /** * A test has started. This event gets fired both for atomic and composite tests. */ STARTED, /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/logging/DefaultTestLoggingContainer.java
} setEvents(EnumSet.of(TestLogEvent.FAILED)); setExceptionFormat(TestExceptionFormat.SHORT); getInfo().setEvents(EnumSet.of(TestLogEvent.FAILED, TestLogEvent.SKIPPED, TestLogEvent.STANDARD_OUT, TestLogEvent.STANDARD_ERROR)); getInfo().setStackTraceFilters(EnumSet.of(TestStackTraceFilter.TRUNCATE)); getDebug().setEvents(EnumSet.allOf(TestLogEvent.class)); getDebug().setMinGranularity(0);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 7.6K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/logging/TestEventLogger.java
&& isLoggedEventType(TestLogEvent.STANDARD_OUT)) { logEvent(descriptor, TestLogEvent.STANDARD_OUT, TextUtil.indent(outputEvent.getMessage(), INDENT) + "\n"); } else if (outputEvent.getDestination() == TestOutputEvent.Destination.StdErr && isLoggedEventType(TestLogEvent.STANDARD_ERROR)) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 4.6K bytes - Viewed (0) -
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) -
platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/jvm/AbstractConsoleJvmTestLoggingFunctionalTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 14:21:18 UTC 2024 - 8.5K bytes - Viewed (0) -
platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/AbstractTestLoggerTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 7.3K bytes - Viewed (0) -
platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/TestEventLoggerTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 08 14:45:02 UTC 2024 - 4K bytes - Viewed (0) -
platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/DefaultTestLoggingContainerTest.groovy
} def "sets defaults for level INFO"() { def logging = container.get(LogLevel.INFO) expect: logging.events == [TestLogEvent.FAILED, TestLogEvent.SKIPPED, TestLogEvent.STANDARD_OUT, TestLogEvent.STANDARD_ERROR] as Set logging.minGranularity == -1 logging.maxGranularity == -1 logging.exceptionFormat == TestExceptionFormat.FULL logging.showExceptions
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 4.3K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/logging/AbstractTestLogger.java
private TestLogEvent lastSeenTestEvent; protected AbstractTestLogger(StyledTextOutputFactory textOutputFactory, LogLevel logLevel, int displayGranularity) { this.textOutputFactory = textOutputFactory; this.logLevel = logLevel; this.displayGranularity = displayGranularity; } protected void logEvent(TestDescriptor descriptor, TestLogEvent event) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 4.8K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/tasks/testing/logging/TestLogging.java
* set. */ boolean getShowStandardStreams(); /** * Sets whether output on standard out and standard error will be logged. Equivalent to setting log events {@code TestLogEvent.STANDARD_OUT} and {@code TestLogEvent.STANDARD_ERROR}. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 11.3K bytes - Viewed (0)