Quellcode durchsuchen

space-age: add hint to @Ignore annotations

ref #448
morrme vor 9 Jahren
Ursprung
Commit
c5ec92705a
1 geänderte Dateien mit 8 neuen und 8 gelöschten Zeilen
  1. 8
    8
      exercises/space-age/src/test/java/SpaceAgeTest.java

+ 8
- 8
exercises/space-age/src/test/java/SpaceAgeTest.java Datei anzeigen

@@ -15,7 +15,7 @@ public class SpaceAgeTest {
15 15
         assertEquals(1000000, age.getSeconds(), MAXIMUM_DELTA);
16 16
     }
17 17
 
18
-    @Ignore
18
+    @Ignore("Remove to run test")
19 19
     @Test
20 20
     public void ageOnEarth() {
21 21
         SpaceAge age = new SpaceAge(1000000000);
@@ -23,7 +23,7 @@ public class SpaceAgeTest {
23 23
         assertEquals(31.69, age.onEarth(), MAXIMUM_DELTA);
24 24
     }
25 25
 
26
-    @Ignore
26
+    @Ignore("Remove to run test")
27 27
     @Test
28 28
     public void ageOnMercury() {
29 29
         SpaceAge age = new SpaceAge(2134835688);
@@ -32,7 +32,7 @@ public class SpaceAgeTest {
32 32
         assertEquals(280.88, age.onMercury(), MAXIMUM_DELTA);
33 33
     }
34 34
 
35
-    @Ignore
35
+    @Ignore("Remove to run test")
36 36
     @Test
37 37
     public void ageOnVenus() {
38 38
         SpaceAge age = new SpaceAge(189839836);
@@ -41,7 +41,7 @@ public class SpaceAgeTest {
41 41
         assertEquals(9.78, age.onVenus(), MAXIMUM_DELTA);
42 42
     }
43 43
 
44
-    @Ignore
44
+    @Ignore("Remove to run test")
45 45
     @Test
46 46
     public void ageOnMars() {
47 47
         SpaceAge age = new SpaceAge(2329871239L);
@@ -50,7 +50,7 @@ public class SpaceAgeTest {
50 50
         assertEquals(39.25, age.onMars(), MAXIMUM_DELTA);
51 51
     }
52 52
 
53
-    @Ignore
53
+    @Ignore("Remove to run test")
54 54
     @Test
55 55
     public void ageOnJupiter() {
56 56
         SpaceAge age = new SpaceAge(901876382);
@@ -59,7 +59,7 @@ public class SpaceAgeTest {
59 59
         assertEquals(2.41, age.onJupiter(), MAXIMUM_DELTA);
60 60
     }
61 61
 
62
-    @Ignore
62
+    @Ignore("Remove to run test")
63 63
     @Test
64 64
     public void ageOnSaturn() {
65 65
         SpaceAge age = new SpaceAge(3000000000L);
@@ -68,7 +68,7 @@ public class SpaceAgeTest {
68 68
         assertEquals(3.23, age.onSaturn(), MAXIMUM_DELTA);
69 69
     }
70 70
 
71
-    @Ignore
71
+    @Ignore("Remove to run test")
72 72
     @Test
73 73
     public void ageOnUranus() {
74 74
         SpaceAge age = new SpaceAge(3210123456L);
@@ -77,7 +77,7 @@ public class SpaceAgeTest {
77 77
         assertEquals(1.21, age.onUranus(), MAXIMUM_DELTA);
78 78
     }
79 79
 
80
-    @Ignore
80
+    @Ignore("Remove to run test")
81 81
     @Test
82 82
     public void ageOnNeptune() {
83 83
         SpaceAge age = new SpaceAge(8210123456L);