Parcourir la source

Merge pull request #460 from FridaTveit/BobAddIgnoreHint

bob: add hint to @Ignore annotations
Stuart Kent il y a 9 ans
Parent
révision
1ec58fe8ee
1 fichiers modifiés avec 17 ajouts et 17 suppressions
  1. 17
    17
      exercises/bob/src/test/java/BobTest.java

+ 17
- 17
exercises/bob/src/test/java/BobTest.java Voir le fichier

15
         );
15
         );
16
     }
16
     }
17
 
17
 
18
-    @Ignore
18
+    @Ignore("Remove to run test")
19
     @Test
19
     @Test
20
     public void shouting() {
20
     public void shouting() {
21
         assertEquals(
21
         assertEquals(
24
         );
24
         );
25
     }
25
     }
26
 
26
 
27
-    @Ignore
27
+    @Ignore("Remove to run test")
28
     @Test
28
     @Test
29
     public void askingAQuestion() {
29
     public void askingAQuestion() {
30
         assertEquals(
30
         assertEquals(
33
         );
33
         );
34
     }
34
     }
35
 
35
 
36
-    @Ignore
36
+    @Ignore("Remove to run test")
37
     @Test
37
     @Test
38
     public void askingANumericQuestion() {
38
     public void askingANumericQuestion() {
39
         assertEquals(
39
         assertEquals(
42
         );
42
         );
43
     }
43
     }
44
 
44
 
45
-    @Ignore
45
+    @Ignore("Remove to run test")
46
     @Test
46
     @Test
47
     public void talkingForcefully() {
47
     public void talkingForcefully() {
48
         assertEquals(
48
         assertEquals(
51
         );
51
         );
52
     }
52
     }
53
 
53
 
54
-    @Ignore
54
+    @Ignore("Remove to run test")
55
     @Test
55
     @Test
56
     public void usingAcronymsInRegularSpeech() {
56
     public void usingAcronymsInRegularSpeech() {
57
         assertEquals(
57
         assertEquals(
59
         );
59
         );
60
     }
60
     }
61
 
61
 
62
-    @Ignore
62
+    @Ignore("Remove to run test")
63
     @Test
63
     @Test
64
     public void forcefulQuestions() {
64
     public void forcefulQuestions() {
65
         assertEquals(
65
         assertEquals(
67
         );
67
         );
68
     }
68
     }
69
 
69
 
70
-    @Ignore
70
+    @Ignore("Remove to run test")
71
     @Test
71
     @Test
72
     public void shoutingNumbers() {
72
     public void shoutingNumbers() {
73
         assertEquals(
73
         assertEquals(
75
         );
75
         );
76
     }
76
     }
77
 
77
 
78
-    @Ignore
78
+    @Ignore("Remove to run test")
79
     @Test
79
     @Test
80
     public void onlyNumbers() {
80
     public void onlyNumbers() {
81
         assertEquals(
81
         assertEquals(
83
         );
83
         );
84
     }
84
     }
85
 
85
 
86
-    @Ignore
86
+    @Ignore("Remove to run test")
87
     @Test
87
     @Test
88
     public void questionWithOnlyNumbers() {
88
     public void questionWithOnlyNumbers() {
89
         assertEquals(
89
         assertEquals(
91
         );
91
         );
92
     }
92
     }
93
 
93
 
94
-    @Ignore
94
+    @Ignore("Remove to run test")
95
     @Test
95
     @Test
96
     public void shoutingWithSpecialCharacters() {
96
     public void shoutingWithSpecialCharacters() {
97
         assertEquals(
97
         assertEquals(
99
         );
99
         );
100
     }
100
     }
101
 
101
 
102
-    @Ignore
102
+    @Ignore("Remove to run test")
103
     @Test
103
     @Test
104
     public void shoutingWithUmlauts() {
104
     public void shoutingWithUmlauts() {
105
         assertEquals(
105
         assertEquals(
107
         );
107
         );
108
     }
108
     }
109
 
109
 
110
-    @Ignore
110
+    @Ignore("Remove to run test")
111
     @Test
111
     @Test
112
     public void calmlySpeakingWithUmlauts() {
112
     public void calmlySpeakingWithUmlauts() {
113
         assertEquals(
113
         assertEquals(
115
         );
115
         );
116
     }
116
     }
117
 
117
 
118
-    @Ignore
118
+    @Ignore("Remove to run test")
119
     @Test
119
     @Test
120
     public void shoutingWithNoExclamationMark() {
120
     public void shoutingWithNoExclamationMark() {
121
         assertEquals(
121
         assertEquals(
123
         );
123
         );
124
     }
124
     }
125
 
125
 
126
-    @Ignore
126
+    @Ignore("Remove to run test")
127
     @Test
127
     @Test
128
     public void statementContainingQuestionMark() {
128
     public void statementContainingQuestionMark() {
129
         assertEquals(
129
         assertEquals(
131
         );
131
         );
132
     }
132
     }
133
 
133
 
134
-    @Ignore
134
+    @Ignore("Remove to run test")
135
     @Test
135
     @Test
136
     public void prattlingOn() {
136
     public void prattlingOn() {
137
         assertEquals(
137
         assertEquals(
139
         );
139
         );
140
     }
140
     }
141
 
141
 
142
-    @Ignore
142
+    @Ignore("Remove to run test")
143
     @Test
143
     @Test
144
     public void silence() {
144
     public void silence() {
145
         assertEquals(
145
         assertEquals(
147
         );
147
         );
148
     }
148
     }
149
 
149
 
150
-    @Ignore
150
+    @Ignore("Remove to run test")
151
     @Test
151
     @Test
152
     public void prolongedSilence() {
152
     public void prolongedSilence() {
153
         assertEquals(
153
         assertEquals(