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

kindergarten-garden: clarify test names

For the custom garden tests it wasn't very clear that the students will
be sorted in alphabetial order before being assinged their plants. This
has been added to the test names to make it more clear.
Frida Tveit 9 лет назад
Родитель
Сommit
14f28656ee

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

@@ -126,7 +126,7 @@ public class KindergartenGardenTest {
126 126
 
127 127
     @Ignore("Remove to run test")
128 128
     @Test
129
-    public void customStudentGardenFirstStudent() {
129
+    public void customStudentGardenFirstStudentInAlphabeticalOrder() {
130 130
         String[] studentArray = {"Samantha", "Patricia", "Xander", "Roger"};
131 131
         String student = "Patricia";
132 132
         String plants = "VCRRGVRG\nRVGCCGCV";
@@ -140,7 +140,7 @@ public class KindergartenGardenTest {
140 140
 
141 141
     @Ignore("Remove to run test")
142 142
     @Test
143
-    public void customStudentGardenSecondStudent() {
143
+    public void customStudentGardenSecondStudentInAlphabeticalOrder() {
144 144
         String[] studentArray = {"Samantha", "Patricia", "Xander", "Roger"};
145 145
         String student = "Roger";
146 146
         String plants = "VCRRGVRG\nRVGCCGCV";
@@ -154,7 +154,7 @@ public class KindergartenGardenTest {
154 154
 
155 155
     @Ignore("Remove to run test")
156 156
     @Test
157
-    public void customStudentGardenThirdStudent() {
157
+    public void customStudentGardenThirdStudentInAlphabeticalOrder() {
158 158
         String[] studentArray = {"Samantha", "Patricia", "Xander", "Roger"};
159 159
         String student = "Samantha";
160 160
         String plants = "VCRRGVRG\nRVGCCGCV";
@@ -168,7 +168,7 @@ public class KindergartenGardenTest {
168 168
 
169 169
     @Ignore("Remove to run test")
170 170
     @Test
171
-    public void customStudentGardenFourthStudent() {
171
+    public void customStudentGardenFourthStudentInAlphabeticalOrder() {
172 172
         String[] studentArray = {"Samantha", "Patricia", "Xander", "Roger"};
173 173
         String student = "Xander";
174 174
         String plants = "VCRRGVRG\nRVGCCGCV";