Skip to content

Commit 30bf19e

Browse files
committed
test: Update e2e test snapshots
1 parent d3d17c6 commit 30bf19e

File tree

6 files changed

+563
-0
lines changed

6 files changed

+563
-0
lines changed

test/e2e/snapshots/compare-ui5lint-fix-snapshots.ts.md

Lines changed: 165 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,26 @@ Generated by [AVA](https://avajs.dev).
6060
message: 'Use of deprecated property \'VariantSetAdapter\' (sap.ushell.services.Personalization.VariantSetAdapter)',
6161
ruleId: 'no-deprecated-api',
6262
severity: 2,
63+
ui5TypeInfo: {
64+
kind: 2,
65+
name: 'VariantSetAdapter',
66+
parent: {
67+
kind: 1,
68+
name: 'Personalization',
69+
parent: {
70+
kind: 1,
71+
name: 'services',
72+
parent: {
73+
kind: 1,
74+
name: 'ushell',
75+
parent: {
76+
kind: 1,
77+
name: 'sap',
78+
},
79+
},
80+
},
81+
},
82+
},
6383
},
6484
],
6585
warningCount: 0,
@@ -75,6 +95,19 @@ Generated by [AVA](https://avajs.dev).
7595
message: 'Use of deprecated property \'blocked\' of class \'Button\'',
7696
ruleId: 'no-deprecated-api',
7797
severity: 2,
98+
ui5TypeInfo: {
99+
kind: 6,
100+
name: 'blocked',
101+
parent: {
102+
kind: 5,
103+
name: '$ControlSettings',
104+
parent: {
105+
kind: 0,
106+
library: 'sap.ui.core',
107+
name: 'sap/ui/core/Control',
108+
},
109+
},
110+
},
78111
},
79112
],
80113
warningCount: 0,
@@ -97,27 +130,78 @@ Generated by [AVA](https://avajs.dev).
97130
message: 'Call to deprecated function \'view\' (sap.ui.view)',
98131
ruleId: 'no-deprecated-api',
99132
severity: 2,
133+
ui5TypeInfo: {
134+
kind: 10,
135+
name: 'view',
136+
parent: {
137+
kind: 1,
138+
name: 'ui',
139+
parent: {
140+
kind: 1,
141+
name: 'sap',
142+
},
143+
},
144+
},
100145
},
101146
{
102147
column: 15,
103148
line: 43,
104149
message: 'Call to deprecated function \'getBlocked\' (testButton.getBlocked)',
105150
ruleId: 'no-deprecated-api',
106151
severity: 2,
152+
ui5TypeInfo: {
153+
kind: 11,
154+
name: 'getBlocked',
155+
parent: {
156+
kind: 2,
157+
name: 'Control',
158+
parent: {
159+
kind: 0,
160+
library: 'sap.ui.core',
161+
name: 'sap/ui/core/Control',
162+
},
163+
},
164+
},
107165
},
108166
{
109167
column: 25,
110168
line: 52,
111169
message: 'Call to deprecated function \'prop\' of class \'UI5Element\'',
112170
ruleId: 'no-deprecated-api',
113171
severity: 2,
172+
ui5TypeInfo: {
173+
kind: 11,
174+
name: 'prop',
175+
parent: {
176+
kind: 2,
177+
name: 'UI5Element',
178+
parent: {
179+
kind: 0,
180+
library: 'sap.ui.core',
181+
name: 'sap/ui/core/Element',
182+
},
183+
},
184+
},
114185
},
115186
{
116187
column: 35,
117188
line: 53,
118189
message: 'Call to deprecated function \'prop\' of class \'UI5Element\'',
119190
ruleId: 'no-deprecated-api',
120191
severity: 2,
192+
ui5TypeInfo: {
193+
kind: 11,
194+
name: 'prop',
195+
parent: {
196+
kind: 2,
197+
name: 'UI5Element',
198+
parent: {
199+
kind: 0,
200+
library: 'sap.ui.core',
201+
name: 'sap/ui/core/Element',
202+
},
203+
},
204+
},
121205
},
122206
],
123207
warningCount: 0,
@@ -319,13 +403,38 @@ Generated by [AVA](https://avajs.dev).
319403
message: 'Call to deprecated function \'getCore\' (sap.ui.getCore)',
320404
ruleId: 'no-deprecated-api',
321405
severity: 2,
406+
ui5TypeInfo: {
407+
kind: 10,
408+
name: 'getCore',
409+
parent: {
410+
kind: 1,
411+
name: 'ui',
412+
parent: {
413+
kind: 1,
414+
name: 'sap',
415+
},
416+
},
417+
},
322418
},
323419
{
324420
column: 18,
325421
line: 4,
326422
message: 'Call to deprecated function \'attachInit\' of class \'Core\'',
327423
ruleId: 'no-deprecated-api',
328424
severity: 2,
425+
ui5TypeInfo: {
426+
kind: 11,
427+
name: 'attachInit',
428+
parent: {
429+
kind: 2,
430+
name: 'Core',
431+
parent: {
432+
kind: 0,
433+
library: 'sap.ui.core',
434+
name: 'sap/ui/core/Core',
435+
},
436+
},
437+
},
329438
},
330439
{
331440
column: 18,
@@ -450,13 +559,38 @@ Generated by [AVA](https://avajs.dev).
450559
message: 'Call to deprecated function \'getCore\' (sap.ui.getCore)',
451560
ruleId: 'no-deprecated-api',
452561
severity: 2,
562+
ui5TypeInfo: {
563+
kind: 10,
564+
name: 'getCore',
565+
parent: {
566+
kind: 1,
567+
name: 'ui',
568+
parent: {
569+
kind: 1,
570+
name: 'sap',
571+
},
572+
},
573+
},
453574
},
454575
{
455576
column: 18,
456577
line: 6,
457578
message: 'Call to deprecated function \'attachInit\' of class \'Core\'',
458579
ruleId: 'no-deprecated-api',
459580
severity: 2,
581+
ui5TypeInfo: {
582+
kind: 11,
583+
name: 'attachInit',
584+
parent: {
585+
kind: 2,
586+
name: 'Core',
587+
parent: {
588+
kind: 0,
589+
library: 'sap.ui.core',
590+
name: 'sap/ui/core/Core',
591+
},
592+
},
593+
},
460594
},
461595
{
462596
column: 18,
@@ -479,6 +613,15 @@ Generated by [AVA](https://avajs.dev).
479613
message: 'Import of deprecated module \'sap/ui/commons/Button\'',
480614
ruleId: 'no-deprecated-api',
481615
severity: 2,
616+
ui5TypeInfo: {
617+
kind: 2,
618+
name: 'Button',
619+
parent: {
620+
kind: 0,
621+
library: 'sap.ui.commons',
622+
name: 'sap/ui/commons/Button',
623+
},
624+
},
482625
},
483626
],
484627
warningCount: 0,
@@ -494,6 +637,15 @@ Generated by [AVA](https://avajs.dev).
494637
message: 'Import of deprecated module \'sap/m/MessagePage\'',
495638
ruleId: 'no-deprecated-api',
496639
severity: 2,
640+
ui5TypeInfo: {
641+
kind: 2,
642+
name: 'MessagePage',
643+
parent: {
644+
kind: 0,
645+
library: 'sap.m',
646+
name: 'sap/m/MessagePage',
647+
},
648+
},
497649
},
498650
{
499651
column: 5,
@@ -508,6 +660,19 @@ Generated by [AVA](https://avajs.dev).
508660
message: 'Use of deprecated property \'blocked\' of class \'Button\'',
509661
ruleId: 'no-deprecated-api',
510662
severity: 2,
663+
ui5TypeInfo: {
664+
kind: 6,
665+
name: 'blocked',
666+
parent: {
667+
kind: 5,
668+
name: '$ControlSettings',
669+
parent: {
670+
kind: 0,
671+
library: 'sap.ui.core',
672+
name: 'sap/ui/core/Control',
673+
},
674+
},
675+
},
511676
},
512677
],
513678
warningCount: 1,
1.18 KB
Binary file not shown.

0 commit comments

Comments
 (0)