junit/junit-removed-test.patch

50 lines
1.5 KiB
Diff
Raw Normal View History

2012-01-24 09:24:57 +00:00
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 {