Browse Source

Add TimedSpringRunnerTests to performance test group

Issue: SPR-9984
pull/216/merge
Chris Beams 12 years ago
parent
commit
fc6377cc53
  1. 3
      spring-test/src/test/java/org/springframework/test/context/junit4/TimedSpringRunnerTests.java

3
spring-test/src/test/java/org/springframework/test/context/junit4/TimedSpringRunnerTests.java

@ -25,6 +25,8 @@ import org.junit.runner.notification.RunNotifier; @@ -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 { @@ -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();

Loading…
Cancel
Save