Skip to content

Commit 80753eb

Browse files
committed
CHANGE @W-17042378@ Fixing goldfiles
1 parent b4ec13a commit 80753eb

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

packages/code-analyzer-core/output-templates/html-template-0.0.1.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1412,7 +1412,7 @@
14121412
<header class="header">
14131413
<h1 class="logo">Salesforce</h1>
14141414
<h2 class="title">
1415-
<strong>Code Analyzer Report</strong> – Jun 26th, 2024 3:24pm
1415+
<strong>Code Analyzer Report</strong> – {{###TIMESTAMP###}}
14161416
</h2>
14171417
<p class="help" aria-label="documentation">
14181418
<a href="https://developer.salesforce.com/docs/platform/salesforce-code-analyzer/overview">Developer Docs</a>

packages/code-analyzer-core/test/test-data/expectedOutputFiles/multipleViolations.goldfile.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
}
4949
})();
5050
// === START OF VIOLATION DATA ===
51-
const data = [{"rule":"stub1RuleA","engine":"stubEngine1","severity":4,"type":"Standard","tags":["Recommended","CodeStyle"],"file":"test/config.test.ts","line":3,"column":6,"endLine":11,"endColumn":8,"message":"SomeViolationMessage1","resources":["https://example.com/stub1RuleA"]},{"rule":"stub1RuleC","engine":"stubEngine1","severity":3,"type":"Standard","tags":["Recommended","Performance","Custom"],"file":"test/run.test.ts","line":21,"column":7,"endLine":25,"endColumn":4,"message":"SomeViolationMessage2","resources":["https://example.com/stub1RuleC","https://example.com/aViolationSpecificUrl1","https://example.com/violationSpecificUrl2"]},{"rule":"stub1RuleE","engine":"stubEngine1","severity":3,"type":"Standard","tags":["Performance"],"file":"test/run.test.ts","line":56,"column":4,"message":"Some Violation that contains\na new line in `it` and &quot;various&quot; &#39;quotes&#39;. Also it has &lt;brackets&gt; that may need to be {escaped}.","resources":["https://example.com/stub1RuleE","https://example.com/stub1RuleE_2"]},{"rule":"stub2RuleC","engine":"stubEngine2","severity":2,"type":"DataFlow","tags":["Recommended","BestPractice"],"file":"test/stubs.ts","line":76,"column":8,"primaryLocationIndex":2,"locations":[{"file":"test/stubs.ts","line":4,"column":13},{"file":"test/test-helpers.ts","line":9,"column":1},{"file":"test/stubs.ts","line":76,"column":8}],"message":"SomeViolationMessage3","resources":[]},{"rule":"stub3RuleA","engine":"stubEngine3","severity":3,"type":"Flow","tags":["Recommended","ErrorProne"],"file":"test/stubs.ts","line":90,"column":1,"endLine":95,"endColumn":10,"primaryLocationIndex":2,"locations":[{"file":"test/stubs.ts","line":20,"column":10,"endLine":22,"endColumn":25,"comment":"Comment at location 1"},{"file":"test/test-helpers.ts","line":5,"column":10,"comment":"Comment at location 2"},{"file":"test/stubs.ts","line":90,"column":1,"endLine":95,"endColumn":10}],"message":"SomeViolationMessage4","resources":[]}];
51+
const data = [{"rule":"stub1RuleA","engine":"stubEngine1","severity":4,"type":"Standard","tags":["Recommended","CodeStyle"],"file":"test{{PATHSEP}}config.test.ts","line":3,"column":6,"endLine":11,"endColumn":8,"message":"SomeViolationMessage1","resources":["https://example.com/stub1RuleA"]},{"rule":"stub1RuleC","engine":"stubEngine1","severity":3,"type":"Standard","tags":["Recommended","Performance","Custom"],"file":"test{{PATHSEP}}run.test.ts","line":21,"column":7,"endLine":25,"endColumn":4,"message":"SomeViolationMessage2","resources":["https://example.com/stub1RuleC","https://example.com/aViolationSpecificUrl1","https://example.com/violationSpecificUrl2"]},{"rule":"stub1RuleE","engine":"stubEngine1","severity":3,"type":"Standard","tags":["Performance"],"file":"test{{PATHSEP}}run.test.ts","line":56,"column":4,"message":"Some Violation that contains\na new line in `it` and &quot;various&quot; &#39;quotes&#39;. Also it has &lt;brackets&gt; that may need to be {escaped}.","resources":["https://example.com/stub1RuleE","https://example.com/stub1RuleE_2"]},{"rule":"stub2RuleC","engine":"stubEngine2","severity":2,"type":"DataFlow","tags":["Recommended","BestPractice"],"file":"test{{PATHSEP}}stubs.ts","line":76,"column":8,"primaryLocationIndex":2,"locations":[{"file":"test{{PATHSEP}}stubs.ts","line":4,"column":13},{"file":"test{{PATHSEP}}test-helpers.ts","line":9,"column":1},{"file":"test{{PATHSEP}}stubs.ts","line":76,"column":8}],"message":"SomeViolationMessage3","resources":[]},{"rule":"stub3RuleA","engine":"stubEngine3","severity":3,"type":"Flow","tags":["Recommended","ErrorProne"],"file":"test{{PATHSEP}}stubs.ts","line":90,"column":1,"endLine":95,"endColumn":10,"primaryLocationIndex":2,"locations":[{"file":"test{{PATHSEP}}stubs.ts","line":20,"column":10,"endLine":22,"endColumn":25,"comment":"Comment at location 1"},{"file":"test{{PATHSEP}}test-helpers.ts","line":5,"column":10,"comment":"Comment at location 2"},{"file":"test{{PATHSEP}}stubs.ts","line":90,"column":1,"endLine":95,"endColumn":10}],"message":"SomeViolationMessage4","resources":[]}];
5252
// === END OF VIOLATION DATA ===
5353
class Model {
5454
constructor(data2) {
@@ -1412,7 +1412,7 @@ <h3>Details</h3>
14121412
<header class="header">
14131413
<h1 class="logo">Salesforce</h1>
14141414
<h2 class="title">
1415-
<strong>Code Analyzer Report</strong>Jun 26th, 2024 3:24pm
1415+
<strong>Code Analyzer Report</strong>Jul 3, 2024, 9:14 AM
14161416
</h2>
14171417
<p class="help" aria-label="documentation">
14181418
<a href="https://developer.salesforce.com/docs/platform/salesforce-code-analyzer/overview">Developer Docs</a>

packages/code-analyzer-core/test/test-data/expectedOutputFiles/unexpectedEngineErrorViolation.goldfile.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1412,7 +1412,7 @@ <h3>Details</h3>
14121412
<header class="header">
14131413
<h1 class="logo">Salesforce</h1>
14141414
<h2 class="title">
1415-
<strong>Code Analyzer Report</strong>Jun 26th, 2024 3:24pm
1415+
<strong>Code Analyzer Report</strong>Jul 3, 2024, 9:14 AM
14161416
</h2>
14171417
<p class="help" aria-label="documentation">
14181418
<a href="https://developer.salesforce.com/docs/platform/salesforce-code-analyzer/overview">Developer Docs</a>

packages/code-analyzer-core/test/test-data/expectedOutputFiles/zeroViolations.goldfile.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1412,7 +1412,7 @@ <h3>Details</h3>
14121412
<header class="header">
14131413
<h1 class="logo">Salesforce</h1>
14141414
<h2 class="title">
1415-
<strong>Code Analyzer Report</strong>Jun 26th, 2024 3:24pm
1415+
<strong>Code Analyzer Report</strong>Jul 3, 2024, 9:14 AM
14161416
</h2>
14171417
<p class="help" aria-label="documentation">
14181418
<a href="https://developer.salesforce.com/docs/platform/salesforce-code-analyzer/overview">Developer Docs</a>

0 commit comments

Comments
 (0)