소스 검색

series: add hints to @Ignore annotations

morrme 9 년 전
부모
커밋
fdd016a9d3
1개의 변경된 파일10개의 추가작업 그리고 10개의 파일을 삭제
  1. 10
    10
      exercises/series/src/test/java/SeriesTest.java

+ 10
- 10
exercises/series/src/test/java/SeriesTest.java 파일 보기

@@ -26,7 +26,7 @@ public class SeriesTest {
26 26
     }
27 27
 
28 28
     @Test
29
-    @Ignore
29
+    @Ignore("Remove to run test")
30 30
     public void hasDigitsLong() {
31 31
         Series sut = new Series("0123456789");
32 32
         List<Integer> expected = Arrays.asList(0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
@@ -37,7 +37,7 @@ public class SeriesTest {
37 37
     }
38 38
 
39 39
     @Test
40
-    @Ignore
40
+    @Ignore("Remove to run test")
41 41
     public void keepsTheDigitOrderIfReversed() {
42 42
         Series sut = new Series("9876543210");
43 43
         List<Integer> expected = Arrays.asList(9, 8, 7, 6, 5, 4, 3, 2, 1, 0);
@@ -48,7 +48,7 @@ public class SeriesTest {
48 48
     }
49 49
 
50 50
     @Test
51
-    @Ignore
51
+    @Ignore("Remove to run test")
52 52
     public void keepsArbitraryDigitOrder() {
53 53
         Series sut = new Series("936923468");
54 54
         List<Integer> expected = Arrays.asList(9, 3, 6, 9, 2, 3, 4, 6, 8);
@@ -59,7 +59,7 @@ public class SeriesTest {
59 59
     }
60 60
 
61 61
     @Test
62
-    @Ignore
62
+    @Ignore("Remove to run test")
63 63
     public void canSliceByOne() {
64 64
         Series sut = new Series("01234");
65 65
         List<List<Integer>> expected = Arrays.asList(
@@ -76,7 +76,7 @@ public class SeriesTest {
76 76
     }
77 77
 
78 78
     @Test
79
-    @Ignore
79
+    @Ignore("Remove to run test")
80 80
     public void canSliceByTwo() {
81 81
         Series sut = new Series("98273463");
82 82
         List<List<Integer>> expected = Arrays.asList(
@@ -95,7 +95,7 @@ public class SeriesTest {
95 95
     }
96 96
 
97 97
     @Test
98
-    @Ignore
98
+    @Ignore("Remove to run test")
99 99
     public void canSliceByThree() {
100 100
         Series sut = new Series("01234");
101 101
         List<List<Integer>> expected = Arrays.asList(
@@ -110,7 +110,7 @@ public class SeriesTest {
110 110
     }
111 111
 
112 112
     @Test
113
-    @Ignore
113
+    @Ignore("Remove to run test")
114 114
     public void canSliceByThreeWithDuplicateDigits() {
115 115
         Series sut = new Series("31001");
116 116
         List<List<Integer>> expected = Arrays.asList(
@@ -125,7 +125,7 @@ public class SeriesTest {
125 125
     }
126 126
 
127 127
     @Test
128
-    @Ignore
128
+    @Ignore("Remove to run test")
129 129
     public void canSliceByFour() {
130 130
         Series sut = new Series("91274");
131 131
         List<List<Integer>> expected = Arrays.asList(
@@ -139,7 +139,7 @@ public class SeriesTest {
139 139
     }
140 140
 
141 141
     @Test
142
-    @Ignore
142
+    @Ignore("Remove to run test")
143 143
     public void canSliceByFive() {
144 144
         Series sut = new Series("81228");
145 145
         List<List<Integer>> expected = Arrays.asList(
@@ -152,7 +152,7 @@ public class SeriesTest {
152 152
     }
153 153
 
154 154
     @Test
155
-    @Ignore
155
+    @Ignore("Remove to run test")
156 156
     public void throwsAnErrorIfNotEnoughDigitsToSlice() {
157 157
         thrown.expect(IllegalArgumentException.class);
158 158
         new Series("01032987583").slices(12);