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

gigasecond: add hint to @Ignore annotations

Ref. #448
morrme 9 лет назад
Родитель
Сommit
c12e06393c
1 измененных файлов: 4 добавлений и 4 удалений
  1. 4
    4
      exercises/gigasecond/src/test/java/GigasecondTest.java

+ 4
- 4
exercises/gigasecond/src/test/java/GigasecondTest.java Просмотреть файл

@@ -17,7 +17,7 @@ public class GigasecondTest {
17 17
         assertEquals(LocalDateTime.of(2043, Month.JANUARY, 1, 1, 46, 40), gigaSecond.getDate());
18 18
     }
19 19
 
20
-    @Ignore
20
+    @Ignore("Remove to run test")
21 21
     @Test
22 22
     public void afterEpochTime() {
23 23
         Gigasecond gigaSecond = new Gigasecond(LocalDate.of(1977, Month.JUNE, 13));
@@ -25,7 +25,7 @@ public class GigasecondTest {
25 25
         assertEquals(LocalDateTime.of(2009, Month.FEBRUARY, 19, 1, 46, 40), gigaSecond.getDate());
26 26
     }
27 27
 
28
-    @Ignore
28
+    @Ignore("Remove to run test")
29 29
     @Test
30 30
     public void beforeEpochTime() {
31 31
         Gigasecond gigaSecond = new Gigasecond(LocalDate.of(1959, Month.JULY, 19));
@@ -33,7 +33,7 @@ public class GigasecondTest {
33 33
         assertEquals(LocalDateTime.of(1991, Month.MARCH, 27, 1, 46, 40), gigaSecond.getDate());
34 34
     }
35 35
 
36
-    @Ignore
36
+    @Ignore("Remove to run test")
37 37
     @Test
38 38
     public void withFullTimeSpecified() {
39 39
         Gigasecond gigaSecond = new Gigasecond(LocalDateTime.of(2015, Month.JANUARY, 24, 22, 0, 0));
@@ -41,7 +41,7 @@ public class GigasecondTest {
41 41
         assertEquals(LocalDateTime.of(2046, Month.OCTOBER, 2, 23, 46, 40), gigaSecond.getDate());
42 42
     }
43 43
 
44
-    @Ignore
44
+    @Ignore("Remove to run test")
45 45
     @Test
46 46
     public void withFullTimeSpecifiedAndDayRollover() {
47 47
         Gigasecond gigaSecond = new Gigasecond(LocalDateTime.of(2015, Month.JANUARY, 24, 23, 59, 59));