Skip to content

Commit fa99631

Browse files
committed
debug
1 parent a5d8879 commit fa99631

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/testResultsSummary.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ export function writeSummary(testResults: MatlabTestFile[][], stats: TestStatist
5858
// .addRaw(`<b>Assertion failed</b> in TestExamples/testNonLeapYear and it did not run to completion.\n ---------------------\n Framework Diagnostic:\n ---------------------\n assertEqual failed.\n --> The numeric values are not equal using \"isequaln\".\n --> Failure table:\n Actual Expected Error RelativeError\n ______ ________ _____ _____________\n abc 1 2 -1 -0.5 \n \n Actual Value:\n 1\n Expected Value:\n 2\n ------------------\n Stack Information:\n ------------------\n In C:\\Users\\kapilg\\jenkins visualization\\test-results\\jenkins-matlab-plugin\\work\\workspace\\visualization\\tests\\TestExamples.m (TestExamples.testNonLeapYear) at 43`, true)
5959
// .addRaw(formatDiagnosticReport(`<b>Assertion failed</b> in TestExamples/testNonLeapYear and it did not run to completion.\n ---------------------\n Framework Diagnostic:\n ---------------------\n assertEqual failed.\n --> The numeric values are not equal using \"isequaln\".\n --> Failure table:\n Actual Expected Error RelativeError\n ______ ________ _____ _____________\n abc 1 2 -1 -0.5 \n \n Actual Value:\n 1\n Expected Value:\n 2\n ------------------\n Stack Information:\n ------------------\n In C:\\Users\\kapilg\\jenkins visualization\\test-results\\jenkins-matlab-plugin\\work\\workspace\\visualization\\tests\\TestExamples.m (TestExamples.testNonLeapYear) at 43`), true)
6060
// .addRaw(`<pre>Assertion failed in TestExamples/testNonLeapYear and it did not run to completion.\n ---------------------\n Framework Diagnostic:\n ---------------------\n assertEqual failed.\n --> The numeric values are not equal using \"isequaln\".\n --> Failure table:\n Actual Expected Error RelativeError\n ______ ________ _____ _____________\n \n 1 2 -1 -0.5 \n \n Actual Value:\n 1\n Expected Value:\n 2\n ------------------\n Stack Information:\n ------------------\n In C:\\Users\\kapilg\\jenkins visualization\\test-results\\jenkins-matlab-plugin\\work\\workspace\\visualization\\tests\\TestExamples.m (TestExamples.testNonLeapYear) at 43</pre>`, true)
61-
.addRaw(formatDiagnosticReport(`<pre>Assertion failed in TestExamples/testNonLeapYear and it did not run to completion.\n ---------------------\n Framework Diagnostic:\n ---------------------\n assertEqual failed.\n --> The numeric values are not equal using \"isequaln\".\n --> Failure table:\n Actual Expected Error RelativeError\n ______ ________ _____ _____________\n \n 1 2 -1 -0.5 \n \n Actual Value:\n 1\n Expected Value:\n 2\n ------------------\n Stack Information:\n ------------------\n In C:\\Users\\kapilg\\jenkins visualization\\test-results\\jenkins-matlab-plugin\\work\\workspace\\visualization\\tests\\TestExamples.m (TestExamples.testNonLeapYear) at 43</pre>`), true)
61+
// .addRaw(formatDiagnosticReport(`<pre>Assertion failed in TestExamples/testNonLeapYear and it did not run to completion.\n ---------------------\n Framework Diagnostic:\n ---------------------\n assertEqual failed.\n --> The numeric values are not equal using \"isequaln\".\n --> Failure table:\n Actual Expected Error RelativeError\n ______ ________ _____ _____________\n \n 1 2 -1 -0.5 \n \n Actual Value:\n 1\n Expected Value:\n 2\n ------------------\n Stack Information:\n ------------------\n In C:\\Users\\kapilg\\jenkins visualization\\test-results\\jenkins-matlab-plugin\\work\\workspace\\visualization\\tests\\TestExamples.m (TestExamples.testNonLeapYear) at 43</pre>`), true)
6262
// .addRaw(`<pre>` + formatDiagnosticReport(`Assertion failed in TestExamples/testNonLeapYear and it did not run to completion.\n ---------------------\n Framework Diagnostic:\n ---------------------\n assertEqual failed.\n --> The numeric values are not equal using \"isequaln\".\n --> Failure table:\n Actual Expected Error RelativeError\n ______ ________ _____ _____________\n \n 1 2 -1 -0.5 \n \n Actual Value:\n 1\n Expected Value:\n 2\n ------------------\n Stack Information:\n ------------------\n In C:\\Users\\kapilg\\jenkins visualization\\test-results\\jenkins-matlab-plugin\\work\\workspace\\visualization\\tests\\TestExamples.m (TestExamples.testNonLeapYear) at 43`) + `</pre>`, true)
6363
// .addRaw(`<table><tr><td><b>Assertion failed</b> in TestExamples/testNonLeapYear and it did not run to completion.\n ---------------------\n Framework Diagnostic:\n ---------------------\n assertEqual failed.\n --> The numeric values are not equal using \"isequaln\".\n --> Failure table:\n Actual Expected Error RelativeError\n ______ ________ _____ _____________\n \n 1 2 -1 -0.5 \n \n Actual Value:\n 1\n Expected Value:\n 2\n ------------------\n Stack Information:\n ------------------\n In C:\\Users\\kapilg\\jenkins visualization\\test-results\\jenkins-matlab-plugin\\work\\workspace\\visualization\\tests\\TestExamples.m (TestExamples.testNonLeapYear) at 43</td></tr></table>`, true)
6464
.addHeading('All tests', 3)
65-
// .addRaw(detailedResults, true)
65+
.addRaw(detailedResults, true)
6666
.write();
6767
} catch (e) {
6868
console.error('An error occurred while adding the test results to the summary:', e);

0 commit comments

Comments
 (0)