Skip to content

Commit 69a4f04

Browse files
committed
minesweeper: add hints to @ignore annotations
1 parent 4177a3f commit 69a4f04

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

‎exercises/minesweeper/src/test/java/MinesweeperBoardTest.java‎

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public void testInputBoardWithNoRowsAndNoColumns() {
2828
assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
2929
}
3030

31-
@Ignore
31+
@Ignore("Remove to run test")
3232
@Test
3333
public void testInputBoardWithOneRowAndNoColumns() {
3434
final List<String> inputBoard = Collections.singletonList("");
@@ -39,7 +39,7 @@ public void testInputBoardWithOneRowAndNoColumns() {
3939
assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
4040
}
4141

42-
@Ignore
42+
@Ignore("Remove to run test")
4343
@Test
4444
public void testInputBoardWithNoMines() {
4545
final List<String> inputBoard = Arrays.asList(
@@ -60,7 +60,7 @@ public void testInputBoardWithNoMines() {
6060
assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
6161
}
6262

63-
@Ignore
63+
@Ignore("Remove to run test")
6464
@Test
6565
public void testInputBoardWithOnlyMines() {
6666
final List<String> inputBoard = Arrays.asList(
@@ -81,7 +81,7 @@ public void testInputBoardWithOnlyMines() {
8181
assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
8282
}
8383

84-
@Ignore
84+
@Ignore("Remove to run test")
8585
@Test
8686
public void testInputBoardWithSingleMineAtCenter() {
8787
final List<String> inputBoard = Arrays.asList(
@@ -102,7 +102,7 @@ public void testInputBoardWithSingleMineAtCenter() {
102102
assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
103103
}
104104

105-
@Ignore
105+
@Ignore("Remove to run test")
106106
@Test
107107
public void testInputBoardWithMinesAroundPerimeter() {
108108
final List<String> inputBoard = Arrays.asList(
@@ -123,7 +123,7 @@ public void testInputBoardWithMinesAroundPerimeter() {
123123
assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
124124
}
125125

126-
@Ignore
126+
@Ignore("Remove to run test")
127127
@Test
128128
public void testInputBoardWithSingleRowAndTwoMines() {
129129
final List<String> inputBoard = Collections.singletonList(
@@ -140,7 +140,7 @@ public void testInputBoardWithSingleRowAndTwoMines() {
140140
assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
141141
}
142142

143-
@Ignore
143+
@Ignore("Remove to run test")
144144
@Test
145145
public void testInputBoardWithSingleRowAndTwoMinesAtEdges() {
146146
final List<String> inputBoard = Collections.singletonList(
@@ -157,7 +157,7 @@ public void testInputBoardWithSingleRowAndTwoMinesAtEdges() {
157157
assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
158158
}
159159

160-
@Ignore
160+
@Ignore("Remove to run test")
161161
@Test
162162
public void testInputBoardWithSingleColumnAndTwoMines() {
163163
final List<String> inputBoard = Arrays.asList(
@@ -182,7 +182,7 @@ public void testInputBoardWithSingleColumnAndTwoMines() {
182182
assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
183183
}
184184

185-
@Ignore
185+
@Ignore("Remove to run test")
186186
@Test
187187
public void testInputBoardWithSingleColumnAndTwoMinesAtEdges() {
188188
final List<String> inputBoard = Arrays.asList(
@@ -207,7 +207,7 @@ public void testInputBoardWithSingleColumnAndTwoMinesAtEdges() {
207207
assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
208208
}
209209

210-
@Ignore
210+
@Ignore("Remove to run test")
211211
@Test
212212
public void testInputBoardWithMinesInCross() {
213213
final List<String> inputBoard = Arrays.asList(
@@ -232,7 +232,7 @@ public void testInputBoardWithMinesInCross() {
232232
assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
233233
}
234234

235-
@Ignore
235+
@Ignore("Remove to run test")
236236
@Test
237237
public void testLargeInputBoard() {
238238
final List<String> inputBoard = Arrays.asList(
@@ -259,7 +259,7 @@ public void testLargeInputBoard() {
259259
assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
260260
}
261261

262-
@Ignore
262+
@Ignore("Remove to run test")
263263
@Test
264264
public void testNullInputBoardIsRejected() {
265265
expectedException.expect(IllegalArgumentException.class);
@@ -268,7 +268,7 @@ public void testNullInputBoardIsRejected() {
268268
new MinesweeperBoard(null);
269269
}
270270

271-
@Ignore
271+
@Ignore("Remove to run test")
272272
@Test
273273
public void testInputBoardWithInvalidSymbolsIsRejected() {
274274
expectedException.expect(IllegalArgumentException.class);
@@ -277,7 +277,7 @@ public void testInputBoardWithInvalidSymbolsIsRejected() {
277277
new MinesweeperBoard(Collections.singletonList(" * & "));
278278
}
279279

280-
@Ignore
280+
@Ignore("Remove to run test")
281281
@Test
282282
public void testInputBoardWithInconsistentRowLengthsIsRejected() {
283283
expectedException.expect(IllegalArgumentException.class);

0 commit comments

Comments
 (0)