Преглед изворни кода

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

Stuart Kent пре 9 година
родитељ
комит
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