return getTestClass().getAnnotatedMethods(PerformanceTest.class);
}
@Override
protected Statement methodInvoker(FrameworkMethod method, Object test) {
Statement methodInvoker = super.methodInvoker(method, test);
Statement invokeWarmUp = methodInvoker;
invokeWarmUp = withWarmUpIterationStartedEvents(method, test, invokeWarmUp);
invokeWarmUp = withWarmUpIterationFinishedEvents(method, test, invokeWarmUp);
invokeWarmUp = withBeforeWarmUpIterations(method, test, invokeWarmUp);
invokeWarmUp = withAfterWarmUpIterations(method, test, invokeWarmUp);
invokeWarmUp = withWarmUpIterations(method, test, invokeWarmUp);
invokeWarmUp = withWarmUpStartedEvents(method, test, invokeWarmUp);
invokeWarmUp = withWarmUpFinishedEvents(method, test, invokeWarmUp);
invokeWarmUp = withBeforeWarmUps(method, test, invokeWarmUp);
invokeWarmUp = withAfterWarmUps(method, test, invokeWarmUp);
Statement invokePerformanceTest = methodInvoker;
invokePerformanceTest = withExecutionIterationStartedEvents(method, test, invokePerformanceTest);
invokePerformanceTest = withExecutionIterationFinishedEvents(method, test, invokePerformanceTest);
invokePerformanceTest = withBeforePerformanceIterations(method, test, invokePerformanceTest);
invokePerformanceTest = withAfterPerformanceIterations(method, test, invokePerformanceTest);