- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 21 for beforeSuite (0.17 sec)
-
platforms/software/testing-base/src/main/java/org/gradle/api/tasks/testing/TestListener.java
@EventScope(Scope.Build.class) @DeprecatedInGradleScope public interface TestListener { /** * Called before a test suite is started. * @param suite The suite whose tests are about to be executed. */ void beforeSuite(TestDescriptor suite); /** * Called after a test suite is finished. * @param suite The suite whose tests have finished being executed. * @param result The aggregate result for the suite. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 2K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/logging/TestEventLogger.java
super(textOutputFactory, logLevel, testLogging.getDisplayGranularity()); this.exceptionFormatter = exceptionFormatter; this.testLogging = testLogging; } @Override public void beforeSuite(TestDescriptor descriptor) { before(descriptor); } @Override public void afterSuite(TestDescriptor descriptor, TestResult result) { after(descriptor, result); }
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/TestCountLogger.java
dest.append(count); dest.append(" "); dest.append(noun); if (count != 1) { dest.append("s"); } } @Override public void beforeSuite(TestDescriptor suite) { if (suite.getParent() == null) { progressLogger = factory.newOperation(TestCountLogger.class); progressLogger.setDescription("Run tests");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 3.6K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitTestListenerIntegrationTest.groovy
${configureTestFramework} addTestListener(listener) ignoreFailures = true } class TestListenerImpl implements TestListener { void beforeSuite(TestDescriptor suite) { println "START [\$suite] [\$suite.name]" } void afterSuite(TestDescriptor suite, TestResult result) { println "FINISH [\$suite] [\$suite.name] [\$result.resultType] [\$result.testCount]" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 5.2K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/tasks/testing/AbstractTestTask.java
* * @param closure The closure to call. */ public void beforeSuite(Closure closure) { addDispatchAsTestListener("beforeSuite", closure); } /** * <p>Adds a closure to be notified after a test suite has executed. A {@link TestDescriptor} and {@link TestResult} instance are passed to the closure as a
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/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGClassIntegrationTest.groovy
TestNGCoverage.enableTestNG(buildFile, version) buildFile << """ test { useTestNG() addTestListener(new TestListener() { void beforeSuite(TestDescriptor d) { printEventInformation('$STARTED', d) } void afterSuite(TestDescriptor d, TestResult result) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 7.2K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/TestReportDataCollector.java
this.results = results; this.outputWriter = outputWriter; } @Override public void beforeSuite(TestDescriptor suite) { } @Override public void afterSuite(TestDescriptor suite, TestResult result) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 8.3K bytes - Viewed (0) -
platforms/software/testing-base/src/testFixtures/groovy/org/gradle/testing/AbstractTestFrameworkIntegrationTest.groovy
tasks.withType(AbstractTestTask) { addTestListener(listener) ignoreFailures = true } class TestListenerImpl implements TestListener { void beforeSuite(TestDescriptor suite) { println "START Test Suite [\$suite.className] [\$suite.name]" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 12.2K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGIntegrationTest.groovy
def listener = new TestListenerImpl() test { addTestListener(listener) } class TestListenerImpl implements TestListener { void beforeSuite(TestDescriptor suite) { println "START [$suite] [$suite.name]" } void afterSuite(TestDescriptor suite, TestResult result) { println "FINISH [$suite] [$suite.name]" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Apr 06 02:21:33 UTC 2024 - 15.3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProblemReportingIntegrationTest.groovy
def "reports unsupported build listener #listenerType registration on #registrationPoint"() { given: buildFile(""" class TestAdapter implements TestListener { @Override void beforeSuite(TestDescriptor suite) {} @Override void afterSuite(TestDescriptor suite, TestResult result) {} @Override void beforeTest(TestDescriptor testDescriptor) {}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 56.7K bytes - Viewed (0)