Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for testLogging (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/DefaultTestLoggingContainerTest.groovy

            def logging = container.get(level)
            def configMethod = level.toString().toLowerCase()
    
            when:
            container."$configMethod"(new Action<TestLogging>() {
                void execute(TestLogging l) {
                    l.showExceptions = false
                }
            })
    
            then:
            !logging.showExceptions
    
            where:
            level << LogLevel.values()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/integTest/resources/org/gradle/testing/cucumberjvm/CucumberJVMReportIntegrationTest/testReportingSupportsCucumberStepsWithSlashes/build.gradle

    repositories {
        mavenCentral()
    }
    
    dependencies {
        testImplementation "io.cucumber:cucumber-java:6.8.1"
        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)
Back to top