This repository was archived by the owner on Nov 19, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
src/test/java/hudson/plugins/jacococoveragecolumn Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 23
23
24
24
import static org .junit .Assert .assertEquals ;
25
25
import static org .junit .Assert .assertNotNull ;
26
+ import org .kohsuke .stapler .StaplerRequest ;
26
27
27
28
public class BranchCoverageColumnTest {
28
29
@@ -69,7 +70,7 @@ protected synchronized void saveNextBuildNumber() {
69
70
@ Test
70
71
public void testDescriptor () throws FormException {
71
72
assertNotNull (sut .getDescriptor ());
72
- assertNotNull (sut .getDescriptor ().newInstance (null , JSONObject .fromObject ("{\" key\" :\" value\" }" )));
73
+ assertNotNull (sut .getDescriptor ().newInstance (( StaplerRequest ) null , JSONObject .fromObject ("{\" key\" :\" value\" }" )));
73
74
assertNotNull (sut .getDescriptor ().getDisplayName ());
74
75
}
75
76
Original file line number Diff line number Diff line change 23
23
import java .util .SortedMap ;
24
24
25
25
import static org .junit .Assert .*;
26
+ import org .kohsuke .stapler .StaplerRequest ;
26
27
27
28
public class JaCoCoColumnTest {
28
29
private JaCoCoColumn jaCoCoColumn ;
@@ -71,7 +72,7 @@ protected synchronized void saveNextBuildNumber() {
71
72
public void testDescriptor () throws FormException {
72
73
assertNotNull (jaCoCoColumn .getDescriptor ());
73
74
assertNotNull (
74
- jaCoCoColumn .getDescriptor ().newInstance (null , JSONObject .fromObject ("{\" key\" :\" value\" }" )));
75
+ jaCoCoColumn .getDescriptor ().newInstance (( StaplerRequest ) null , JSONObject .fromObject ("{\" key\" :\" value\" }" )));
75
76
assertNotNull (jaCoCoColumn .getDescriptor ().getDisplayName ());
76
77
}
77
78
You can’t perform that action at this time.
0 commit comments