protected Statement withBeforePerformanceTests()

in src/main/java/org/apache/sling/junit/performance/runner/PerformanceRunner.java [274:282]


    protected Statement withBeforePerformanceTests(FrameworkMethod method, Object test, Statement next) {
        List<FrameworkMethod> methods = getTestClass().getAnnotatedMethods(BeforePerformanceTest.class);

        if (methods.size() == 0) {
            return next;
        }

        return new RunBefores(next, methods, test);
    }