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

Commit d69e644

Browse files
committed
Use teat data
1 parent 1dbb9b1 commit d69e644

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/test/java/com/mathworks/ci/systemTests/RunMATLABTestsIT.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ public void verifyTestsAreFilteredDSL() throws Exception{
304304
" stage('Run MATLAB Command') {\n" +
305305
" steps\n" +
306306
" {\n" +
307-
" unzip '/C:/Users/vkayithi/jenkins/mpm_dev_main/jenkins-matlab-plugin/src/test/resources/TestData/FilterTestData.zip' \n" +
307+
addTestData() + "\n" +
308308
" runMATLABTests(sourceFolder:['src'], selectByFolder: ['test/TestMultiply', 'test/TestSquare'], selectByTag: 'TestTag')"+
309309
" }\n" +
310310
" }\n" +
@@ -316,11 +316,7 @@ public void verifyTestsAreFilteredDSL() throws Exception{
316316
jenkins.assertLogNotContains("Running squareTest", build);
317317
jenkins.assertBuildStatus(Result.SUCCESS,build);
318318
}
319-
320-
321-
322-
323-
319+
324320
@Test
325321
public void verifyCmdOptions() throws Exception {
326322
String script = "node {runMATLABTests(testResultsPDF:'myresult/result.pdf')}";

0 commit comments

Comments
 (0)