Преглед изворни кода

rectangles: add hint to @Ignore annotations

morrme пре 9 година
родитељ
комит
2f6bb44e74
1 измењених фајлова са 11 додато и 11 уклоњено
  1. 11
    11
      exercises/rectangles/src/test/java/RectangleCounterTest.java

+ 11
- 11
exercises/rectangles/src/test/java/RectangleCounterTest.java Прегледај датотеку

@@ -20,7 +20,7 @@ public final class RectangleCounterTest {
20 20
         assertEquals(0, rectangleCounter.countRectangles(inputGrid));
21 21
     }
22 22
 
23
-    @Ignore
23
+    @Ignore("Remove to run test")
24 24
     @Test
25 25
     public void testNonTrivialInputWithNoRectangles() {
26 26
         String[] inputGrid = new String[]{" "};
@@ -28,7 +28,7 @@ public final class RectangleCounterTest {
28 28
         assertEquals(0, rectangleCounter.countRectangles(inputGrid));
29 29
     }
30 30
 
31
-    @Ignore
31
+    @Ignore("Remove to run test")
32 32
     @Test
33 33
     public void testInputWithOneRectangle() {
34 34
         String[] inputGrid = new String[]{
@@ -40,7 +40,7 @@ public final class RectangleCounterTest {
40 40
         assertEquals(1, rectangleCounter.countRectangles(inputGrid));
41 41
     }
42 42
 
43
-    @Ignore
43
+    @Ignore("Remove to run test")
44 44
     @Test
45 45
     public void testInputWithTwoRectanglesWithoutSharedEdges() {
46 46
         String[] inputGrid = new String[]{
@@ -54,7 +54,7 @@ public final class RectangleCounterTest {
54 54
         assertEquals(2, rectangleCounter.countRectangles(inputGrid));
55 55
     }
56 56
 
57
-    @Ignore
57
+    @Ignore("Remove to run test")
58 58
     @Test
59 59
     public void testInputWithFiveRectanglesWithSharedEdges() {
60 60
         String[] inputGrid = new String[]{
@@ -68,7 +68,7 @@ public final class RectangleCounterTest {
68 68
         assertEquals(5, rectangleCounter.countRectangles(inputGrid));
69 69
     }
70 70
 
71
-    @Ignore
71
+    @Ignore("Remove to run test")
72 72
     @Test
73 73
     public void testThatRectangleOfHeightOneIsCounted() {
74 74
         String[] inputGrid = new String[]{
@@ -79,7 +79,7 @@ public final class RectangleCounterTest {
79 79
         assertEquals(1, rectangleCounter.countRectangles(inputGrid));
80 80
     }
81 81
 
82
-    @Ignore
82
+    @Ignore("Remove to run test")
83 83
     @Test
84 84
     public void testThatRectangleOfWidthOneIsCounted() {
85 85
         String[] inputGrid = new String[]{
@@ -91,7 +91,7 @@ public final class RectangleCounterTest {
91 91
         assertEquals(1, rectangleCounter.countRectangles(inputGrid));
92 92
     }
93 93
 
94
-    @Ignore
94
+    @Ignore("Remove to run test")
95 95
     @Test
96 96
     public void testThatOneByOneSquareIsCounted() {
97 97
         String[] inputGrid = new String[]{
@@ -102,7 +102,7 @@ public final class RectangleCounterTest {
102 102
         assertEquals(1, rectangleCounter.countRectangles(inputGrid));
103 103
     }
104 104
 
105
-    @Ignore
105
+    @Ignore("Remove to run test")
106 106
     @Test
107 107
     public void testThatIncompleteRectanglesAreNotCounted() {
108 108
         String[] inputGrid = new String[]{
@@ -116,7 +116,7 @@ public final class RectangleCounterTest {
116 116
         assertEquals(1, rectangleCounter.countRectangles(inputGrid));
117 117
     }
118 118
 
119
-    @Ignore
119
+    @Ignore("Remove to run test")
120 120
     @Test
121 121
     public void testThatRectanglesOfDifferentSizesAreAllCounted() {
122 122
         String[] inputGrid = new String[]{
@@ -130,7 +130,7 @@ public final class RectangleCounterTest {
130 130
         assertEquals(3, rectangleCounter.countRectangles(inputGrid));
131 131
     }
132 132
 
133
-    @Ignore
133
+    @Ignore("Remove to run test")
134 134
     @Test
135 135
     public void testThatIntersectionsWithoutCornerCharacterDoNotCountAsRectangleCorners() {
136 136
         String[] inputGrid = new String[]{
@@ -144,7 +144,7 @@ public final class RectangleCounterTest {
144 144
         assertEquals(2, rectangleCounter.countRectangles(inputGrid));
145 145
     }
146 146
 
147
-    @Ignore
147
+    @Ignore("Remove to run test")
148 148
     @Test
149 149
     public void testLargeInputWithManyRectangles() {
150 150
         String[] inputGrid = new String[]{