Package: junit4 / 4.11-3

java7-ignore-test.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Description: This test case makes assumptions about the order
 of execution of tests in the Fruit.class test which are not
 guaranteed under Java 7.
 .
 This is being worked on upstream for a future release on JUnit.
Author: James Page <james.page@ubuntu.com>
Forwarded: not-needed

--- a/src/test/java/org/junit/tests/running/classes/ParentRunnerTest.java
+++ b/src/test/java/org/junit/tests/running/classes/ParentRunnerTest.java
@@ -10,6 +10,7 @@
 import org.hamcrest.Matcher;
 import org.hamcrest.TypeSafeMatcher;
 import org.junit.Test;
+import org.junit.Ignore;
 import org.junit.runner.Description;
 import org.junit.runner.JUnitCore;
 import org.junit.runner.Request;
@@ -39,6 +40,7 @@
     }
 
     @Test
+    @Ignore
     public void useChildHarvester() throws InitializationError {
         log = "";
         ParentRunner<?> runner = new BlockJUnit4ClassRunner(FruitTest.class);