Просмотр исходного кода

Add context r.e. JUnit Rules to queen-attack tests

Stuart Kent 9 лет назад
Родитель
Сommit
dded811204
1 измененных файлов: 4 добавлений и 0 удалений
  1. 4
    0
      exercises/queen-attack/src/test/java/QueenAttackCalculatorTest.java

+ 4
- 0
exercises/queen-attack/src/test/java/QueenAttackCalculatorTest.java Просмотреть файл

@@ -8,6 +8,10 @@ import static org.junit.Assert.assertTrue;
8 8
 
9 9
 public final class QueenAttackCalculatorTest {
10 10
 
11
+    /*
12
+     * See https://github.com/junit-team/junit4/wiki/Rules for information on JUnit Rules in general and
13
+     * ExpectedExceptions in particular.
14
+     */
11 15
     @Rule
12 16
     public ExpectedException expectedException = ExpectedException.none();
13 17