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

beer-song: add hint to @Ignore annotations

Frida Johanne Tveit 9 лет назад
Родитель
Сommit
93859877ec
1 измененных файлов: 6 добавлений и 6 удалений
  1. 6
    6
      exercises/beer-song/src/test/java/BeerSongTest.java

+ 6
- 6
exercises/beer-song/src/test/java/BeerSongTest.java Просмотреть файл

@@ -20,7 +20,7 @@ public class BeerSongTest {
20 20
                 beerSong.verse(99));
21 21
     }
22 22
 
23
-    @Ignore
23
+    @Ignore("Remove to run test")
24 24
     @Test
25 25
     public void singMiddleVerse() {
26 26
         assertEquals("44 bottles of beer on the wall, 44 bottles of beer.\n" +
@@ -28,7 +28,7 @@ public class BeerSongTest {
28 28
                 beerSong.verse(44));
29 29
     }
30 30
 
31
-    @Ignore
31
+    @Ignore("Remove to run test")
32 32
     @Test
33 33
     public void singThirdToLastVerse() {
34 34
         assertEquals("2 bottles of beer on the wall, 2 bottles of beer.\n" +
@@ -36,7 +36,7 @@ public class BeerSongTest {
36 36
                 beerSong.verse(2));
37 37
     }
38 38
 
39
-    @Ignore
39
+    @Ignore("Remove to run test")
40 40
     @Test
41 41
     public void singPenultimateVerse() {
42 42
         assertEquals("1 bottle of beer on the wall, 1 bottle of beer.\n" +
@@ -44,7 +44,7 @@ public class BeerSongTest {
44 44
                 beerSong.verse(1));
45 45
     }
46 46
 
47
-    @Ignore
47
+    @Ignore("Remove to run test")
48 48
     @Test
49 49
     public void singLastVerse() {
50 50
         assertEquals("No more bottles of beer on the wall, no more bottles of beer.\n" +
@@ -52,7 +52,7 @@ public class BeerSongTest {
52 52
                 beerSong.verse(0));
53 53
     }
54 54
 
55
-    @Ignore
55
+    @Ignore("Remove to run test")
56 56
     @Test
57 57
     public void singLastFourVerses() {
58 58
         assertEquals("3 bottles of beer on the wall, 3 bottles of beer.\n" +
@@ -66,7 +66,7 @@ public class BeerSongTest {
66 66
                 beerSong.sing(3,0));
67 67
     }
68 68
 
69
-    @Ignore
69
+    @Ignore("Remove to run test")
70 70
     @Test
71 71
     public void singEntireSong() {
72 72
         assertEquals("99 bottles of beer on the wall, 99 bottles of beer.\nTake one down and pass it around, 98 bottles of beer on the wall.\n\n" +