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

phone-number: add hint to @Ignore annotations

morrme 9 лет назад
Родитель
Сommit
3960b99fef
1 измененных файлов: 9 добавлений и 9 удалений
  1. 9
    9
      exercises/phone-number/src/test/java/PhoneNumberTest.java

+ 9
- 9
exercises/phone-number/src/test/java/PhoneNumberTest.java Просмотреть файл

25
         );
25
         );
26
     }
26
     }
27
 
27
 
28
-    @Ignore
28
+    @Ignore("Remove to run test")
29
     @Test
29
     @Test
30
     public void cleansNumberWithDots() {
30
     public void cleansNumberWithDots() {
31
         final String expectedNumber = "1234567890";
31
         final String expectedNumber = "1234567890";
36
         );
36
         );
37
     }
37
     }
38
 
38
 
39
-    @Ignore
39
+    @Ignore("Remove to run test")
40
     @Test
40
     @Test
41
     public void cleansNumberWithMultipleSpaces() {
41
     public void cleansNumberWithMultipleSpaces() {
42
         final String expectedNumber = "1234567890";
42
         final String expectedNumber = "1234567890";
47
         );
47
         );
48
     }
48
     }
49
 
49
 
50
-    @Ignore
50
+    @Ignore("Remove to run test")
51
     @Test
51
     @Test
52
     public void invalidWhen9Digits() {
52
     public void invalidWhen9Digits() {
53
         expectedException.expect(IllegalArgumentException.class);
53
         expectedException.expect(IllegalArgumentException.class);
55
         new PhoneNumber("123456789");
55
         new PhoneNumber("123456789");
56
     }
56
     }
57
 
57
 
58
-    @Ignore
58
+    @Ignore("Remove to run test")
59
     @Test
59
     @Test
60
     public void invalidWhen11Digits() {
60
     public void invalidWhen11Digits() {
61
         expectedException.expect(IllegalArgumentException.class);
61
         expectedException.expect(IllegalArgumentException.class);
63
         new PhoneNumber("21234567890");
63
         new PhoneNumber("21234567890");
64
     }
64
     }
65
 
65
 
66
-    @Ignore
66
+    @Ignore("Remove to run test")
67
     @Test
67
     @Test
68
     public void validWhen11DigitsAndFirstIs1() {
68
     public void validWhen11DigitsAndFirstIs1() {
69
         final String expectedNumber = "1234567890";
69
         final String expectedNumber = "1234567890";
74
         );
74
         );
75
     }
75
     }
76
 
76
 
77
-    @Ignore
77
+    @Ignore("Remove to run test")
78
     @Test
78
     @Test
79
     public void invalidWhen12Digits() {
79
     public void invalidWhen12Digits() {
80
         expectedException.expect(IllegalArgumentException.class);
80
         expectedException.expect(IllegalArgumentException.class);
82
         new PhoneNumber("321234567890");
82
         new PhoneNumber("321234567890");
83
     }
83
     }
84
 
84
 
85
-    @Ignore
85
+    @Ignore("Remove to run test")
86
     @Test
86
     @Test
87
     public void invalidWithLetters() {
87
     public void invalidWithLetters() {
88
         expectedException.expect(IllegalArgumentException.class);
88
         expectedException.expect(IllegalArgumentException.class);
90
         new PhoneNumber("123-abc-7890");
90
         new PhoneNumber("123-abc-7890");
91
     }
91
     }
92
 
92
 
93
-    @Ignore
93
+    @Ignore("Remove to run test")
94
     @Test
94
     @Test
95
     public void invalidWithPunctuation() {
95
     public void invalidWithPunctuation() {
96
         expectedException.expect(IllegalArgumentException.class);
96
         expectedException.expect(IllegalArgumentException.class);
98
         new PhoneNumber("123-@:!-7890");
98
         new PhoneNumber("123-@:!-7890");
99
     }
99
     }
100
 
100
 
101
-    @Ignore
101
+    @Ignore("Remove to run test")
102
     @Test
102
     @Test
103
     public void invalidWithRightNumberOfDigitsButLettersMixedIn() {
103
     public void invalidWithRightNumberOfDigitsButLettersMixedIn() {
104
         expectedException.expect(IllegalArgumentException.class);
104
         expectedException.expect(IllegalArgumentException.class);