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

Merge pull request #487 from morrme/igdiamond

diamond: add hint to @Ignore annotations
FridaTveit 9 лет назад
Родитель
Сommit
1b7b8bf789
1 измененных файлов: 4 добавлений и 4 удалений
  1. 4
    4
      exercises/diamond/src/test/java/DiamondPrinterTest.java

+ 4
- 4
exercises/diamond/src/test/java/DiamondPrinterTest.java Просмотреть файл

@@ -23,7 +23,7 @@ public final class DiamondPrinterTest {
23 23
         assertThat(output, is(singletonList("A")));
24 24
     }
25 25
 
26
-    @Ignore
26
+    @Ignore("Remove to run test")
27 27
     @Test
28 28
     public void testTwoByTwoDiamond() {
29 29
         List<String> output = diamondPrinter.printToList('B');
@@ -32,7 +32,7 @@ public final class DiamondPrinterTest {
32 32
                                      " A ")));
33 33
     }
34 34
 
35
-    @Ignore
35
+    @Ignore("Remove to run test")
36 36
     @Test
37 37
     public void testThreeByThreeDiamond() {
38 38
         List<String> output = diamondPrinter.printToList('C');
@@ -43,7 +43,7 @@ public final class DiamondPrinterTest {
43 43
                                      "  A  ")));
44 44
     }
45 45
 
46
-    @Ignore
46
+    @Ignore("Remove to run test")
47 47
     @Test
48 48
     public void testFiveByFiveDiamond() {
49 49
         List<String> output = diamondPrinter.printToList('E');
@@ -58,7 +58,7 @@ public final class DiamondPrinterTest {
58 58
                                      "    A    ")));
59 59
     }
60 60
 
61
-    @Ignore
61
+    @Ignore("Remove to run test")
62 62
     @Test
63 63
     public void testFullDiamond() {
64 64
         List<String> output = diamondPrinter.printToList('Z');