- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for beforeSuite (0.11 sec)
-
platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/TestCountLoggerTest.groovy
1 * progressLogger.completed() } def ignoresSuitesOtherThanTheRootSuite() { TestDescriptor suite = suite() logger.beforeSuite(rootSuite) when: logger.beforeSuite(suite) logger.afterSuite(suite, result()) then: 0 * progressLogger._ when: logger.afterSuite(rootSuite, result())
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/SuiteSetup.java
package org.gradle; import org.testng.annotations.BeforeSuite; public class SuiteSetup { @BeforeSuite public void setupSuite() { }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 147 bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/results/TestListenerAdapter.java
this.testOutputListener = testOutputListener; } @Override public void started(TestDescriptorInternal test, TestStartEvent startEvent) { if (test.isComposite()) { testListener.beforeSuite(test); } else { testListener.beforeTest(test); } } @Override public void completed(TestDescriptorInternal test, TestResult result, TestCompleteEvent completeEvent) {
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/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4TestListenerIntegrationTest.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]" }
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> <td>addTestOutputListener</td> </tr> <tr> <td>removeTestOutputListener</td> </tr> <tr> <td>beforeSuite</td> </tr> <tr> <td>afterSuite</td> </tr> <tr> <td>beforeTest</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) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestEventsIntegrationTest.groovy
settingsFile """ enableFeaturePreview 'STABLE_CONFIGURATION_CACHE' """ buildFile """ def testListener = new TestListener() { void beforeSuite(TestDescriptor suite) {} void afterSuite(TestDescriptor suite, TestResult result) {} void beforeTest(TestDescriptor testDescriptor) {}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2.3K bytes - Viewed (0) -
build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/DaemonTracker.kt
object : TestListener { override fun beforeTest(test: TestDescriptor) = Unit override fun afterTest(test: TestDescriptor, result: TestResult) = Unit override fun beforeSuite(suite: TestDescriptor) { if (suite.parent == null) { forEachJavaProcess { pid, _ -> // processes that exist before the test suite execution should
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/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGTestClassDetector.java
private static final Set<String> TEST_METHOD_ANNOTATIONS = ImmutableSet.<String>builder() .add("Lorg/testng/annotations/Test;") .add("Lorg/testng/annotations/BeforeSuite;") .add("Lorg/testng/annotations/AfterSuite;") .add("Lorg/testng/annotations/BeforeTest;") .add("Lorg/testng/annotations/AfterTest;") .add("Lorg/testng/annotations/BeforeGroups;")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2.7K bytes - Viewed (0) -
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)