- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 52 for beforeGet (0.16 sec)
-
platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/TestCountLoggerTest.groovy
when: logger.beforeSuite(rootSuite) logger.beforeTest(test()) logger.afterTest(test(), result()) logger.afterSuite(rootSuite, result()) then: !logger.hadFailures() logger.totalTests == 1 when: logger.beforeSuite(rootSuite) logger.beforeTest(test()) logger.afterTest(test(), 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/jvm/plugins-jvm-test-suite/src/integTest/groovy/org/gradle/testing/testsuites/TestSuitesTestFrameworkIntegrationTest.groovy
package it; import org.testng.annotations.BeforeTest; import org.testng.annotations.Test; import static org.testng.Assert.assertEquals; public class IntegrationTest { protected int value = 0; @BeforeTest public void before() { value = 1; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 12 18:44:49 UTC 2023 - 4.5K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/tasks/testing/TestTaskSpec.groovy
when: task.executeTests() then: 1 * testListener.beforeTest(_) when: // rewire a mocked TestReporter as it gets removed by AbstractTestTask#createReporting() task.testReporter = Mock(TestReporter) task.executeTests() then: 0 * testListener.beforeTest(_) } def "removes listeners even if execution fails"() {
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/documentation/docs/src/docs/dsl/org.gradle.api.tasks.testing.AbstractTestTask.xml
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/testng/TestNGXmlResultAndHtmlReportIntegrationTest.groovy
public static void beforeClass() { System.out.println("beforeClass out"); System.err.println("beforeClass err"); } @BeforeTest public void beforeTest() { System.out.println("beforeTest out"); System.err.println("beforeTest err"); } @Test public void m1() { System.out.println("m1 out"); System.err.println("m1 err"); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 25 21:27:42 UTC 2023 - 15.1K 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) {} } def testOutputListener = new TestOutputListener() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2.3K 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]" } }
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/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;") .add("Lorg/testng/annotations/Factory;")
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/results/TestListenerAdapter.java
@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) { if (test.isComposite()) {
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/testng/TestNGMultiVersionTest.groovy
} @Override String getAfterClassAnnotation() { return "@AfterClass" } @Override String getBeforeTestAnnotation() { return "@BeforeTest" } @Override String getAfterTestAnnotation() { return "@AfterTest" } @Override String getIgnoreOrDisabledAnnotation() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 3.1K bytes - Viewed (0)