- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for afterSuite (0.12 sec)
-
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/TestCountLoggerTest.groovy
TestDescriptor suite = suite() logger.beforeSuite(rootSuite) when: logger.beforeSuite(suite) logger.afterSuite(suite, result()) then: 0 * progressLogger._ when: logger.afterSuite(rootSuite, result()) then: 1 * progressLogger.completed() }
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/documentation/docs/src/snippets/testing/testng-java-passing/groovy/src/test/java/org/gradle/SuiteCleanup.java
package org.gradle; import org.testng.annotations.AfterSuite; public class SuiteCleanup { @AfterSuite public void cleanupSuite() { }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 149 bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/JUnit4FilteringIntegrationTest.groovy
def 'filter as many classes as possible before sending to worker process'() { given: // We can know which class is sent to TestClassProcessor via afterSuite() hook method // because JUnitTestClassProcessor will emit a test suite event for each loaded class. // However, JUnitPlatformTestClassProcessor won't emit such event unless the class is executed.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 3.3K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/results/TestListenerAdapter.java
} } @Override public void completed(TestDescriptorInternal test, TestResult result, TestCompleteEvent completeEvent) { if (test.isComposite()) { testListener.afterSuite(test, result); } else { testListener.afterTest(test, result); } } @Override public void output(TestDescriptorInternal test, TestOutputEvent event) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/TestReportDataCollectorSpec.groovy
collector.beforeSuite(root) collector.beforeSuite(testWorker) collector.afterSuite(testWorker, new DefaultTestResult(FAILURE, 50, 450, 2, 1, 1, [org.gradle.api.tasks.testing.TestFailure.fromTestFrameworkFailure(new RuntimeException("Boo!"))])) collector.afterSuite(root, new DefaultTestResult(FAILURE, 0, 500, 2, 1, 1, [])) then: results.size() == 1
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 10.3K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4TestListenerIntegrationTest.groovy
} class TestListenerImpl implements TestListener { void beforeSuite(TestDescriptor suite) { println "START [\$suite] [\$suite.name]" } void afterSuite(TestDescriptor suite, TestResult result) { println "FINISH [\$suite] [\$suite.name]" } void beforeTest(TestDescriptor test) { println "START [\$test] [\$test.name]" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 5.4K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.testing.AbstractTestTask.xml
</tr> <tr> <td>removeTestOutputListener</td> </tr> <tr> <td>beforeSuite</td> </tr> <tr> <td>afterSuite</td> </tr> <tr> <td>beforeTest</td> </tr> <tr> <td>afterTest</td> </tr> <tr>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.3K bytes - Viewed (0) -
build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/DaemonTracker.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jan 08 12:45:57 UTC 2024 - 3.4K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestEventsIntegrationTest.groovy
""" buildFile """ def testListener = new TestListener() { void beforeSuite(TestDescriptor suite) {} void afterSuite(TestDescriptor suite, TestResult result) {} void beforeTest(TestDescriptor testDescriptor) {} void afterTest(TestDescriptor testDescriptor, TestResult result) {} }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2.3K bytes - Viewed (0)