- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 25 for afterSuite (0.15 sec)
-
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformIntegrationTest.groovy
dependencies { testImplementation 'org.junit.platform:junit-platform-engine:${LATEST_PLATFORM_VERSION}' } test { afterSuite { descriptor, result -> println("afterSuite: \$descriptor -> \$result") } } """ file('src/test/java/EngineFailingExecution.java') << ''' import org.junit.platform.engine.*;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 17.2K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGTestClassDetector.java
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;") .add("Lorg/testng/annotations/AfterGroups;")
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/internal/tasks/testing/logging/TestEventLogger.java
this.testLogging = testLogging; } @Override public void beforeSuite(TestDescriptor descriptor) { before(descriptor); } @Override public void afterSuite(TestDescriptor descriptor, TestResult result) { after(descriptor, result); } @Override public void beforeTest(TestDescriptor descriptor) { before(descriptor); }
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/tasks/testing/TestListener.java
/** * 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. */ void afterSuite(TestDescriptor suite, TestResult result); /** * Called before an atomic test is started. * @param testDescriptor The test which is about to be executed. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 2K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/tasks/testing/TestTaskSpec.groovy
when: task.executeTests() then: 1 * listener.beforeSuite(_) 1 * listener.beforeTest(_) 1 * listener.afterTest(_, _) 1 * listener.afterSuite(_, _) 0 * listener._ } def "notifies closure before suite"() { def closure = Mock(Closure) given: expectTestSuitePasses()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 10.1K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/logging/TestCountLogger.java
progressLogger.setDescription("Run tests"); progressLogger.started(); progressLogger.progress(summary()); } } @Override public void afterSuite(TestDescriptor suite, TestResult result) { if (suite.getParent() == null) { if (failedTests > 0) { logger.error(TextUtil.getPlatformLineSeparator() + summary()); }
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
} 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]" } 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.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 afterSuite(Closure closure) { addDispatchAsTestListener("afterSuite", closure); } /** * Adds a closure to be notified before a test is executed. A {@link TestDescriptor} instance is passed to the closure as a parameter. *
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-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/processors/CaptureTestOutputTestResultProcessor.java
} finally { rootId = null; } } else { //when test is completed we should redirect output for the parent //so that log events emitted during @AfterSuite, @AfterClass are processed Object newOwner = parents.remove(testId); outputRedirector.setOutputOwner(newOwner); } processor.completed(testId, event); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:59:04 UTC 2024 - 3.7K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGClassIntegrationTest.groovy
addTestListener(new TestListener() { void beforeSuite(TestDescriptor d) { printEventInformation('$STARTED', d) } void afterSuite(TestDescriptor d, TestResult result) { printEventInformation('$FINISHED', d) } void beforeTest(TestDescriptor d) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 7.2K bytes - Viewed (0)