- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 37 for afterTest (0.13 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 test2 = test() logger.beforeSuite(rootSuite) when: logger.afterTest(test1, result()) logger.beforeTest(test2) then: 1 * progressLogger.progress('1 test completed') when: logger.afterTest(test2, result()) logger.afterSuite(rootSuite, result()) then:
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/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4TestReportIntegrationTest.groovy
clazz.assertTestCaseStderr("m2", is("constructor err\nbeforeTest err\nm2 err\nafterTest err\n")) clazz.assertTestCaseStdout("m1", is("constructor out\nbeforeTest out\nm1 out\nafterTest out\n")) clazz.assertTestCaseStdout("m2", is("constructor out\nbeforeTest out\nm2 out\nafterTest out\n")) clazz.assertStderr(is("beforeClass err\nafterClass err\n"))
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/documentation/docs/src/snippets/testing/testng-java-passing/groovy/src/test/java/org/gradle/TestCleanup.java
package org.gradle; import org.testng.annotations.AfterTest; public class TestCleanup { @AfterTest public void cleanupTest() { }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 145 bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGLoggingOutputCaptureIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 18:51:39 UTC 2024 - 10.9K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/jupiter/JUnitJupiterTestReportIntegrationTest.groovy
clazz.assertTestCaseStderr("m1", is("beforeTest err\nm1 err\nafterTest err\n")) clazz.assertTestCaseStderr("m2", is("beforeTest err\nm2 err\nafterTest err\n")) clazz.assertTestCaseStdout("m1", is("beforeTest out\nm1 out\nafterTest out\n")) clazz.assertTestCaseStdout("m2", is("beforeTest out\nm2 out\nafterTest out\n"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 5.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.beforeTest(test1) collector.beforeTest(test2) collector.afterTest(test1, result1) collector.afterTest(test2, result2) 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) -
src/net/http/main_test.go
} return true } // setParallel marks t as a parallel test if we're in short mode // (all.bash), but as a serial test otherwise. Using t.Parallel isn't // compatible with the afterTest func in non-short mode. func setParallel(t *testing.T) { if strings.Contains(t.Name(), "HTTP2") { http.CondSkipHTTP2(t) } if testing.Short() { t.Parallel() } } func runningBenchmarks() bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 22:49:46 UTC 2024 - 4.9K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4TestListenerIntegrationTest.groovy
void afterSuite(TestDescriptor suite, TestResult result) { println "FINISH [\$suite] [\$suite.name]" } void beforeTest(TestDescriptor test) { println "START [\$test] [\$test.name]" } void afterTest(TestDescriptor test, TestResult result) { println "FINISH [\$test] [\$test.name] [\$result.exception]" } } """.stripIndent() when:
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/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGXmlResultAndHtmlReportIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 25 21:27:42 UTC 2023 - 15.1K bytes - Viewed (0)