@@ -79,7 +79,7 @@ public void verifyBuildStepWithRunMatlab() throws Exception {
7979 public void verifyBuildFailureWhenMatlabBuildFails () throws Exception {
8080 this .buildWrapper .setMatlabBuildWrapperContent (new MatlabBuildWrapperContent (Message .getValue ("matlab.custom.location" ), Utilities .getMatlabRoot ()));
8181 project .getBuildWrappersList ().add (this .buildWrapper );
82- project .setScm (new ExtractResourceSCM (Utilities .getRunMATLABTestsData ()));
82+ project .setScm (new ExtractResourceSCM (Utilities .getURLForTestData ()));
8383
8484 this .runBuilder .setTasks ("invalid_task" );
8585
@@ -97,7 +97,7 @@ public void verifyBuildFailureWhenMatlabBuildFails() throws Exception {
9797 public void verifyBuildPassesWhenMatlabBuildPasses () throws Exception {
9898 this .buildWrapper .setMatlabBuildWrapperContent (new MatlabBuildWrapperContent (Message .getValue ("matlab.custom.location" ), Utilities .getMatlabRoot ()));
9999 project .getBuildWrappersList ().add (this .buildWrapper );
100- project .setScm (new ExtractResourceSCM (Utilities .getRunMATLABTestsData ()));
100+ project .setScm (new ExtractResourceSCM (Utilities .getURLForTestData ()));
101101
102102 this .runBuilder .setTasks ("check" );
103103 project .getBuildersList ().add (this .runBuilder );
@@ -111,7 +111,7 @@ public void verifyBuildPassesWhenMatlabBuildPasses() throws Exception {
111111 public void verifyDefaultTaskForNoTaskInput () throws Exception {
112112 this .buildWrapper .setMatlabBuildWrapperContent (new MatlabBuildWrapperContent (Message .getValue ("matlab.custom.location" ), Utilities .getMatlabRoot ()));
113113 project .getBuildWrappersList ().add (this .buildWrapper );
114- project .setScm (new ExtractResourceSCM (Utilities .getRunMATLABTestsData ()));
114+ project .setScm (new ExtractResourceSCM (Utilities .getURLForTestData ()));
115115
116116 project .getBuildersList ().add (this .runBuilder );
117117 FreeStyleBuild build = project .scheduleBuild2 (0 ).get ();
@@ -126,7 +126,7 @@ public void verifyDefaultTaskForNoTaskInput() throws Exception {
126126 public void verifyRunningMultipleTasks () throws Exception {
127127 this .buildWrapper .setMatlabBuildWrapperContent (new MatlabBuildWrapperContent (Message .getValue ("matlab.custom.location" ), Utilities .getMatlabRoot ()));
128128 project .getBuildWrappersList ().add (this .buildWrapper );
129- project .setScm (new ExtractResourceSCM (Utilities .getRunMATLABTestsData ()));
129+ project .setScm (new ExtractResourceSCM (Utilities .getURLForTestData ()));
130130
131131 this .runBuilder .setTasks ("check dummy" );
132132 project .getBuildersList ().add (this .runBuilder );
@@ -141,7 +141,7 @@ public void verifyRunningMultipleTasks() throws Exception {
141141 public void verifySpecifyingBuildOptions () throws Exception {
142142 this .buildWrapper .setMatlabBuildWrapperContent (new MatlabBuildWrapperContent (Message .getValue ("matlab.custom.location" ), Utilities .getMatlabRoot ()));
143143 project .getBuildWrappersList ().add (this .buildWrapper );
144- project .setScm (new ExtractResourceSCM (Utilities .getRunMATLABTestsData ()));
144+ project .setScm (new ExtractResourceSCM (Utilities .getURLForTestData ()));
145145
146146 this .runBuilder .setTasks ("check test dummy" );
147147 this .runBuilder .setBuildOptions (new BuildOptions ("-continueOnFailure -skip check" ));
@@ -193,7 +193,7 @@ public void verifyBuildSupportsEnvVar() throws Exception {
193193 public void verifyBuildSummaryInBuildStatusPage () throws Exception {
194194 this .buildWrapper .setMatlabBuildWrapperContent (new MatlabBuildWrapperContent (Message .getValue ("matlab.custom.location" ), Utilities .getMatlabRoot ()));
195195 project .getBuildWrappersList ().add (this .buildWrapper );
196- project .setScm (new ExtractResourceSCM (Utilities .getRunMATLABTestsData ()));
196+ project .setScm (new ExtractResourceSCM (Utilities .getURLForTestData ()));
197197
198198 this .runBuilder .setTasks ("check test dummy" );
199199 this .runBuilder .setBuildOptions (new BuildOptions ("-continueOnFailure -skip dummy" ));
@@ -214,7 +214,7 @@ public void verifyBuildSummaryInBuildStatusPage() throws Exception {
214214 public void verifyHyperlinkFromSummaryAndSidePanelAreSame () throws Exception {
215215 this .buildWrapper .setMatlabBuildWrapperContent (new MatlabBuildWrapperContent (Message .getValue ("matlab.custom.location" ), Utilities .getMatlabRoot ()));
216216 project .getBuildWrappersList ().add (this .buildWrapper );
217- project .setScm (new ExtractResourceSCM (Utilities .getRunMATLABTestsData ()));
217+ project .setScm (new ExtractResourceSCM (Utilities .getURLForTestData ()));
218218
219219 this .runBuilder .setTasks ("check test dummy" );
220220 this .runBuilder .setBuildOptions (new BuildOptions ("-continueOnFailure -skip dummy" ));
0 commit comments