Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for testLogging (0.19 sec)

  1. platforms/software/testing-base/src/main/java/org/gradle/api/tasks/testing/logging/TestLogging.java

     */
    
    package org.gradle.api.tasks.testing.logging;
    
    import java.util.Set;
    
    /**
     * Options that determine which test events get logged, and at which detail.
     */
    public interface TestLogging {
        /**
         * Returns the events to be logged.
         *
         * @return the events to be logged
         */
        Set<TestLogEvent> getEvents();
    
        /**
         * Sets the events to be logged.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.testing.logging.TestLogging.xml

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/logging/DefaultTestLoggingContainer.java

            return perLevelTestLogging.get(LogLevel.INFO);
        }
    
        @Override
        public void setInfo(TestLogging logging) {
            perLevelTestLogging.put(LogLevel.INFO, logging);
        }
    
        @Override
        public void info(Action<TestLogging> action) {
            action.execute(getInfo());
        }
    
        @Override
        public TestLogging getLifecycle() {
            return perLevelTestLogging.get(LogLevel.LIFECYCLE);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  4. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/logging/TestEventLogger.java

        private final TestLogging testLogging;
    
        public TestEventLogger(StyledTextOutputFactory textOutputFactory, LogLevel logLevel, TestLogging testLogging, TestExceptionFormatter exceptionFormatter) {
            super(textOutputFactory, logLevel, testLogging.getDisplayGranularity());
            this.exceptionFormatter = exceptionFormatter;
            this.testLogging = testLogging;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  5. platforms/software/testing-base/src/main/java/org/gradle/api/tasks/testing/logging/TestLoggingContainer.java

     */
    public interface TestLoggingContainer extends TestLogging {
        /**
         * Returns logging options for debug level.
         *
         * @return logging options for debug level
         */
        TestLogging getDebug();
    
        /**
         * Sets logging options for debug level.
         *
         * @param logging logging options for debug level
         */
        void setDebug(TestLogging logging);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  6. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/FullExceptionFormatterTest.groovy

    import org.gradle.api.tasks.testing.logging.TestLogging
    import org.gradle.api.tasks.testing.logging.TestStackTraceFilter
    import org.gradle.internal.serialize.PlaceholderException
    import spock.lang.Specification
    
    class FullExceptionFormatterTest extends Specification {
        def testDescriptor = new SimpleTestDescriptor()
        def testLogging = Mock(TestLogging)
        def formatter = new FullExceptionFormatter(testLogging)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/TestEventLoggerTest.groovy

            then:
            textOutputFactory.toString().count("PASSED") == 0
        }
    
        def "logs event if granularity matches"() {
            testLogging.events(TestLogEvent.PASSED)
            testLogging.minGranularity = 2
            testLogging.maxGranularity = 4
    
            when:
            eventLogger.afterSuite(outerSuiteDescriptor, result)
            eventLogger.afterSuite(innerSuiteDescriptor, result)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:45:02 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/logging/ShortExceptionFormatter.java

    import org.gradle.api.tasks.testing.logging.TestLogging;
    import org.gradle.internal.serialize.PlaceholderExceptionSupport;
    
    import java.util.List;
    
    public class ShortExceptionFormatter implements TestExceptionFormatter {
        private static final String INDENT = "    ";
    
        private final TestLogging testLogging;
    
        public ShortExceptionFormatter(TestLogging testLogging) {
            this.testLogging = testLogging;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/logging/FullExceptionFormatter.java

        private static final String INDENT = "    ";
    
        private final TestLogging testLogging;
    
        public FullExceptionFormatter(TestLogging testLogging) {
            this.testLogging = testLogging;
        }
    
        @Override
        public String format(TestDescriptor descriptor, List<Throwable> exceptions) {
            StringBuilder builder = new StringBuilder();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  10. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/ShortExceptionFormatterTest.groovy

    import org.gradle.api.tasks.testing.logging.TestLogging
    import org.gradle.internal.serialize.PlaceholderAssertionError
    import org.gradle.internal.serialize.PlaceholderException
    import spock.lang.Specification
    
    class ShortExceptionFormatterTest extends Specification {
        def testDescriptor = new SimpleTestDescriptor()
        def testLogging = Mock(TestLogging)
        def formatter = new ShortExceptionFormatter(testLogging)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top