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

Merge pull request #470 from morrme/ignoresechandshake

secret-handshake: add hint to @Ignore annotations
FridaTveit 9 лет назад
Родитель
Сommit
2c2f2ee5ce
1 измененных файлов: 11 добавлений и 11 удалений
  1. 11
    11
      exercises/secret-handshake/src/test/java/HandshakeCalculatorTest.java

+ 11
- 11
exercises/secret-handshake/src/test/java/HandshakeCalculatorTest.java Просмотреть файл

23
                 handshakeCalculator.calculateHandshake(1));
23
                 handshakeCalculator.calculateHandshake(1));
24
     }
24
     }
25
 
25
 
26
-    @Ignore
26
+    @Ignore("Remove to run test")
27
     @Test
27
     @Test
28
     public void testThatInput2YieldsADoubleBlink() {
28
     public void testThatInput2YieldsADoubleBlink() {
29
         assertEquals(
29
         assertEquals(
31
                 handshakeCalculator.calculateHandshake(2));
31
                 handshakeCalculator.calculateHandshake(2));
32
     }
32
     }
33
 
33
 
34
-    @Ignore
34
+    @Ignore("Remove to run test")
35
     @Test
35
     @Test
36
     public void testThatInput4YieldsACloseYourEyes() {
36
     public void testThatInput4YieldsACloseYourEyes() {
37
         assertEquals(
37
         assertEquals(
39
                 handshakeCalculator.calculateHandshake(4));
39
                 handshakeCalculator.calculateHandshake(4));
40
     }
40
     }
41
 
41
 
42
-    @Ignore
42
+    @Ignore("Remove to run test")
43
     @Test
43
     @Test
44
     public void testThatInput8YieldsAJump() {
44
     public void testThatInput8YieldsAJump() {
45
         assertEquals(
45
         assertEquals(
47
                handshakeCalculator.calculateHandshake(8));
47
                handshakeCalculator.calculateHandshake(8));
48
     }
48
     }
49
 
49
 
50
-    @Ignore
50
+    @Ignore("Remove to run test")
51
     @Test
51
     @Test
52
     public void testAnInputThatYieldsTwoActions() {
52
     public void testAnInputThatYieldsTwoActions() {
53
         assertEquals(
53
         assertEquals(
55
                 handshakeCalculator.calculateHandshake(3));
55
                 handshakeCalculator.calculateHandshake(3));
56
     }
56
     }
57
 
57
 
58
-    @Ignore
58
+    @Ignore("Remove to run test")
59
     @Test
59
     @Test
60
     public void testAnInputThatYieldsTwoReversedActions() {
60
     public void testAnInputThatYieldsTwoReversedActions() {
61
         assertEquals(
61
         assertEquals(
63
                handshakeCalculator.calculateHandshake(19));
63
                handshakeCalculator.calculateHandshake(19));
64
     }
64
     }
65
 
65
 
66
-    @Ignore
66
+    @Ignore("Remove to run test")
67
     @Test
67
     @Test
68
     public void testReversingASingleActionYieldsTheSameAction() {
68
     public void testReversingASingleActionYieldsTheSameAction() {
69
         assertEquals(
69
         assertEquals(
71
                 handshakeCalculator.calculateHandshake(24));
71
                 handshakeCalculator.calculateHandshake(24));
72
     }
72
     }
73
 
73
 
74
-    @Ignore
74
+    @Ignore("Remove to run test")
75
     @Test
75
     @Test
76
     public void testReversingNoActionsYieldsNoActions() {
76
     public void testReversingNoActionsYieldsNoActions() {
77
         assertEquals(
77
         assertEquals(
79
                 handshakeCalculator.calculateHandshake(16));
79
                 handshakeCalculator.calculateHandshake(16));
80
     }
80
     }
81
 
81
 
82
-    @Ignore
82
+    @Ignore("Remove to run test")
83
     @Test
83
     @Test
84
     public void testInputThatYieldsAllActions() {
84
     public void testInputThatYieldsAllActions() {
85
         assertEquals(
85
         assertEquals(
87
                 handshakeCalculator.calculateHandshake(15));
87
                 handshakeCalculator.calculateHandshake(15));
88
     }
88
     }
89
 
89
 
90
-    @Ignore
90
+    @Ignore("Remove to run test")
91
     @Test
91
     @Test
92
     public void testInputThatYieldsAllActionsReversed() {
92
     public void testInputThatYieldsAllActionsReversed() {
93
         assertEquals(
93
         assertEquals(
95
                 handshakeCalculator.calculateHandshake(31));
95
                 handshakeCalculator.calculateHandshake(31));
96
     }
96
     }
97
 
97
 
98
-    @Ignore
98
+    @Ignore("Remove to run test")
99
     @Test
99
     @Test
100
     public void testThatInput0YieldsNoActions() {
100
     public void testThatInput0YieldsNoActions() {
101
         assertEquals(
101
         assertEquals(
103
                 handshakeCalculator.calculateHandshake(0));
103
                 handshakeCalculator.calculateHandshake(0));
104
     }
104
     }
105
 
105
 
106
-    @Ignore
106
+    @Ignore("Remove to run test")
107
     @Test
107
     @Test
108
     public void testThatInputWithLower5BitsNotSetYieldsNoActions() {
108
     public void testThatInputWithLower5BitsNotSetYieldsNoActions() {
109
         assertEquals(
109
         assertEquals(