Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CustomRunnerWithBrokenConstructor (0.24 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)
  2. platforms/jvm/testing-jvm-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassProcessorTest.groovy

            ATestClassWithBrokenRunner            |'initializationError' |CustomRunnerWithBrokenRunMethod.failure
            ATestClassWithUnconstructibleRunner   |'initializationError' |CustomRunnerWithBrokenConstructor.failure
            ATestClassWithBrokenBeforeClassMethod |'classMethod'         |ATestClassWithBrokenBeforeClassMethod.failure
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 24.8K bytes
    - Viewed (0)
Back to top