Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CustomRunnerWithBrokenConstructor (0.2 sec)

  1. platforms/jvm/testing-jvm-infrastructure/src/testFixtures/groovy/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassProcessorData.groovy

            runNotifier.fireTestFinished(test1)
        }
    }
    
    @RunWith(CustomRunnerWithBrokenConstructor.class)
    public class ATestClassWithUnconstructibleRunner {}
    
    public class CustomRunnerWithBrokenConstructor extends Runner {
        static def failure = TestFailure.fromTestFrameworkFailure(new RuntimeException())
    
        def CustomRunnerWithBrokenConstructor(Class<?> type) {
            throw failure.rawFailure
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 9.1K bytes
    - Viewed (0)
Back to top