tracks/java/exercises/minesweeper/src/test/java/MinesweeperBoardTest.java in trackler-2.1.0.8 vs tracks/java/exercises/minesweeper/src/test/java/MinesweeperBoardTest.java in trackler-2.1.0.9
- old
+ new
@@ -26,22 +26,22 @@
= new MinesweeperBoard(inputBoard).getAnnotatedRepresentation();
assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
}
- @Ignore
+ @Ignore("Remove to run test")
@Test
public void testInputBoardWithOneRowAndNoColumns() {
final List<String> inputBoard = Collections.singletonList("");
final List<String> expectedAnnotatedRepresentation = Collections.singletonList("");
final List<String> actualAnnotatedRepresentation
= new MinesweeperBoard(inputBoard).getAnnotatedRepresentation();
assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
}
- @Ignore
+ @Ignore("Remove to run test")
@Test
public void testInputBoardWithNoMines() {
final List<String> inputBoard = Arrays.asList(
" ",
" ",
@@ -58,11 +58,11 @@
= new MinesweeperBoard(inputBoard).getAnnotatedRepresentation();
assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
}
- @Ignore
+ @Ignore("Remove to run test")
@Test
public void testInputBoardWithOnlyMines() {
final List<String> inputBoard = Arrays.asList(
"***",
"***",
@@ -79,11 +79,11 @@
= new MinesweeperBoard(inputBoard).getAnnotatedRepresentation();
assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
}
- @Ignore
+ @Ignore("Remove to run test")
@Test
public void testInputBoardWithSingleMineAtCenter() {
final List<String> inputBoard = Arrays.asList(
" ",
" * ",
@@ -100,11 +100,11 @@
= new MinesweeperBoard(inputBoard).getAnnotatedRepresentation();
assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
}
- @Ignore
+ @Ignore("Remove to run test")
@Test
public void testInputBoardWithMinesAroundPerimeter() {
final List<String> inputBoard = Arrays.asList(
"***",
"* *",
@@ -121,11 +121,11 @@
= new MinesweeperBoard(inputBoard).getAnnotatedRepresentation();
assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
}
- @Ignore
+ @Ignore("Remove to run test")
@Test
public void testInputBoardWithSingleRowAndTwoMines() {
final List<String> inputBoard = Collections.singletonList(
" * * "
);
@@ -138,11 +138,11 @@
= new MinesweeperBoard(inputBoard).getAnnotatedRepresentation();
assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
}
- @Ignore
+ @Ignore("Remove to run test")
@Test
public void testInputBoardWithSingleRowAndTwoMinesAtEdges() {
final List<String> inputBoard = Collections.singletonList(
"* *"
);
@@ -155,11 +155,11 @@
= new MinesweeperBoard(inputBoard).getAnnotatedRepresentation();
assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
}
- @Ignore
+ @Ignore("Remove to run test")
@Test
public void testInputBoardWithSingleColumnAndTwoMines() {
final List<String> inputBoard = Arrays.asList(
" ",
"*",
@@ -180,11 +180,11 @@
= new MinesweeperBoard(inputBoard).getAnnotatedRepresentation();
assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
}
- @Ignore
+ @Ignore("Remove to run test")
@Test
public void testInputBoardWithSingleColumnAndTwoMinesAtEdges() {
final List<String> inputBoard = Arrays.asList(
"*",
" ",
@@ -205,11 +205,11 @@
= new MinesweeperBoard(inputBoard).getAnnotatedRepresentation();
assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
}
- @Ignore
+ @Ignore("Remove to run test")
@Test
public void testInputBoardWithMinesInCross() {
final List<String> inputBoard = Arrays.asList(
" * ",
" * ",
@@ -230,11 +230,11 @@
= new MinesweeperBoard(inputBoard).getAnnotatedRepresentation();
assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
}
- @Ignore
+ @Ignore("Remove to run test")
@Test
public void testLargeInputBoard() {
final List<String> inputBoard = Arrays.asList(
" * * ",
" * ",
@@ -257,28 +257,28 @@
= new MinesweeperBoard(inputBoard).getAnnotatedRepresentation();
assertEquals(expectedAnnotatedRepresentation, actualAnnotatedRepresentation);
}
- @Ignore
+ @Ignore("Remove to run test")
@Test
public void testNullInputBoardIsRejected() {
expectedException.expect(IllegalArgumentException.class);
expectedException.expectMessage("Input board may not be null.");
new MinesweeperBoard(null);
}
- @Ignore
+ @Ignore("Remove to run test")
@Test
public void testInputBoardWithInvalidSymbolsIsRejected() {
expectedException.expect(IllegalArgumentException.class);
expectedException.expectMessage("Input board can only contain the characters ' ' and '*'.");
new MinesweeperBoard(Collections.singletonList(" * & "));
}
- @Ignore
+ @Ignore("Remove to run test")
@Test
public void testInputBoardWithInconsistentRowLengthsIsRejected() {
expectedException.expect(IllegalArgumentException.class);
expectedException.expectMessage("Input board rows must all have the same number of columns.");