瀏覽代碼

Merge pull request #488 from morrme/igwc

word-count: add hint to @Ignore annotations
FridaTveit 9 年之前
父節點
當前提交
e276871e0c
共有 1 個檔案被更改,包括 5 行新增5 行删除
  1. 5
    5
      exercises/word-count/src/test/java/WordCountTest.java

+ 5
- 5
exercises/word-count/src/test/java/WordCountTest.java 查看文件

@@ -32,7 +32,7 @@ public class WordCountTest {
32 32
         );
33 33
     }
34 34
 
35
-    @Ignore
35
+    @Ignore("Remove to run test")
36 36
     @Test
37 37
     public void countOneOfEach() {
38 38
         expectedWordCount.put("one", 1);
@@ -45,7 +45,7 @@ public class WordCountTest {
45 45
         );
46 46
     }
47 47
 
48
-    @Ignore
48
+    @Ignore("Remove to run test")
49 49
     @Test
50 50
     public void countMultipleOccurences() {
51 51
         expectedWordCount.put("one", 1);
@@ -60,7 +60,7 @@ public class WordCountTest {
60 60
         );
61 61
     }
62 62
 
63
-    @Ignore
63
+    @Ignore("Remove to run test")
64 64
     @Test
65 65
     public void ignorePunctuation() {
66 66
         expectedWordCount.put("car", 1);
@@ -76,7 +76,7 @@ public class WordCountTest {
76 76
 
77 77
     }
78 78
 
79
-    @Ignore
79
+    @Ignore("Remove to run test")
80 80
     @Test
81 81
     public void includeNumbers() {
82 82
         expectedWordCount.put("testing", 2);
@@ -89,7 +89,7 @@ public class WordCountTest {
89 89
         );
90 90
     }
91 91
 
92
-    @Ignore
92
+    @Ignore("Remove to run test")
93 93
     @Test
94 94
     public void normalizeCase() {
95 95
         expectedWordCount.put("go", 3);