Bladeren bron

beer-song: add hint to @Ignore annotations

Frida Johanne Tveit 9 jaren geleden
bovenliggende
commit
93859877ec
1 gewijzigde bestanden met toevoegingen van 6 en 6 verwijderingen
  1. 6
    6
      exercises/beer-song/src/test/java/BeerSongTest.java

+ 6
- 6
exercises/beer-song/src/test/java/BeerSongTest.java Bestand weergeven

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