Skip to content

Commit

Permalink
Prepare for API change in JUnit.
Browse files Browse the repository at this point in the history
  • Loading branch information
Edgars Batna committed Jul 23, 2024
1 parent 225d1e0 commit 0018bf0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@

import java.io.IOException;
import java.net.URL;
import java.util.Collection;
import java.util.Collections;
import java.util.List;

Expand Down Expand Up @@ -78,7 +79,7 @@ public void annotationDoesNotFailForPipeline() throws Exception {
TestResultAction action = getTestResultActionForPipeline("workspace2.zip", "pipelineTest.groovy", Result.UNSTABLE);

ClassResult cr = getClassResult(action, TEST_PACKAGE, "SignupTest");
List<CaseResult> caseResults = cr.getChildren();
Collection<CaseResult> caseResults = cr.getChildren();
assertEquals(3, caseResults.size());

CaseResult failingCase = cr.getCaseResult("A_003_Type_the_text__jenkins__into_the_field__username_");
Expand Down

0 comments on commit 0018bf0

Please sign in to comment.