Sfoglia il codice sorgente

Merge pull request #381 from superklamer/FlattenerTest

#379 flatten-array: add @Ignore to tests
John Ryan 9 anni fa
parent
commit
d3a9ce09bd

+ 5
- 0
exercises/flatten-array/src/test/java/FlattenerTest.java Vedi File

1
 import org.junit.Before;
1
 import org.junit.Before;
2
 import org.junit.Test;
2
 import org.junit.Test;
3
+import org.junit.Ignore;
3
 
4
 
4
 import static java.util.Arrays.asList;
5
 import static java.util.Arrays.asList;
5
 import static java.util.Collections.emptyList;
6
 import static java.util.Collections.emptyList;
32
               8)));
33
               8)));
33
     }
34
     }
34
 
35
 
36
+    @Ignore
35
     @Test
37
     @Test
36
     public void testFiveLevelsOfNestingWithNoNulls() {
38
     public void testFiveLevelsOfNestingWithNoNulls() {
37
         assertEquals(
39
         assertEquals(
54
               "-2")));
56
               "-2")));
55
     }
57
     }
56
 
58
 
59
+    @Ignore
57
     @Test
60
     @Test
58
     public void testSixLevelsOfNestingWithNoNulls() {
61
     public void testSixLevelsOfNestingWithNoNulls() {
59
         assertEquals(
62
         assertEquals(
76
               "8")));
79
               "8")));
77
     }
80
     }
78
 
81
 
82
+    @Ignore
79
     @Test
83
     @Test
80
     public void testSixLevelsOfNestingWithNulls() {
84
     public void testSixLevelsOfNestingWithNulls() {
81
         assertEquals(
85
         assertEquals(
99
               "negative two")));
103
               "negative two")));
100
     }
104
     }
101
 
105
 
106
+    @Ignore
102
     @Test
107
     @Test
103
     public void testNestedListsFullOfNullsOnly() {
108
     public void testNestedListsFullOfNullsOnly() {
104
         assertEquals(
109
         assertEquals(