浏览代码

ocr-numbers: add hint to @Ignore annotations

Logan Stucki 9 年前
父节点
当前提交
baf7d0083b
共有 1 个文件被更改,包括 16 次插入16 次删除
  1. 16
    16
      exercises/ocr-numbers/src/test/java/OpticalCharacterReaderTest.java

+ 16
- 16
exercises/ocr-numbers/src/test/java/OpticalCharacterReaderTest.java 查看文件

@@ -28,7 +28,7 @@ public final class OpticalCharacterReaderTest {
28 28
         assertEquals("0", parsedInput);
29 29
     }
30 30
 
31
-    @Ignore
31
+    @Ignore("Remove to run test")
32 32
     @Test
33 33
     public void testReaderRecognizesSingle1() {
34 34
         String parsedInput = new OpticalCharacterReader().parse(Arrays.asList(
@@ -41,7 +41,7 @@ public final class OpticalCharacterReaderTest {
41 41
         assertEquals("1", parsedInput);
42 42
     }
43 43
 
44
-    @Ignore
44
+    @Ignore("Remove to run test")
45 45
     @Test
46 46
     public void testReaderReturnsQuestionMarkForUnreadableButCorrectlySizedInput() {
47 47
         String parsedInput = new OpticalCharacterReader().parse(Arrays.asList(
@@ -54,7 +54,7 @@ public final class OpticalCharacterReaderTest {
54 54
         assertEquals("?", parsedInput);
55 55
     }
56 56
 
57
-    @Ignore
57
+    @Ignore("Remove to run test")
58 58
     @Test
59 59
     public void testReaderThrowsExceptionWhenNumberOfInputLinesIsNotAMultipleOf4() {
60 60
         expectedException.expect(IllegalArgumentException.class);
@@ -67,7 +67,7 @@ public final class OpticalCharacterReaderTest {
67 67
         ));
68 68
     }
69 69
 
70
-    @Ignore
70
+    @Ignore("Remove to run test")
71 71
     @Test
72 72
     public void testReaderThrowsExceptionWhenNumberOfInputColumnsIsNotAMultipleOf3() {
73 73
         expectedException.expect(IllegalArgumentException.class);
@@ -81,7 +81,7 @@ public final class OpticalCharacterReaderTest {
81 81
         ));
82 82
     }
83 83
 
84
-    @Ignore
84
+    @Ignore("Remove to run test")
85 85
     @Test
86 86
     public void testReaderRecognizesBinarySequence110101100() {
87 87
         String parsedInput = new OpticalCharacterReader().parse(Arrays.asList(
@@ -94,7 +94,7 @@ public final class OpticalCharacterReaderTest {
94 94
         assertEquals("110101100", parsedInput);
95 95
     }
96 96
 
97
-    @Ignore
97
+    @Ignore("Remove to run test")
98 98
     @Test
99 99
     public void testReaderReplacesUnreadableDigitsWithQuestionMarksWithinSequence() {
100 100
         String parsedInput = new OpticalCharacterReader().parse(Arrays.asList(
@@ -107,7 +107,7 @@ public final class OpticalCharacterReaderTest {
107 107
         assertEquals("11?10?1?0", parsedInput);
108 108
     }
109 109
 
110
-    @Ignore
110
+    @Ignore("Remove to run test")
111 111
     @Test
112 112
     public void testReaderRecognizesSingle2() {
113 113
         String parsedInput = new OpticalCharacterReader().parse(Arrays.asList(
@@ -120,7 +120,7 @@ public final class OpticalCharacterReaderTest {
120 120
         assertEquals("2", parsedInput);
121 121
     }
122 122
 
123
-    @Ignore
123
+    @Ignore("Remove to run test")
124 124
     @Test
125 125
     public void testReaderRecognizesSingle3() {
126 126
         String parsedInput = new OpticalCharacterReader().parse(Arrays.asList(
@@ -133,7 +133,7 @@ public final class OpticalCharacterReaderTest {
133 133
         assertEquals("3", parsedInput);
134 134
     }
135 135
 
136
-    @Ignore
136
+    @Ignore("Remove to run test")
137 137
     @Test
138 138
     public void testReaderRecognizesSingle4() {
139 139
         String parsedInput = new OpticalCharacterReader().parse(Arrays.asList(
@@ -146,7 +146,7 @@ public final class OpticalCharacterReaderTest {
146 146
         assertEquals("4", parsedInput);
147 147
     }
148 148
 
149
-    @Ignore
149
+    @Ignore("Remove to run test")
150 150
     @Test
151 151
     public void testReaderRecognizesSingle5() {
152 152
         String parsedInput = new OpticalCharacterReader().parse(Arrays.asList(
@@ -159,7 +159,7 @@ public final class OpticalCharacterReaderTest {
159 159
         assertEquals("5", parsedInput);
160 160
     }
161 161
 
162
-    @Ignore
162
+    @Ignore("Remove to run test")
163 163
     @Test
164 164
     public void testReaderRecognizesSingle6() {
165 165
         String parsedInput = new OpticalCharacterReader().parse(Arrays.asList(
@@ -172,7 +172,7 @@ public final class OpticalCharacterReaderTest {
172 172
         assertEquals("6", parsedInput);
173 173
     }
174 174
 
175
-    @Ignore
175
+    @Ignore("Remove to run test")
176 176
     @Test
177 177
     public void testReaderRecognizesSingle7() {
178 178
         String parsedInput = new OpticalCharacterReader().parse(Arrays.asList(
@@ -185,7 +185,7 @@ public final class OpticalCharacterReaderTest {
185 185
         assertEquals("7", parsedInput);
186 186
     }
187 187
 
188
-    @Ignore
188
+    @Ignore("Remove to run test")
189 189
     @Test
190 190
     public void testReaderRecognizesSingle8() {
191 191
         String parsedInput = new OpticalCharacterReader().parse(Arrays.asList(
@@ -198,7 +198,7 @@ public final class OpticalCharacterReaderTest {
198 198
         assertEquals("8", parsedInput);
199 199
     }
200 200
 
201
-    @Ignore
201
+    @Ignore("Remove to run test")
202 202
     @Test
203 203
     public void testReaderRecognizesSingle9() {
204 204
         String parsedInput = new OpticalCharacterReader().parse(Arrays.asList(
@@ -211,7 +211,7 @@ public final class OpticalCharacterReaderTest {
211 211
         assertEquals("9", parsedInput);
212 212
     }
213 213
 
214
-    @Ignore
214
+    @Ignore("Remove to run test")
215 215
     @Test
216 216
     public void testReaderRecognizesSequence1234567890() {
217 217
         String parsedInput = new OpticalCharacterReader().parse(Arrays.asList(
@@ -224,7 +224,7 @@ public final class OpticalCharacterReaderTest {
224 224
         assertEquals("1234567890", parsedInput);
225 225
     }
226 226
 
227
-    @Ignore
227
+    @Ignore("Remove to run test")
228 228
     @Test
229 229
     public void testReaderRecognizesAndCorrectlyFormatsMultiRowInput() {
230 230
         String parsedInput = new OpticalCharacterReader().parse(Arrays.asList(