|
1 | 1 | sap.ui.define([ |
2 | 2 | "sap/m/Button", "sap/m/DateTimeInput", "sap/base/util/includes", "sap/ui/Device", "sap/ui/core/library", "sap/ui/generic/app/navigation/service/NavigationHandler", |
3 | 3 | "sap/ui/table/Table", "sap/ui/table/plugins/MultiSelectionPlugin", "sap/ui/core/Configuration", "sap/m/library", |
4 | | - "sap/m/Input", "sap/m/TileContent", "sap/ui/layout/form/SimpleForm" |
5 | | -], function(Button, DateTimeInput, includes, Device, coreLib, NavigationHandler, Table, MultiSelectionPlugin, Configuration, mobileLib, Input, TileContent, SimpleForm) { |
| 4 | + "sap/m/Input", "sap/m/TileContent", "sap/ui/layout/form/SimpleForm", "sap/m/ResponsivePopover" |
| 5 | +], function(Button, DateTimeInput, includes, Device, coreLib, NavigationHandler, Table, MultiSelectionPlugin, Configuration, mobileLib, Input, TileContent, SimpleForm, ResponsivePopover) { |
6 | 6 | "use strict"; |
7 | 7 | var dateTimeInput = new DateTimeInput(); // Control is deprecated. A finding only appears for the module dependency, not for the usage. |
8 | 8 |
|
@@ -91,8 +91,12 @@ sap.ui.define([ |
91 | 91 | type: "Date" // InputType.Date is deprecated |
92 | 92 | }); |
93 | 93 |
|
94 | | - // Negative test: ResponsiveGridLayout is not deprecated |
95 | 94 | const simpleForm2 = new SimpleForm({ |
96 | | - layout: "ResponsiveGridLayout" // ResponsiveGridLayout is not deprecated |
| 95 | + layout: "ResponsiveGridLayout" // Negative test: ResponsiveGridLayout is not deprecated |
| 96 | + }); |
| 97 | + |
| 98 | + const responsivePopover = new ResponsivePopover({ |
| 99 | + // ui5lint-disable-next-line no-globals |
| 100 | + placement: sap.m.PlacementType.Auto // Negative test: PlacementType.Auto is not deprecated |
97 | 101 | }); |
98 | 102 | }); |
0 commit comments