Skip to content

Commit ee73f5e

Browse files
authored
Merge pull request #515 from Smarticles101/ignore-ocrnumbers
ocr-numbers: add hint to @ignore annotations
2 parents 5cfb19d + baf7d00 commit ee73f5e

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

exercises/ocr-numbers/src/test/java/OpticalCharacterReaderTest.java

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public void testReaderRecognizesSingle0() {
2828
assertEquals("0", parsedInput);
2929
}
3030

31-
@Ignore
31+
@Ignore("Remove to run test")
3232
@Test
3333
public void testReaderRecognizesSingle1() {
3434
String parsedInput = new OpticalCharacterReader().parse(Arrays.asList(
@@ -41,7 +41,7 @@ public void testReaderRecognizesSingle1() {
4141
assertEquals("1", parsedInput);
4242
}
4343

44-
@Ignore
44+
@Ignore("Remove to run test")
4545
@Test
4646
public void testReaderReturnsQuestionMarkForUnreadableButCorrectlySizedInput() {
4747
String parsedInput = new OpticalCharacterReader().parse(Arrays.asList(
@@ -54,7 +54,7 @@ public void testReaderReturnsQuestionMarkForUnreadableButCorrectlySizedInput() {
5454
assertEquals("?", parsedInput);
5555
}
5656

57-
@Ignore
57+
@Ignore("Remove to run test")
5858
@Test
5959
public void testReaderThrowsExceptionWhenNumberOfInputLinesIsNotAMultipleOf4() {
6060
expectedException.expect(IllegalArgumentException.class);
@@ -67,7 +67,7 @@ public void testReaderThrowsExceptionWhenNumberOfInputLinesIsNotAMultipleOf4() {
6767
));
6868
}
6969

70-
@Ignore
70+
@Ignore("Remove to run test")
7171
@Test
7272
public void testReaderThrowsExceptionWhenNumberOfInputColumnsIsNotAMultipleOf3() {
7373
expectedException.expect(IllegalArgumentException.class);
@@ -81,7 +81,7 @@ public void testReaderThrowsExceptionWhenNumberOfInputColumnsIsNotAMultipleOf3()
8181
));
8282
}
8383

84-
@Ignore
84+
@Ignore("Remove to run test")
8585
@Test
8686
public void testReaderRecognizesBinarySequence110101100() {
8787
String parsedInput = new OpticalCharacterReader().parse(Arrays.asList(
@@ -94,7 +94,7 @@ public void testReaderRecognizesBinarySequence110101100() {
9494
assertEquals("110101100", parsedInput);
9595
}
9696

97-
@Ignore
97+
@Ignore("Remove to run test")
9898
@Test
9999
public void testReaderReplacesUnreadableDigitsWithQuestionMarksWithinSequence() {
100100
String parsedInput = new OpticalCharacterReader().parse(Arrays.asList(
@@ -107,7 +107,7 @@ public void testReaderReplacesUnreadableDigitsWithQuestionMarksWithinSequence()
107107
assertEquals("11?10?1?0", parsedInput);
108108
}
109109

110-
@Ignore
110+
@Ignore("Remove to run test")
111111
@Test
112112
public void testReaderRecognizesSingle2() {
113113
String parsedInput = new OpticalCharacterReader().parse(Arrays.asList(
@@ -120,7 +120,7 @@ public void testReaderRecognizesSingle2() {
120120
assertEquals("2", parsedInput);
121121
}
122122

123-
@Ignore
123+
@Ignore("Remove to run test")
124124
@Test
125125
public void testReaderRecognizesSingle3() {
126126
String parsedInput = new OpticalCharacterReader().parse(Arrays.asList(
@@ -133,7 +133,7 @@ public void testReaderRecognizesSingle3() {
133133
assertEquals("3", parsedInput);
134134
}
135135

136-
@Ignore
136+
@Ignore("Remove to run test")
137137
@Test
138138
public void testReaderRecognizesSingle4() {
139139
String parsedInput = new OpticalCharacterReader().parse(Arrays.asList(
@@ -146,7 +146,7 @@ public void testReaderRecognizesSingle4() {
146146
assertEquals("4", parsedInput);
147147
}
148148

149-
@Ignore
149+
@Ignore("Remove to run test")
150150
@Test
151151
public void testReaderRecognizesSingle5() {
152152
String parsedInput = new OpticalCharacterReader().parse(Arrays.asList(
@@ -159,7 +159,7 @@ public void testReaderRecognizesSingle5() {
159159
assertEquals("5", parsedInput);
160160
}
161161

162-
@Ignore
162+
@Ignore("Remove to run test")
163163
@Test
164164
public void testReaderRecognizesSingle6() {
165165
String parsedInput = new OpticalCharacterReader().parse(Arrays.asList(
@@ -172,7 +172,7 @@ public void testReaderRecognizesSingle6() {
172172
assertEquals("6", parsedInput);
173173
}
174174

175-
@Ignore
175+
@Ignore("Remove to run test")
176176
@Test
177177
public void testReaderRecognizesSingle7() {
178178
String parsedInput = new OpticalCharacterReader().parse(Arrays.asList(
@@ -185,7 +185,7 @@ public void testReaderRecognizesSingle7() {
185185
assertEquals("7", parsedInput);
186186
}
187187

188-
@Ignore
188+
@Ignore("Remove to run test")
189189
@Test
190190
public void testReaderRecognizesSingle8() {
191191
String parsedInput = new OpticalCharacterReader().parse(Arrays.asList(
@@ -198,7 +198,7 @@ public void testReaderRecognizesSingle8() {
198198
assertEquals("8", parsedInput);
199199
}
200200

201-
@Ignore
201+
@Ignore("Remove to run test")
202202
@Test
203203
public void testReaderRecognizesSingle9() {
204204
String parsedInput = new OpticalCharacterReader().parse(Arrays.asList(
@@ -211,7 +211,7 @@ public void testReaderRecognizesSingle9() {
211211
assertEquals("9", parsedInput);
212212
}
213213

214-
@Ignore
214+
@Ignore("Remove to run test")
215215
@Test
216216
public void testReaderRecognizesSequence1234567890() {
217217
String parsedInput = new OpticalCharacterReader().parse(Arrays.asList(
@@ -224,7 +224,7 @@ public void testReaderRecognizesSequence1234567890() {
224224
assertEquals("1234567890", parsedInput);
225225
}
226226

227-
@Ignore
227+
@Ignore("Remove to run test")
228228
@Test
229229
public void testReaderRecognizesAndCorrectlyFormatsMultiRowInput() {
230230
String parsedInput = new OpticalCharacterReader().parse(Arrays.asList(

0 commit comments

Comments
 (0)