Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Commit 3e20d0e

Browse files
author
Nikhil Bhoski
committed
Changed the Artifcat names in build tester.
1 parent 88e292e commit 3e20d0e

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

src/test/java/com/mathworks/ci/RunMatlabTestsBuilderTester.java

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@
2727

2828
public class RunMatlabTestsBuilderTester extends RunMatlabTestsBuilder {
2929

30-
private TapArtifact tapChkBx;
31-
private JunitArtifact junitChkBx;
32-
private CoberturaArtifact coberturaChkBx;
33-
private StmResultsArtifact stmResultsChkBx;
34-
private ModelCovArtifact modelCoverageChkBx;
35-
private PdfArtifact pdfReportChkBx;
30+
private Artifact tapArtifact = new NullArtifact();;
31+
private Artifact junitArtifact = new NullArtifact();;
32+
private Artifact coberturaArtifact = new NullArtifact();;
33+
private Artifact stmResultsArtifact = new NullArtifact();;
34+
private Artifact modelCoverageArtifact = new NullArtifact();
35+
private Artifact pdfReportArtifact = new NullArtifact();;
3636
private EnvVars env;
3737
private int buildResult;
3838
private MatlabReleaseInfo matlabRel;
@@ -54,57 +54,57 @@ public RunMatlabTestsBuilderTester(String matlabExecutorPath, String customTestP
5454

5555

5656
@DataBoundSetter
57-
public void setTapChkBx(TapArtifact tapChkBx) {
58-
this.tapChkBx = tapChkBx;
57+
public void setTapChkBx(TapArtifact tapArtifact) {
58+
this.tapArtifact = tapArtifact;
5959
}
6060

6161
@DataBoundSetter
62-
public void setJunitChkBx(JunitArtifact junitChkBx) {
63-
this.junitChkBx = junitChkBx;
62+
public void setJunitChkBx(JunitArtifact junitArtifact) {
63+
this.junitArtifact = junitArtifact;
6464
}
6565

6666
@DataBoundSetter
67-
public void setCoberturaChkBx(CoberturaArtifact coberturaChkBx) {
68-
this.coberturaChkBx = coberturaChkBx;
67+
public void setCoberturaChkBx(CoberturaArtifact coberturaArtifact) {
68+
this.coberturaArtifact = coberturaArtifact;
6969
}
7070

7171
@DataBoundSetter
72-
public void setStmResultsChkBx(StmResultsArtifact stmResultsChkBx) {
73-
this.stmResultsChkBx = stmResultsChkBx;
72+
public void setStmResultsChkBx(StmResultsArtifact stmResultsArtifact) {
73+
this.stmResultsArtifact = stmResultsArtifact;
7474
}
7575

7676
@DataBoundSetter
77-
public void setModelCoverageChkBx(ModelCovArtifact modelCoverageChkBx) {
78-
this.modelCoverageChkBx = modelCoverageChkBx;
77+
public void setModelCoverageChkBx(ModelCovArtifact modelCoverageArtifact) {
78+
this.modelCoverageArtifact = modelCoverageArtifact;
7979
}
8080

8181
@DataBoundSetter
82-
public void setPdfReportChkBx(PdfArtifact pdfReportChkBx) {
83-
this.pdfReportChkBx = pdfReportChkBx;
82+
public void setPdfReportChkBx(PdfArtifact pdfReportArtifact) {
83+
this.pdfReportArtifact = pdfReportArtifact;
8484
}
8585

86-
public TapArtifact getTapChkBx() {
87-
return tapChkBx;
86+
public Artifact getTapChkBx() {
87+
return tapArtifact;
8888
}
8989

90-
public JunitArtifact getJunitChkBx() {
91-
return junitChkBx;
90+
public Artifact getJunitChkBx() {
91+
return junitArtifact;
9292
}
9393

94-
public CoberturaArtifact getCoberturaChkBx() {
95-
return coberturaChkBx;
94+
public Artifact getCoberturaChkBx() {
95+
return coberturaArtifact;
9696
}
9797

98-
public StmResultsArtifact getStmResultsChkBx() {
99-
return stmResultsChkBx;
98+
public Artifact getStmResultsChkBx() {
99+
return stmResultsArtifact;
100100
}
101101

102-
public ModelCovArtifact getModelCoverageChkBx() {
103-
return modelCoverageChkBx;
102+
public Artifact getModelCoverageChkBx() {
103+
return modelCoverageArtifact;
104104
}
105105

106-
public PdfArtifact getPdfReportChkBx() {
107-
return pdfReportChkBx;
106+
public Artifact getPdfReportChkBx() {
107+
return pdfReportArtifact;
108108
}
109109

110110
private void setEnv(EnvVars env) {

0 commit comments

Comments
 (0)