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

word-count: add hint to @Ignore annotations

morrme 9 лет назад
Родитель
Сommit
f5c628b517
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
         );
32
         );
33
     }
33
     }
34
 
34
 
35
-    @Ignore
35
+    @Ignore("Remove to run test")
36
     @Test
36
     @Test
37
     public void countOneOfEach() {
37
     public void countOneOfEach() {
38
         expectedWordCount.put("one", 1);
38
         expectedWordCount.put("one", 1);
45
         );
45
         );
46
     }
46
     }
47
 
47
 
48
-    @Ignore
48
+    @Ignore("Remove to run test")
49
     @Test
49
     @Test
50
     public void countMultipleOccurences() {
50
     public void countMultipleOccurences() {
51
         expectedWordCount.put("one", 1);
51
         expectedWordCount.put("one", 1);
60
         );
60
         );
61
     }
61
     }
62
 
62
 
63
-    @Ignore
63
+    @Ignore("Remove to run test")
64
     @Test
64
     @Test
65
     public void ignorePunctuation() {
65
     public void ignorePunctuation() {
66
         expectedWordCount.put("car", 1);
66
         expectedWordCount.put("car", 1);
76
 
76
 
77
     }
77
     }
78
 
78
 
79
-    @Ignore
79
+    @Ignore("Remove to run test")
80
     @Test
80
     @Test
81
     public void includeNumbers() {
81
     public void includeNumbers() {
82
         expectedWordCount.put("testing", 2);
82
         expectedWordCount.put("testing", 2);
89
         );
89
         );
90
     }
90
     }
91
 
91
 
92
-    @Ignore
92
+    @Ignore("Remove to run test")
93
     @Test
93
     @Test
94
     public void normalizeCase() {
94
     public void normalizeCase() {
95
         expectedWordCount.put("go", 3);
95
         expectedWordCount.put("go", 3);