This repository was archived by the owner on Mar 27, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +0
-26
lines changed
src/test/java/com/mathworks/ci/systemTests Expand file tree Collapse file tree 2 files changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -199,22 +199,6 @@ public void verifyPipelineOnSlave() throws Exception {
199199 assertEquals (countMatches (jenkins .getLog (build ), Utilities .getMatlabRoot ()), 1 );
200200 }
201201
202- @ Test
203- public void verifyMATLABscratchFileNotGenerated () throws Exception {
204- FreeStyleProject project = jenkins .createFreeStyleProject ();
205- UseMatlabVersionBuildWrapper buildWrapper = new UseMatlabVersionBuildWrapper ();
206- RunMatlabCommandBuilder scriptBuilder = new RunMatlabCommandBuilder ();
207-
208- buildWrapper .setMatlabBuildWrapperContent (
209- new MatlabBuildWrapperContent (Message .getValue ("matlab.custom.location" ), Utilities .getMatlabRoot ()));
210- project .getBuildWrappersList ().add (buildWrapper );
211- scriptBuilder .setMatlabCommand ("pwd" );
212- project .getBuildersList ().add (scriptBuilder );
213- FreeStyleBuild build = project .scheduleBuild2 (0 ).get ();
214- File matlabRunner = new File (build .getWorkspace () + File .separator + "runMatlabTests.m" );
215- Assert .assertFalse (matlabRunner .exists ());
216- }
217-
218202 @ Test
219203 public void verifyCommandSupportsEnvVar () throws Exception {
220204 FreeStyleProject project = jenkins .createFreeStyleProject ();
Original file line number Diff line number Diff line change @@ -157,16 +157,6 @@ public void verifyEmptyParameters() throws Exception {
157157 jenkins .assertLogNotContains ("'Strict'" , build );
158158 jenkins .assertLogNotContains ("'SourceFolder'" , build );
159159 }
160- @ Test
161- public void verifyMATLABscratchFileNotGenerated () throws Exception {
162- this .buildWrapper .setMatlabBuildWrapperContent (
163- new MatlabBuildWrapperContent (Message .getValue ("matlab.custom.location" ), Utilities .getMatlabRoot ()));
164- project .getBuildWrappersList ().add (this .buildWrapper );
165- project .getBuildersList ().add (testBuilder );
166- FreeStyleBuild build = project .scheduleBuild2 (0 ).get ();
167- File matlabRunner = new File (build .getWorkspace () + File .separator + "runnerScript.m" );
168- Assert .assertFalse (matlabRunner .exists ());
169- }
170160
171161 @ Test
172162 public void verifyOutputDetailSetToDefault () throws Exception {
You can’t perform that action at this time.
0 commit comments