Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 33 for beforeClass (0.27 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGXmlResultAndHtmlReportIntegrationTest.groovy

        public OutputLifecycleTest() {
            System.out.println("constructor out");
            System.err.println("constructor err");
        }
    
        @BeforeClass
        public static void beforeClass() {
            System.out.println("beforeClass out");
            System.err.println("beforeClass err");
        }
    
        @BeforeTest
        public void beforeTest() {
            System.out.println("beforeTest out");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 25 21:27:42 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  2. platforms/software/testing-base/src/integTest/resources/org/gradle/testing/TestExecutionBuildOperationsIntegrationTest/emitsBuildOperationsForJUnitTests/src/test/java/org/gradle/TestSuite.java

    package org.gradle;
    
    import org.junit.runner.RunWith;
    import org.junit.runners.Suite;
    
    @RunWith(Suite.class)
    @Suite.SuiteClasses({Test.class, OtherTest.class})
    public class TestSuite {
        @org.junit.BeforeClass public static void init() {
            System.out.println("before suite class out");
            System.err.println("before suite class err");
        }
    
        @org.junit.AfterClass public static void end() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

    import org.opensearch.action.support.WriteRequest;
    import org.opensearch.client.Client;
    
    public class SuggesterTest {
        static Suggester suggester;
    
        static OpenSearchRunner runner;
    
        @BeforeClass
        public static void beforeClass() throws Exception {
            runner = new OpenSearchRunner();
            runner.onBuild((number, settingsBuilder) -> {
                settingsBuilder.put("http.cors.enabled", true);
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 37K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

     *
     * <p>This class incurs IO because it scans the classpath and reads classpath resources.
     *
     * @author Ben Yu
     * @since 14.0
     */
    // TODO: Switch to JUnit 4 and use @Parameterized and @BeforeClass
    // Note: @Test annotations are deliberate, as some subclasses specify @RunWith(JUnit4).
    @GwtIncompatible
    @J2ktIncompatible
    @J2ObjCIncompatible // com.google.common.reflect.ClassPath
    @ElementTypesAreNonnullByDefault
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
Back to top