Skip to content

Commit 809a43c

Browse files
committed
test(ui5-linter): Update snapshots for Manifest 2
1 parent 7188b5b commit 809a43c

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

test/lib/tools/run_ui5_linter/snapshots/run_ui5_linter.ts.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,11 @@ Generated by [AVA](https://avajs.dev).
308308
title: '<title for 28fcd55b04654977b63dacbee0552712>',
309309
uri: '<uri>',
310310
},
311+
{
312+
text: '<text>',
313+
title: '<title for be0cf40f61184b358b5faedaec98b2da>',
314+
uri: '<uri>',
315+
},
311316
{
312317
text: '<text>',
313318
title: '<title for a87ca843bcee469f82a9072927a7dcdb>',
@@ -463,6 +468,14 @@ Generated by [AVA](https://avajs.dev).
463468
description: 'Global variables must not be used for accessing UI5 framework APIs and should be avoided in application code. The respective modules should be imported explicitly.',
464469
ruleId: 'no-globals',
465470
},
471+
{
472+
description: 'The `manifest.json` or `Component.js` file must declare the latest supported manifest version',
473+
ruleId: 'no-outdated-manifest-version',
474+
},
475+
{
476+
description: 'The `manifest.json` file must not declare a UI5 version that is older than 1.136.0',
477+
ruleId: 'no-legacy-ui5-version-in-manifest',
478+
},
466479
],
467480
},
468481
frameworkVersion: '1.134.0',
@@ -573,6 +586,22 @@ Generated by [AVA](https://avajs.dev).
573586
{
574587
filePath: 'webapp/manifest.json',
575588
messages: [
589+
{
590+
column: 5,
591+
line: 2,
592+
message: 'manifest.json must be migrated to Version 2',
593+
messageDetails: 'Set _version to 2.0.0 or higher and follow the migration guide Manifest Version 2 (https://ui5.sap.com/#/topic/be0cf40f61184b358b5faedaec98b2da#loiobe0cf40f61184b358b5faedaec98b2da/section_manifest2)',
594+
ruleId: 'no-outdated-manifest-version',
595+
severity: 2,
596+
},
597+
{
598+
column: 13,
599+
line: 9,
600+
message: 'Use UI5 version 1.136.0 or higher in manifest.json',
601+
messageDetails: 'Set minUI5Version to 1.136.0 or higher and follow the migration guide Manifest Version 2 (https://ui5.sap.com/#/topic/be0cf40f61184b358b5faedaec98b2da#loiobe0cf40f61184b358b5faedaec98b2da/section_manifest2)',
602+
ruleId: 'no-legacy-ui5-version-in-manifest',
603+
severity: 2,
604+
},
576605
{
577606
column: 17,
578607
line: 14,
439 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)