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

Merge pull request #450 from FridaTveit/AcronymAddIgnoreHint

acronym: add hint to @Ignore annotations
John Ryan пре 9 година
родитељ
комит
229ec271de
1 измењених фајлова са 7 додато и 7 уклоњено
  1. 7
    7
      exercises/acronym/src/test/java/AcronymTest.java

+ 7
- 7
exercises/acronym/src/test/java/AcronymTest.java Прегледај датотеку

@@ -12,7 +12,7 @@ public class AcronymTest {
12 12
         assertEquals(expected, new Acronym(phrase).get());
13 13
     }
14 14
 
15
-    @Ignore
15
+    @Ignore("Remove to run test")
16 16
     @Test
17 17
     public void fromOtherTitleCasedPhrases() {
18 18
         final String phrase = "Ruby on Rails";
@@ -20,7 +20,7 @@ public class AcronymTest {
20 20
         assertEquals(expected, new Acronym(phrase).get());
21 21
     }
22 22
 
23
-    @Ignore
23
+    @Ignore("Remove to run test")
24 24
     @Test
25 25
     public void fromInconsistentlyCasedPhrases() {
26 26
         final String phrase = "HyperText Markup Language";
@@ -28,7 +28,7 @@ public class AcronymTest {
28 28
         assertEquals(expected, new Acronym(phrase).get());
29 29
     }
30 30
 
31
-    @Ignore
31
+    @Ignore("Remove to run test")
32 32
     @Test
33 33
     public void fromPhrasesWithPunctuation() {
34 34
         final String phrase = "First In, First Out";
@@ -36,7 +36,7 @@ public class AcronymTest {
36 36
         assertEquals(expected, new Acronym(phrase).get());
37 37
     }
38 38
 
39
-    @Ignore
39
+    @Ignore("Remove to run test")
40 40
     @Test
41 41
     public void fromOtherPhrasesWithPunctuation() {
42 42
         final String phrase = "PHP: Hypertext Preprocessor";
@@ -44,7 +44,7 @@ public class AcronymTest {
44 44
         assertEquals(expected, new Acronym(phrase).get());
45 45
     }
46 46
 
47
-    @Ignore
47
+    @Ignore("Remove to run test")
48 48
     @Test
49 49
     public void fromPhrasesWithNonAcronymAllCapsWord() {
50 50
         final String phrase = "GNU Image Manipulation Program";
@@ -52,7 +52,7 @@ public class AcronymTest {
52 52
         assertEquals(expected, new Acronym(phrase).get());
53 53
     }
54 54
 
55
-    @Ignore
55
+    @Ignore("Remove to run test")
56 56
     @Test
57 57
     public void fromPhrasesWithPunctuationAndSentenceCasing() {
58 58
         final String phrase = "Complementary metal-oxide semiconductor";
@@ -60,7 +60,7 @@ public class AcronymTest {
60 60
         assertEquals(expected, new Acronym(phrase).get());
61 61
     }
62 62
 
63
-    @Ignore
63
+    @Ignore("Remove to run test")
64 64
     @Test
65 65
     public void fromPhraseWithSingleLetterWord() {
66 66
         final String phrase = "Cat in a Hat";