Selaa lähdekoodia

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

Stuart Kent 9 vuotta sitten
vanhempi
commit
dded811204

+ 4
- 0
exercises/queen-attack/src/test/java/QueenAttackCalculatorTest.java Näytä tiedosto

8
 
8
 
9
 public final class QueenAttackCalculatorTest {
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
     @Rule
15
     @Rule
12
     public ExpectedException expectedException = ExpectedException.none();
16
     public ExpectedException expectedException = ExpectedException.none();
13
 
17