Suppress stdouts from nested suites.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1303570 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dawid Weiss 2012-03-21 21:00:05 +00:00
parent f3ffdf3a68
commit 9bff9fd790
2 changed files with 6 additions and 2 deletions

View File

@ -33,7 +33,7 @@ import org.junit.runner.notification.Failure;
public class TestExceptionInBeforeClassHooks extends WithNestedTests {
public TestExceptionInBeforeClassHooks() {
super(false);
super(true);
}
public static class Nested1 extends WithNestedTests.AbstractNestedTest {

View File

@ -25,10 +25,14 @@ import org.junit.runner.JUnitCore;
import org.junit.runner.Result;
import org.junit.runner.notification.Failure;
public class TestSystemPropertiesInvariantRule {
public class TestSystemPropertiesInvariantRule extends WithNestedTests {
public static final String PROP_KEY1 = "new-property-1";
public static final String VALUE1 = "new-value-1";
public TestSystemPropertiesInvariantRule() {
super(true);
}
public static class Base extends LuceneTestCase {
public void testEmpty() {}
}