Merge branch 'SPR-9984' into 3.2.x

* SPR-9984:
  Add TimedSpringRunnerTests to performance test group
This commit is contained in:
Chris Beams 2013-01-21 12:45:03 +01:00
commit c97f26d516
1 changed files with 3 additions and 0 deletions

View File

@ -25,6 +25,8 @@ import org.junit.runner.notification.RunNotifier;
import org.junit.runners.JUnit4;
import org.springframework.test.annotation.Timed;
import org.springframework.test.context.TestExecutionListeners;
import org.springframework.tests.Assume;
import org.springframework.tests.TestGroup;
/**
* Verifies proper handling of the following in conjunction with the
@ -42,6 +44,7 @@ public class TimedSpringRunnerTests {
@Test
public void timedTests() throws Exception {
Assume.group(TestGroup.PERFORMANCE);
Class<TimedSpringRunnerTestCase> testClass = TimedSpringRunnerTestCase.class;
TrackingRunListener listener = new TrackingRunListener();
RunNotifier notifier = new RunNotifier();