Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 26 of 26 for beforeClass (0.22 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/JUnit4CommonTestSources.groovy

                    """.stripIndent()
                } else {
                    return ""
                }
            }
    
            @Override
            String getBeforeClassAnnotation() {
                return "@BeforeClass"
            }
    
            @Override
            String getAfterClassAnnotation() {
                return "@AfterClass"
            }
    
            @Override
            String getBeforeTestAnnotation() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGMultiVersionTest.groovy

                return """
                        import org.testng.annotations.*;
                   """.stripIndent()
            }
    
            @Override
            String getBeforeClassAnnotation() {
                return "@BeforeClass"
            }
    
            @Override
            String getAfterClassAnnotation() {
                return "@AfterClass"
            }
    
            @Override
            String getBeforeTestAnnotation() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm-infrastructure/src/testFixtures/groovy/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassProcessorData.groovy

    import junit.extensions.TestSetup
    import junit.framework.TestCase
    import junit.framework.TestSuite
    import org.gradle.api.tasks.testing.TestFailure
    import org.junit.After
    import org.junit.Before
    import org.junit.BeforeClass
    import org.junit.Ignore
    import org.junit.Test
    import org.junit.runner.Description
    import org.junit.runner.RunWith
    import org.junit.runner.Runner
    import org.junit.runner.notification.Failure
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/JUnit4LoggingOutputCaptureIntegrationTest.groovy

                $includeSystemErrConf
            }""".stripIndent())
    
            file("src/test/java/OkTest.java") << """
                ${testFrameworkImports}
    
                public class OkTest {
                    @BeforeClass
                    public static void init() {
                        System.out.println("before class output");
                        System.err.println("before class error");
                    }
    
                    @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 18:51:05 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/vintage/JUnitVintageLoggingOutputCaptureIntegrationTest.groovy

                $includeSystemErrConf
            }""".stripIndent())
    
            file("src/test/java/OkTest.java") << """
                ${testFrameworkImports}
    
                public class OkTest {
                    @BeforeClass
                    public static void init() {
                        System.out.println("before class output");
                        System.err.println("before class error");
                    }
    
                    @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 18:51:39 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/junit/JUnitTestEventAdapter.java

                testInternal = executing.get(failure.getDescription());
            }
            boolean needEndEvent = false;
            if (testInternal == null) {
                // This can happen when, for example, a @BeforeClass or @AfterClass method fails
                needEndEvent = true;
                testInternal = descriptor;
                resultProcessor.started(testInternal, startEvent());
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 8.6K bytes
    - Viewed (0)
Back to top