Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for BlockJUnit4ClassRunner (0.51 sec)

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

                import org.junit.runner.notification.RunNotifier;
                import org.junit.runners.BlockJUnit4ClassRunner;
                import org.junit.runners.model.FrameworkMethod;
                import org.junit.runners.model.InitializationError;
                import org.junit.runners.model.Statement;
    
                public class CustomRunner extends BlockJUnit4ClassRunner {
                    public static boolean isClassUnderTestLoaded;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/junit/AllExceptIgnoredTestRunnerBuilder.java

    import org.junit.internal.builders.AllDefaultPossibilitiesBuilder;
    import org.junit.internal.builders.IgnoredBuilder;
    import org.junit.internal.builders.JUnit4Builder;
    import org.junit.runner.Runner;
    import org.junit.runners.BlockJUnit4ClassRunner;
    import org.junit.runners.model.RunnerBuilder;
    import org.slf4j.LoggerFactory;
    
    import java.lang.reflect.Constructor;
    
    public class AllExceptIgnoredTestRunnerBuilder extends AllDefaultPossibilitiesBuilder {
    
    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/src/integTest/groovy/org/gradle/testing/junit/junit4/JUnit4JUnitIntegrationTest.groovy

    @TargetCoverage({ JUNIT_4 })
    class JUnit4JUnitIntegrationTest extends AbstractJUnit4JUnitIntegrationTest implements JUnit4MultiVersionTest {
        @Override
        boolean isSupportsBlockJUnit4ClassRunner() {
            // BlockJUnit4ClassRunner was introduced in 4.5
            return VersionNumber.parse(version) >= VersionNumber.parse('4.5')
        }
    
        @Issue("https://issues.gradle.org/browse/GRADLE-2313")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/FilteringClassLoaderTest.groovy

            given:
            cannotLoadClass(Test)
            cannotLoadClass(BlockJUnit4ClassRunner)
    
            and:
            withSpec { FilteringClassLoader.Spec spec ->
                spec.allowPackage('org.junit')
            }
    
            expect:
            canLoadClass(Test)
            canLoadClass(Before)
            canLoadClass(BlockJUnit4ClassRunner)
        }
    
        void passesThroughSpecifiedClasses() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/JUnit4CategoriesOrTagsCoverageIntegrationTest.groovy

                import org.junit.runner.Description;
                import org.junit.runners.BlockJUnit4ClassRunner;
                import org.junit.runners.model.FrameworkMethod;
                import org.junit.runners.model.InitializationError;
    
                public class CustomRunner extends BlockJUnit4ClassRunner {
    
                    public CustomRunner(Class<?> klass) throws InitializationError {
                        super(klass);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4CategoriesOrTagsCoverageIntegrationTest.groovy

                        }
                    }
                """)
                sourceFile('Locales.java').withSource("""
                    import org.junit.runner.Runner;
                    import org.junit.runners.BlockJUnit4ClassRunner;
                    import org.junit.runners.Suite;
                    import org.junit.runners.model.FrameworkMethod;
                    import org.junit.runners.model.InitializationError;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 19.7K bytes
    - Viewed (0)
Back to top