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

Merge pull request #449 from FridaTveit/AccumulateAddIgnoreHint

accumulate: add hint to @Ignore annotations
John Ryan 9 лет назад
Родитель
Сommit
8df6bff67d
1 измененных файлов: 4 добавлений и 4 удалений
  1. 4
    4
      exercises/accumulate/src/test/java/AccumulateTest.java

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

@@ -17,7 +17,7 @@ public class AccumulateTest {
17 17
         assertEquals(expectedOutput, Accumulate.accumulate(input, x -> x * x));
18 18
     }
19 19
 
20
-    @Ignore
20
+    @Ignore("Remove to run test")
21 21
     @Test
22 22
     public void accumulateSquares() {
23 23
         List<Integer> input = Arrays.asList(1, 2, 3);
@@ -25,7 +25,7 @@ public class AccumulateTest {
25 25
         assertEquals(expectedOutput, Accumulate.accumulate(input, x -> x * x));
26 26
     }
27 27
 
28
-    @Ignore
28
+    @Ignore("Remove to run test")
29 29
     @Test
30 30
     public void accumulateUpperCases() {
31 31
         List<String> input = Arrays.asList("hello", "world");
@@ -33,7 +33,7 @@ public class AccumulateTest {
33 33
         assertEquals(expectedOutput, Accumulate.accumulate(input, x -> x.toUpperCase()));
34 34
     }
35 35
 
36
-    @Ignore
36
+    @Ignore("Remove to run test")
37 37
     @Test
38 38
     public void accumulateReversedStrings() {
39 39
         List<String> input = Arrays.asList("the quick brown fox etc".split(" "));
@@ -45,7 +45,7 @@ public class AccumulateTest {
45 45
         return new StringBuilder(input).reverse().toString();
46 46
     }
47 47
 
48
-    @Ignore
48
+    @Ignore("Remove to run test")
49 49
     @Test
50 50
     public void accumulateWithinAccumulate() {
51 51
         List<String> input1 = Arrays.asList("a", "b", "c");