- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for testLogging (0.2 sec)
-
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) -
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) -
platforms/software/testing-base/src/main/java/org/gradle/api/tasks/testing/AbstractTestTask.java
} private TestExceptionFormatter getExceptionFormatter(TestLogging testLogging) { switch (testLogging.getExceptionFormat()) { case SHORT: return new ShortExceptionFormatter(testLogging); case FULL: return new FullExceptionFormatter(testLogging); default: throw new AssertionError(); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 18:49:01 UTC 2024 - 27.6K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/logging/DefaultTestLogging.java
import org.gradle.api.tasks.testing.logging.TestLogging; import org.gradle.api.tasks.testing.logging.TestStackTraceFilter; import java.util.EnumSet; import java.util.Set; import static org.gradle.util.internal.GUtil.toEnum; import static org.gradle.util.internal.GUtil.toEnumSet; public class DefaultTestLogging implements TestLogging { private Set<TestLogEvent> events = EnumSet.noneOf(TestLogEvent.class);
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
""" test { testLogging { events(${events.collect { "'$it'" }.join(', ')}) } } """ } private static String testLoggingStandardStream() { """ test { testLogging { showStandardStreams = true } }
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/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitConsoleLoggingIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 06:58:24 UTC 2024 - 6.9K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/enduser/GradleRunnerMiscEndUserIntegrationTest.groovy
dependencies { implementation localGroovy() } } } } test { testLogging.exceptionFormat = 'full' } """ } @NoDebug def "fails appropriately if runner is loaded from a JAR that is not part of the distribution and no explicit version set"() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 14:28:48 UTC 2024 - 6.8K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/jupiter/JUnitJupiterConsoleLoggingIntegrationTest.groovy
${testFrameworkDependencies} } test { ${configureTestFramework} { includeEngines 'does-not-exist' } testLogging { minGranularity = 1 exceptionFormat = "FULL" } } """ when: executer.withStackTraceChecksDisabled()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 06:58:24 UTC 2024 - 2K bytes - Viewed (0) -
testing/performance/src/templates/project-with-source/build.gradle
test { if (!JavaVersion.current().java8Compatible) { jvmArgs '-XX:MaxPermSize=512m' } jvmArgs '-XX:+HeapDumpOnOutOfMemoryError' <% if (binding.hasVariable("fullTestLogging")) { %> testLogging { events "started", "skipped", "failed", "passed", "standard_out", "standard_error" } <% } %> } String compilerMemory = getProperty('compilerMemory')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.1K bytes - Viewed (0) -
platforms/extensibility/unit-test-fixtures/src/integTest/groovy/org/gradle/testfixtures/ProjectBuilderEndUserIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 13 21:54:27 UTC 2024 - 3.1K bytes - Viewed (0)