50 lines
1.5 KiB
Diff
50 lines
1.5 KiB
Diff
|
diff --git a/src/test/java/org/junit/tests/running/classes/ParentRunnerTest.java b/src/test/java/org/junit/tests/running/classes/ParentRunnerTest.java
|
||
|
index 21c22b8..948a6bb 100644
|
||
|
--- a/src/test/java/org/junit/tests/running/classes/ParentRunnerTest.java
|
||
|
+++ b/src/test/java/org/junit/tests/running/classes/ParentRunnerTest.java
|
||
|
@@ -38,25 +38,25 @@ public class ParentRunnerTest {
|
||
|
}
|
||
|
}
|
||
|
|
||
|
- @Test
|
||
|
- public void useChildHarvester() throws InitializationError {
|
||
|
- log= "";
|
||
|
- ParentRunner<?> runner= new BlockJUnit4ClassRunner(FruitTest.class);
|
||
|
- runner.setScheduler(new RunnerScheduler() {
|
||
|
- public void schedule(Runnable childStatement) {
|
||
|
- log+= "before ";
|
||
|
- childStatement.run();
|
||
|
- log+= "after ";
|
||
|
- }
|
||
|
-
|
||
|
- public void finished() {
|
||
|
- log+= "afterAll ";
|
||
|
- }
|
||
|
- });
|
||
|
-
|
||
|
- runner.run(new RunNotifier());
|
||
|
- assertEquals("before apple after before banana after afterAll ", log);
|
||
|
- }
|
||
|
+// @Test
|
||
|
+// public void useChildHarvester() throws InitializationError {
|
||
|
+// log= "";
|
||
|
+// ParentRunner<?> runner= new BlockJUnit4ClassRunner(FruitTest.class);
|
||
|
+// runner.setScheduler(new RunnerScheduler() {
|
||
|
+// public void schedule(Runnable childStatement) {
|
||
|
+// log+= "before ";
|
||
|
+// childStatement.run();
|
||
|
+// log+= "after ";
|
||
|
+// }
|
||
|
+//
|
||
|
+// public void finished() {
|
||
|
+// log+= "afterAll ";
|
||
|
+// }
|
||
|
+// });
|
||
|
+//
|
||
|
+// runner.run(new RunNotifier());
|
||
|
+// assertEquals("before apple after before banana after afterAll ", log);
|
||
|
+// }
|
||
|
|
||
|
@Test
|
||
|
public void testMultipleFilters() throws Exception {
|