@@ -79,7 +79,7 @@ public void verifyBuildStepWithRunMatlab() throws Exception {
79
79
public void verifyBuildFailureWhenMatlabBuildFails () throws Exception {
80
80
this .buildWrapper .setMatlabBuildWrapperContent (new MatlabBuildWrapperContent (Message .getValue ("matlab.custom.location" ), Utilities .getMatlabRoot ()));
81
81
project .getBuildWrappersList ().add (this .buildWrapper );
82
- project .setScm (new ExtractResourceSCM (Utilities .getRunMATLABTestsData ()));
82
+ project .setScm (new ExtractResourceSCM (Utilities .getURLForTestData ()));
83
83
84
84
this .runBuilder .setTasks ("invalid_task" );
85
85
@@ -97,7 +97,7 @@ public void verifyBuildFailureWhenMatlabBuildFails() throws Exception {
97
97
public void verifyBuildPassesWhenMatlabBuildPasses () throws Exception {
98
98
this .buildWrapper .setMatlabBuildWrapperContent (new MatlabBuildWrapperContent (Message .getValue ("matlab.custom.location" ), Utilities .getMatlabRoot ()));
99
99
project .getBuildWrappersList ().add (this .buildWrapper );
100
- project .setScm (new ExtractResourceSCM (Utilities .getRunMATLABTestsData ()));
100
+ project .setScm (new ExtractResourceSCM (Utilities .getURLForTestData ()));
101
101
102
102
this .runBuilder .setTasks ("check" );
103
103
project .getBuildersList ().add (this .runBuilder );
@@ -111,7 +111,7 @@ public void verifyBuildPassesWhenMatlabBuildPasses() throws Exception {
111
111
public void verifyDefaultTaskForNoTaskInput () throws Exception {
112
112
this .buildWrapper .setMatlabBuildWrapperContent (new MatlabBuildWrapperContent (Message .getValue ("matlab.custom.location" ), Utilities .getMatlabRoot ()));
113
113
project .getBuildWrappersList ().add (this .buildWrapper );
114
- project .setScm (new ExtractResourceSCM (Utilities .getRunMATLABTestsData ()));
114
+ project .setScm (new ExtractResourceSCM (Utilities .getURLForTestData ()));
115
115
116
116
project .getBuildersList ().add (this .runBuilder );
117
117
FreeStyleBuild build = project .scheduleBuild2 (0 ).get ();
@@ -126,7 +126,7 @@ public void verifyDefaultTaskForNoTaskInput() throws Exception {
126
126
public void verifyRunningMultipleTasks () throws Exception {
127
127
this .buildWrapper .setMatlabBuildWrapperContent (new MatlabBuildWrapperContent (Message .getValue ("matlab.custom.location" ), Utilities .getMatlabRoot ()));
128
128
project .getBuildWrappersList ().add (this .buildWrapper );
129
- project .setScm (new ExtractResourceSCM (Utilities .getRunMATLABTestsData ()));
129
+ project .setScm (new ExtractResourceSCM (Utilities .getURLForTestData ()));
130
130
131
131
this .runBuilder .setTasks ("check dummy" );
132
132
project .getBuildersList ().add (this .runBuilder );
@@ -141,7 +141,7 @@ public void verifyRunningMultipleTasks() throws Exception {
141
141
public void verifySpecifyingBuildOptions () throws Exception {
142
142
this .buildWrapper .setMatlabBuildWrapperContent (new MatlabBuildWrapperContent (Message .getValue ("matlab.custom.location" ), Utilities .getMatlabRoot ()));
143
143
project .getBuildWrappersList ().add (this .buildWrapper );
144
- project .setScm (new ExtractResourceSCM (Utilities .getRunMATLABTestsData ()));
144
+ project .setScm (new ExtractResourceSCM (Utilities .getURLForTestData ()));
145
145
146
146
this .runBuilder .setTasks ("check test dummy" );
147
147
this .runBuilder .setBuildOptions (new BuildOptions ("-continueOnFailure -skip check" ));
@@ -193,7 +193,7 @@ public void verifyBuildSupportsEnvVar() throws Exception {
193
193
public void verifyBuildSummaryInBuildStatusPage () throws Exception {
194
194
this .buildWrapper .setMatlabBuildWrapperContent (new MatlabBuildWrapperContent (Message .getValue ("matlab.custom.location" ), Utilities .getMatlabRoot ()));
195
195
project .getBuildWrappersList ().add (this .buildWrapper );
196
- project .setScm (new ExtractResourceSCM (Utilities .getRunMATLABTestsData ()));
196
+ project .setScm (new ExtractResourceSCM (Utilities .getURLForTestData ()));
197
197
198
198
this .runBuilder .setTasks ("check test dummy" );
199
199
this .runBuilder .setBuildOptions (new BuildOptions ("-continueOnFailure -skip dummy" ));
@@ -214,7 +214,7 @@ public void verifyBuildSummaryInBuildStatusPage() throws Exception {
214
214
public void verifyHyperlinkFromSummaryAndSidePanelAreSame () throws Exception {
215
215
this .buildWrapper .setMatlabBuildWrapperContent (new MatlabBuildWrapperContent (Message .getValue ("matlab.custom.location" ), Utilities .getMatlabRoot ()));
216
216
project .getBuildWrappersList ().add (this .buildWrapper );
217
- project .setScm (new ExtractResourceSCM (Utilities .getRunMATLABTestsData ()));
217
+ project .setScm (new ExtractResourceSCM (Utilities .getURLForTestData ()));
218
218
219
219
this .runBuilder .setTasks ("check test dummy" );
220
220
this .runBuilder .setBuildOptions (new BuildOptions ("-continueOnFailure -skip dummy" ));
0 commit comments