Skip to content

Commit cd87537

Browse files
committed
queen-attack: add hint to @ignore annotations
1 parent 4177a3f commit cd87537

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

‎exercises/queen-attack/src/test/java/QueenAttackCalculatorTest.java‎

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public void testQueensThatDoNotShareRankFileOrDiagonalCannotAttack() {
2323
assertFalse(calculator.canQueensAttackOneAnother());
2424
}
2525

26-
@Ignore
26+
@Ignore("Remove to run test")
2727
@Test
2828
public void testQueensCanAttackOnTheSameRank() {
2929
final QueenAttackCalculator calculator
@@ -32,7 +32,7 @@ public void testQueensCanAttackOnTheSameRank() {
3232
assertTrue(calculator.canQueensAttackOneAnother());
3333
}
3434

35-
@Ignore
35+
@Ignore("Remove to run test")
3636
@Test
3737
public void testQueensCanAttackOnTheSameFile() {
3838
final QueenAttackCalculator calculator
@@ -41,7 +41,7 @@ public void testQueensCanAttackOnTheSameFile() {
4141
assertTrue(calculator.canQueensAttackOneAnother());
4242
}
4343

44-
@Ignore
44+
@Ignore("Remove to run test")
4545
@Test
4646
public void testQueensCanAttackOnFirstDiagonal() {
4747
final QueenAttackCalculator calculator
@@ -50,7 +50,7 @@ public void testQueensCanAttackOnFirstDiagonal() {
5050
assertTrue(calculator.canQueensAttackOneAnother());
5151
}
5252

53-
@Ignore
53+
@Ignore("Remove to run test")
5454
@Test
5555
public void testQueensCanAttackOnSecondDiagonal() {
5656
final QueenAttackCalculator calculator
@@ -59,7 +59,7 @@ public void testQueensCanAttackOnSecondDiagonal() {
5959
assertTrue(calculator.canQueensAttackOneAnother());
6060
}
6161

62-
@Ignore
62+
@Ignore("Remove to run test")
6363
@Test
6464
public void testQueensCanAttackOnThirdDiagonal() {
6565
final QueenAttackCalculator calculator
@@ -68,7 +68,7 @@ public void testQueensCanAttackOnThirdDiagonal() {
6868
assertTrue(calculator.canQueensAttackOneAnother());
6969
}
7070

71-
@Ignore
71+
@Ignore("Remove to run test")
7272
@Test
7373
public void testQueensCanAttackOnFourthDiagonal() {
7474
final QueenAttackCalculator calculator
@@ -77,7 +77,7 @@ public void testQueensCanAttackOnFourthDiagonal() {
7777
assertTrue(calculator.canQueensAttackOneAnother());
7878
}
7979

80-
@Ignore
80+
@Ignore("Remove to run test")
8181
@Test
8282
public void testCoordinateWithNegativeRankNotAllowed() {
8383
expectedException.expect(IllegalArgumentException.class);
@@ -86,7 +86,7 @@ public void testCoordinateWithNegativeRankNotAllowed() {
8686
new BoardCoordinate(-2, 2);
8787
}
8888

89-
@Ignore
89+
@Ignore("Remove to run test")
9090
@Test
9191
public void testCoordinateWithRankGreaterThan7NotAllowed() {
9292
expectedException.expect(IllegalArgumentException.class);
@@ -95,7 +95,7 @@ public void testCoordinateWithRankGreaterThan7NotAllowed() {
9595
new BoardCoordinate(8, 4);
9696
}
9797

98-
@Ignore
98+
@Ignore("Remove to run test")
9999
@Test
100100
public void testCoordinateWithNegativeFileNotAllowed() {
101101
expectedException.expect(IllegalArgumentException.class);
@@ -104,7 +104,7 @@ public void testCoordinateWithNegativeFileNotAllowed() {
104104
new BoardCoordinate(2, -2);
105105
}
106106

107-
@Ignore
107+
@Ignore("Remove to run test")
108108
@Test
109109
public void testCoordinateWithFileGreaterThan7NotAllowed() {
110110
expectedException.expect(IllegalArgumentException.class);
@@ -113,7 +113,7 @@ public void testCoordinateWithFileGreaterThan7NotAllowed() {
113113
new BoardCoordinate(4, 8);
114114
}
115115

116-
@Ignore
116+
@Ignore("Remove to run test")
117117
@Test
118118
public void testNullCoordinateNotAllowed() {
119119
expectedException.expect(IllegalArgumentException.class);
@@ -122,7 +122,7 @@ public void testNullCoordinateNotAllowed() {
122122
new QueenAttackCalculator(null, new BoardCoordinate(0, 7));
123123
}
124124

125-
@Ignore
125+
@Ignore("Remove to run test")
126126
@Test
127127
public void testQueensMustNotOccupyTheSameSquare() {
128128
expectedException.expect(IllegalArgumentException.class);

0 commit comments

Comments
 (0)