@openui5/sap.ui.core 1.126.0 → 1.127.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.dtsgenrc +76 -0
- package/THIRDPARTY.txt +1 -1
- package/package.json +1 -1
- package/src/jquery.sap.global.js +1 -1
- package/src/jquery.sap.properties.js +1 -1
- package/src/jquery.sap.resources.js +1 -1
- package/src/jquery.sap.script.js +1 -1
- package/src/jquery.sap.storage.js +3 -3
- package/src/sap/base/Event.js +1 -1
- package/src/sap/base/Eventing.js +1 -1
- package/src/sap/base/config.js +1 -1
- package/src/sap/base/i18n/LanguageTag.js +1 -1
- package/src/sap/base/i18n/date/TimezoneUtils.js +1 -1
- package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
- package/src/sap/base/util/restricted/_castArray.js +1 -1
- package/src/sap/base/util/restricted/_compact.js +1 -1
- package/src/sap/base/util/restricted/_curry.js +1 -1
- package/src/sap/base/util/restricted/_debounce.js +1 -1
- package/src/sap/base/util/restricted/_difference.js +1 -1
- package/src/sap/base/util/restricted/_differenceBy.js +1 -1
- package/src/sap/base/util/restricted/_differenceWith.js +1 -1
- package/src/sap/base/util/restricted/_flatMap.js +1 -1
- package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
- package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
- package/src/sap/base/util/restricted/_flatten.js +1 -1
- package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
- package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
- package/src/sap/base/util/restricted/_intersection.js +1 -1
- package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
- package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
- package/src/sap/base/util/restricted/_isEqual.js +1 -1
- package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
- package/src/sap/base/util/restricted/_isNil.js +1 -1
- package/src/sap/base/util/restricted/_max.js +1 -1
- package/src/sap/base/util/restricted/_merge.js +1 -1
- package/src/sap/base/util/restricted/_mergeWith.js +1 -1
- package/src/sap/base/util/restricted/_min.js +1 -1
- package/src/sap/base/util/restricted/_omit.js +1 -1
- package/src/sap/base/util/restricted/_pick.js +1 -1
- package/src/sap/base/util/restricted/_pickBy.js +1 -1
- package/src/sap/base/util/restricted/_throttle.js +1 -1
- package/src/sap/base/util/restricted/_toArray.js +1 -1
- package/src/sap/base/util/restricted/_union.js +1 -1
- package/src/sap/base/util/restricted/_unionBy.js +1 -1
- package/src/sap/base/util/restricted/_unionWith.js +1 -1
- package/src/sap/base/util/restricted/_uniq.js +1 -1
- package/src/sap/base/util/restricted/_uniqBy.js +1 -1
- package/src/sap/base/util/restricted/_uniqWith.js +1 -1
- package/src/sap/base/util/restricted/_without.js +1 -1
- package/src/sap/base/util/restricted/_xor.js +1 -1
- package/src/sap/base/util/restricted/_xorBy.js +1 -1
- package/src/sap/base/util/restricted/_xorWith.js +1 -1
- package/src/sap/base/util/restricted/_zipObject.js +1 -1
- package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
- package/src/sap/ui/Device.js +3 -3
- package/src/sap/ui/Global.js +5 -15
- package/src/sap/ui/base/BindingInfo.js +45 -24
- package/src/sap/ui/base/DataType.js +19 -0
- package/src/sap/ui/base/Event.js +1 -1
- package/src/sap/ui/base/EventProvider.js +1 -1
- package/src/sap/ui/base/Interface.js +31 -1
- package/src/sap/ui/base/ManagedObject.js +3 -4
- package/src/sap/ui/base/ManagedObjectMetadata.js +1 -1
- package/src/sap/ui/base/Metadata.js +1 -1
- package/src/sap/ui/base/Object.js +1 -1
- package/src/sap/ui/base/ObjectPool.js +1 -1
- package/src/sap/ui/core/.library +1 -1
- package/src/sap/ui/core/.theming +8 -0
- package/src/sap/ui/core/BusyIndicator.js +1 -1
- package/src/sap/ui/core/Component.js +1 -1
- package/src/sap/ui/core/ComponentContainer.js +1 -1
- package/src/sap/ui/core/ComponentMetadata.js +1 -1
- package/src/sap/ui/core/ComponentSupport.js +1 -1
- package/src/sap/ui/core/Configuration.js +1 -1
- package/src/sap/ui/core/Control.js +2 -2
- package/src/sap/ui/core/Core.js +57 -2
- package/src/sap/ui/core/CustomData.js +1 -1
- package/src/sap/ui/core/DeclarativeSupport.js +1 -1
- package/src/sap/ui/core/Element.js +166 -16
- package/src/sap/ui/core/ElementMetadata.js +1 -1
- package/src/sap/ui/core/EnabledPropagator.js +17 -31
- package/src/sap/ui/core/EventBus.js +1 -1
- package/src/sap/ui/core/Fragment.js +1 -1
- package/src/sap/ui/core/HTML.js +1 -1
- package/src/sap/ui/core/History.js +1 -1
- package/src/sap/ui/core/Icon.js +1 -1
- package/src/sap/ui/core/IndicationColorSupport.js +1 -1
- package/src/sap/ui/core/IntervalTrigger.js +1 -1
- package/src/sap/ui/core/InvisibleMessage.js +1 -1
- package/src/sap/ui/core/InvisibleRenderer.js +1 -1
- package/src/sap/ui/core/InvisibleText.js +1 -1
- package/src/sap/ui/core/Item.js +2 -2
- package/src/sap/ui/core/LabelEnablement.js +1 -1
- package/src/sap/ui/core/LayoutData.js +1 -1
- package/src/sap/ui/core/ListItem.js +1 -1
- package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
- package/src/sap/ui/core/Locale.js +1 -1
- package/src/sap/ui/core/LocaleData.js +118 -55
- package/src/sap/ui/core/Manifest.js +1 -1
- package/src/sap/ui/core/Message.js +1 -1
- package/src/sap/ui/core/Popup.js +8 -0
- package/src/sap/ui/core/RenderManager.js +1 -1
- package/src/sap/ui/core/Renderer.js +1 -1
- package/src/sap/ui/core/ResizeHandler.js +1 -1
- package/src/sap/ui/core/ScrollBar.js +1 -1
- package/src/sap/ui/core/SeparatorItem.js +1 -1
- package/src/sap/ui/core/Theming.js +4 -4
- package/src/sap/ui/core/Title.js +2 -2
- package/src/sap/ui/core/TooltipBase.js +2 -2
- package/src/sap/ui/core/UIArea.js +1 -1
- package/src/sap/ui/core/UIComponent.js +1 -1
- package/src/sap/ui/core/UIComponentMetadata.js +1 -1
- package/src/sap/ui/core/ValueStateSupport.js +1 -1
- package/src/sap/ui/core/VariantLayoutData.js +1 -1
- package/src/sap/ui/core/XMLComposite.js +1 -1
- package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
- package/src/sap/ui/core/cache/CacheManagerNOP.js +3 -0
- package/src/sap/ui/core/cache/LRUPersistentCache.js +13 -4
- package/src/sap/ui/core/date/UI5Date.js +1 -1
- package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
- package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
- package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
- package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
- package/src/sap/ui/core/dnd/DragInfo.js +1 -1
- package/src/sap/ui/core/dnd/DropInfo.js +1 -1
- package/src/sap/ui/core/fieldhelp/FieldHelp.js +53 -11
- package/src/sap/ui/core/fieldhelp/FieldHelpUtil.js +4 -0
- package/src/sap/ui/core/format/FormatUtils.js +1 -1
- package/src/sap/ui/core/format/TimezoneUtil.js +1 -1
- package/src/sap/ui/core/getCompatibilityVersion.js +1 -1
- package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
- package/src/sap/ui/core/library.js +37 -21
- package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
- package/src/sap/ui/core/message/Message.js +1 -1
- package/src/sap/ui/core/message/MessageManager.js +1 -1
- package/src/sap/ui/core/message/MessageParser.js +1 -1
- package/src/sap/ui/core/message/MessageProcessor.js +1 -1
- package/src/sap/ui/core/messagebundle_en_US_sappsd.properties +30 -18
- package/src/sap/ui/core/messagebundle_en_US_saptrc.properties +294 -282
- package/src/sap/ui/core/mvc/ControllerExtension.js +16 -0
- package/src/sap/ui/core/mvc/HTMLView.js +1 -1
- package/src/sap/ui/core/mvc/JSONView.js +1 -1
- package/src/sap/ui/core/mvc/JSView.js +1 -1
- package/src/sap/ui/core/mvc/TemplateView.js +1 -1
- package/src/sap/ui/core/mvc/View.js +1 -1
- package/src/sap/ui/core/mvc/XMLView.js +4 -4
- package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
- package/src/sap/ui/core/plugin/LessSupport.js +1 -1
- package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
- package/src/sap/ui/core/postmessage/Bus.js +1 -1
- package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
- package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
- package/src/sap/ui/core/search/SearchProvider.js +1 -1
- package/src/sap/ui/core/service/Service.js +1 -1
- package/src/sap/ui/core/service/ServiceFactory.js +1 -1
- package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
- package/src/sap/ui/core/support/Plugin.js +1 -1
- package/src/sap/ui/core/support/Support.js +1 -1
- package/src/sap/ui/core/support/ToolsAPI.js +5 -5
- package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
- package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
- package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
- package/src/sap/ui/core/support/plugins/Performance.js +1 -1
- package/src/sap/ui/core/support/plugins/Selector.js +1 -1
- package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
- package/src/sap/ui/core/support/plugins/Trace.js +1 -1
- package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
- package/src/sap/ui/core/themes/base/base.less +119 -49
- package/src/sap/ui/core/themes/base/fonts/SAP-icons.ttf +0 -0
- package/src/sap/ui/core/themes/base/fonts/SAP-icons.woff2 +0 -0
- package/src/sap/ui/core/themes/base/library.source.less +2 -0
- package/src/sap/ui/core/themes/base/skeleton.less +958 -0
- package/src/sap/ui/core/theming/ThemeManager.js +56 -73
- package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
- package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
- package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
- package/src/sap/ui/core/tmpl/Template.js +1 -1
- package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
- package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
- package/src/sap/ui/core/util/Export.js +1 -1
- package/src/sap/ui/core/util/ExportCell.js +1 -1
- package/src/sap/ui/core/util/ExportColumn.js +1 -1
- package/src/sap/ui/core/util/ExportRow.js +1 -1
- package/src/sap/ui/core/util/ExportType.js +1 -1
- package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
- package/src/sap/ui/core/util/File.js +1 -1
- package/src/sap/ui/core/util/LibraryInfo.js +1 -1
- package/src/sap/ui/core/util/MockServer.js +1 -1
- package/src/sap/ui/core/util/PasteHelper.js +1 -1
- package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
- package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
- package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
- package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
- package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
- package/src/sap/ui/core/webc/WebComponent.js +1 -1
- package/src/sap/ui/core/webc/WebComponentMetadata.js +1 -1
- package/src/sap/ui/core/ws/ReadyState.js +1 -1
- package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
- package/src/sap/ui/core/ws/WebSocket.js +1 -1
- package/src/sap/ui/debug/ControlTree.js +1 -1
- package/src/sap/ui/debug/DebugEnv.js +1 -1
- package/src/sap/ui/debug/PropertyList.js +1 -1
- package/src/sap/ui/dom/findTabbable.js +244 -0
- package/src/sap/ui/dom/isElementCovered.js +51 -0
- package/src/sap/ui/events/F6Navigation.js +10 -164
- package/src/sap/ui/model/ClientModel.js +1 -1
- package/src/sap/ui/model/CompositeDataState.js +1 -1
- package/src/sap/ui/model/CompositeType.js +1 -1
- package/src/sap/ui/model/DataState.js +1 -1
- package/src/sap/ui/model/MetaModel.js +1 -1
- package/src/sap/ui/model/Model.js +1 -1
- package/src/sap/ui/model/SelectionModel.js +1 -1
- package/src/sap/ui/model/SimpleType.js +1 -1
- package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
- package/src/sap/ui/model/Type.js +1 -1
- package/src/sap/ui/model/json/JSONModel.js +1 -1
- package/src/sap/ui/model/message/MessageModel.js +1 -1
- package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
- package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
- package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
- package/src/sap/ui/model/odata/ODataMetadata.js +1 -1
- package/src/sap/ui/model/odata/ODataModel.js +1 -1
- package/src/sap/ui/model/odata/type/Boolean.js +1 -1
- package/src/sap/ui/model/odata/type/Byte.js +1 -1
- package/src/sap/ui/model/odata/type/Currency.js +1 -1
- package/src/sap/ui/model/odata/type/Date.js +1 -1
- package/src/sap/ui/model/odata/type/DateTime.js +1 -1
- package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
- package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
- package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -1
- package/src/sap/ui/model/odata/type/Decimal.js +1 -1
- package/src/sap/ui/model/odata/type/Double.js +1 -1
- package/src/sap/ui/model/odata/type/Guid.js +1 -1
- package/src/sap/ui/model/odata/type/Int.js +1 -1
- package/src/sap/ui/model/odata/type/Int16.js +1 -1
- package/src/sap/ui/model/odata/type/Int32.js +1 -1
- package/src/sap/ui/model/odata/type/Int64.js +1 -1
- package/src/sap/ui/model/odata/type/ODataType.js +1 -1
- package/src/sap/ui/model/odata/type/Raw.js +1 -1
- package/src/sap/ui/model/odata/type/SByte.js +1 -1
- package/src/sap/ui/model/odata/type/Single.js +1 -1
- package/src/sap/ui/model/odata/type/Stream.js +1 -1
- package/src/sap/ui/model/odata/type/String.js +1 -1
- package/src/sap/ui/model/odata/type/Time.js +1 -1
- package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
- package/src/sap/ui/model/odata/type/Unit.js +1 -1
- package/src/sap/ui/model/odata/v2/Context.js +1 -1
- package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
- package/src/sap/ui/model/odata/v2/ODataModel.js +144 -14
- package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/Context.js +18 -8
- package/src/sap/ui/model/odata/v4/ODataBinding.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +12 -9
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +30 -14
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +254 -189
- package/src/sap/ui/model/odata/v4/ODataModel.js +51 -13
- package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +4 -1
- package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +68 -32
- package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +9 -6
- package/src/sap/ui/model/odata/v4/lib/_Cache.js +7 -7
- package/src/sap/ui/model/odata/v4/lib/_Helper.js +17 -11
- package/src/sap/ui/model/odata/v4/lib/_Requestor.js +11 -3
- package/src/sap/ui/model/odata/v4/lib/_TreeState.js +10 -4
- package/src/sap/ui/model/resource/ResourceModel.js +1 -1
- package/src/sap/ui/model/type/Boolean.js +1 -1
- package/src/sap/ui/model/type/Currency.js +1 -1
- package/src/sap/ui/model/type/Date.js +1 -1
- package/src/sap/ui/model/type/DateInterval.js +1 -1
- package/src/sap/ui/model/type/DateTime.js +1 -1
- package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
- package/src/sap/ui/model/type/FileSize.js +1 -1
- package/src/sap/ui/model/type/Float.js +1 -1
- package/src/sap/ui/model/type/Integer.js +1 -1
- package/src/sap/ui/model/type/String.js +1 -1
- package/src/sap/ui/model/type/Time.js +1 -1
- package/src/sap/ui/model/type/TimeInterval.js +1 -1
- package/src/sap/ui/model/type/Unit.js +1 -1
- package/src/sap/ui/model/xml/XMLModel.js +1 -1
- package/src/sap/ui/performance/trace/FESR.js +3 -0
- package/src/sap/ui/performance/trace/Interaction.js +4 -2
- package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
- package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
- package/src/sap/ui/qunit/utils/nextUIUpdate.js +7 -53
- package/src/sap/ui/qunit/utils/waitForThemeApplied.js +6 -42
- package/src/sap/ui/test/ModuleTracking.js +1 -1
- package/src/sap/ui/test/generic/TestBase.js +1 -1
- package/src/sap/ui/test/generic/Utils.js +3 -7
- package/src/sap/ui/test/opaQunit.js +3 -3
- package/src/sap/ui/test/utils/nextUIUpdate.js +64 -0
- package/src/sap/ui/test/utils/waitForThemeApplied.js +58 -0
- package/src/sap/ui/util/Storage.js +1 -1
- package/src/ui5loader.js +9 -0
- package/test/sap/ui/core/demokit/sample/Messaging/ODataBackendMessagesComp/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/sample/matcher/BindingPath/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/sample/matcher/Descendant/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/sample/matcher/I18NText/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/sample/matcher/LabelFor/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/FlexibleColumnLayout/SandboxModel.js +1 -1
- package/test/sap/ui/core/demokit/sample/odata/v4/FlexibleColumnLayout/data/SalesOrderList('0500000000')-requestSideEffects.json +14 -14
- package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/Main.controller.js +32 -2
- package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/Main.view.xml +22 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/ListBindingTemplate/Component.js +69 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/ListBindingTemplate/MIT.ListBindingTemplate.AnnotationChanges.html +63 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/ListBindingTemplate/Main.view.xml +19 -7
- package/test/sap/ui/core/demokit/sample/odata/v4/ListBindingTemplate/SandboxModel.js +1 -4
- package/test/sap/ui/core/demokit/sample/odata/v4/ListBindingTemplate/data/equipments.json +37 -22
- package/test/sap/ui/core/demokit/sample/odata/v4/ListBindingTemplate/data/localAnnotations.xml +10 -2
- package/test/sap/ui/core/demokit/sample/odata/v4/MultipleInlineCreationRowsGrid/Main.controller.js +5 -5
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/RecursiveHierarchy.controller.js +32 -2
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/RecursiveHierarchy.view.xml +30 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/SandboxModel.js +12 -6
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/Main.controller.js +7 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/Main.view.xml +2 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/SandboxModel.js +14 -14
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrdersTemplate/pages/Main.js +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/01/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/02/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/03/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/04/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/05/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/06/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/07/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/08/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/09/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/10/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/11/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/12/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/13/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/14/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/databinding/15/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/mockserver/01/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/mockserver/02/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/mockserver/03/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/mockserver/04/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/01/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/02/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/03/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/04/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/05/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/06/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/07/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/08/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/09/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/10/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/11/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/12/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/13/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/14/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/15/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/16/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/17/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/01/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/02/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/03/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/04/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/05/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/06/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/07/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/08/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/09/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/10/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/11/ui5.yaml +1 -1
- package/test/sap/ui/core/demokit/tutorial/troubleshooting/01/package.json +3 -0
- package/test/sap/ui/core/demokit/tutorial/troubleshooting/01/ui5.yaml +1 -1
- package/test/sap/ui/core/qunit/BlockLayerUtils.qunit.js +1 -1
- package/test/sap/ui/core/qunit/CalculatedFields.qunit.js +1 -1
- package/test/sap/ui/core/qunit/ContextMenuSupport.qunit.js +1 -1
- package/test/sap/ui/core/qunit/ControlDefinition.qunit.js +2 -2
- package/test/sap/ui/core/qunit/ControlRenderer.qunit.js +1 -1
- package/test/sap/ui/core/qunit/Core.qunit.js +1 -1
- package/test/sap/ui/core/qunit/CustomStyleClassSupport.qunit.js +1 -1
- package/test/sap/ui/core/qunit/CustomThemeFallback.qunit.js +1 -1
- package/test/sap/ui/core/qunit/CustomThemeFallback_unavoidablySync.qunit.js +1 -1
- package/test/sap/ui/core/qunit/Element_data.qunit.js +1 -1
- package/test/sap/ui/core/qunit/Element_destroy.qunit.js +1 -1
- package/test/sap/ui/core/qunit/Element_focus.qunit.js +196 -3
- package/test/sap/ui/core/qunit/Element_metadata_selector.qunit.js +1 -1
- package/test/sap/ui/core/qunit/EnabledPropagator.qunit.js +2 -3
- package/test/sap/ui/core/qunit/FastNavigationWithWebComponents.qunit.js +1 -1
- package/test/sap/ui/core/qunit/FieldGroup.qunit.js +1 -1
- package/test/sap/ui/core/qunit/FocusHandler.qunit.js +1 -1
- package/test/sap/ui/core/qunit/Fragment.qunit.js +1 -1
- package/test/sap/ui/core/qunit/Fragment_legacyAPIs.qunit.js +1 -1
- package/test/sap/ui/core/qunit/HTML.qunit.js +1 -1
- package/test/sap/ui/core/qunit/Icon.qunit.js +1 -1
- package/test/sap/ui/core/qunit/InvisibleText.qunit.js +1 -1
- package/test/sap/ui/core/qunit/LRUPersistentCache.qunit.js +8 -4
- package/test/sap/ui/core/qunit/LocalBusyIndicator.qunit.js +1 -1
- package/test/sap/ui/core/qunit/RenderManager.qunit.js +1 -1
- package/test/sap/ui/core/qunit/Rendering.qunit.js +1 -1
- package/test/sap/ui/core/qunit/ResizeHandler.qunit.js +1 -1
- package/test/sap/ui/core/qunit/ScrollBar.qunit.js +1 -1
- package/test/sap/ui/core/qunit/ShortcutHints.qunit.js +1 -1
- package/test/sap/ui/core/qunit/StashedControlSupport.qunit.js +1 -1
- package/test/sap/ui/core/qunit/StashedControlSupport_unavoidablySync.qunit.js +1 -1
- package/test/sap/ui/core/qunit/ThemeManager.qunit.js +1 -1
- package/test/sap/ui/core/qunit/ThemeParameters.qunit.js +1 -1
- package/test/sap/ui/core/qunit/ThemeParameters_legacyAPIs.qunit.js +1 -1
- package/test/sap/ui/core/qunit/Theming.qunit.js +1 -1
- package/test/sap/ui/core/qunit/Theming_default_and_fallback.qunit.js +1 -1
- package/test/sap/ui/core/qunit/TooltipBase.qunit.js +1 -1
- package/test/sap/ui/core/qunit/UIArea.qunit.js +1 -1
- package/test/sap/ui/core/qunit/bootstrap/ThemeVersion.qunit.js +1 -1
- package/test/sap/ui/core/qunit/bootstrap/testsuite.bootstrap.qunit.js +1 -8
- package/test/sap/ui/core/qunit/component/Component.qunit.js +36 -36
- package/test/sap/ui/core/qunit/component/ComponentContainer.qunit.js +2 -10
- package/test/sap/ui/core/qunit/component/ComponentContainer_unavoidablySync.qunit.js +2 -10
- package/test/sap/ui/core/qunit/component/ComponentSupport.qunit.js +5 -5
- package/test/sap/ui/core/qunit/component/Component_containedInLibrary.qunit.js +10 -10
- package/test/sap/ui/core/qunit/component/Component_dependencyLoading.qunit.js +7 -7
- package/test/sap/ui/core/qunit/component/Component_dependencyLoading_unavoidablySync.qunit.js +6 -6
- package/test/sap/ui/core/qunit/component/Component_unavoidablySync.qunit.js +8 -8
- package/test/sap/ui/core/qunit/component/Customizing.qunit.js +1 -1
- package/test/sap/ui/core/qunit/component/Customizing_async.qunit.js +3 -3
- package/test/sap/ui/core/qunit/component/Customizing_disabled.qunit.js +1 -1
- package/test/sap/ui/core/qunit/component/Customizing_legacyAPIs.qunit.js +2 -2
- package/test/sap/ui/core/qunit/component/Customizing_multi.qunit.js +1 -1
- package/test/sap/ui/core/qunit/component/Customizing_unavoidablySync.qunit.js +1 -1
- package/test/sap/ui/core/qunit/component/ExtensionPoint.qunit.js +3 -3
- package/test/sap/ui/core/qunit/component/ExtensionPoint_unavoidablySync.qunit.js +1 -1
- package/test/sap/ui/core/qunit/component/Manifest.qunit.js +10 -10
- package/test/sap/ui/core/qunit/component/Manifest_unavoidablySync.qunit.js +1 -1
- package/test/sap/ui/core/qunit/component/Metadata.qunit.js +47 -47
- package/test/sap/ui/core/qunit/component/Metadata_unavoidablySync.qunit.js +33 -33
- package/test/sap/ui/core/qunit/component/Models.qunit.js +57 -57
- package/test/sap/ui/core/qunit/component/Models_unavoidablySync.qunit.js +12 -12
- package/test/sap/ui/core/qunit/component/UIComponent.qunit.js +2 -2
- package/test/sap/ui/core/qunit/component/UIComponent_unavoidablySync.qunit.js +1 -1
- package/test/sap/ui/core/qunit/component/testdata/dependencyLoading/component1/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/dependencyLoading/component1/manifest.json +3 -3
- package/test/sap/ui/core/qunit/component/testdata/dependencyLoading/component2/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/dependencyLoading/component2/manifest.json +1 -1
- package/test/sap/ui/core/qunit/component/testdata/dependencyLoading/component3/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/dependencyLoading/component3/manifest.json +2 -2
- package/test/sap/ui/core/qunit/component/testdata/dependencyLoading/component4/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/dependencyLoading/component4/manifest.json +2 -2
- package/test/sap/ui/core/qunit/component/testdata/dependencyLoading/component5/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/dependencyLoading/component5/manifest.json +2 -2
- package/test/sap/ui/core/qunit/component/testdata/dependencyLoading/component6/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/dependencyLoading/component6/manifest.json +2 -2
- package/test/sap/ui/core/qunit/component/testdata/dependencyLoading/componentVariant/manifest.json +2 -2
- package/test/sap/ui/core/qunit/component/testdata/embedded/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/embedded/manifest.json +2 -2
- package/test/sap/ui/core/qunit/component/testdata/inherit/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/inherit/component.json +1 -1
- package/test/sap/ui/core/qunit/component/testdata/inherit/manifest.json +9 -9
- package/test/sap/ui/core/qunit/component/testdata/inherit/parent/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/inherit/parent/component.json +1 -1
- package/test/sap/ui/core/qunit/component/testdata/inherit/parent/manifest.json +9 -9
- package/test/sap/ui/core/qunit/component/testdata/inheritAsync/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/inheritAsync/manifest.json +3 -3
- package/test/sap/ui/core/qunit/component/testdata/inheritAsync/parentA/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/inheritAsync/parentA/manifest.json +2 -2
- package/test/sap/ui/core/qunit/component/testdata/inheritAsync/parentB/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/inheritAsync/parentB/manifest.json +3 -3
- package/test/sap/ui/core/qunit/component/testdata/inheritAsyncError/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/inheritAsyncError/manifest.json +3 -3
- package/test/sap/ui/core/qunit/component/testdata/inheritAsyncError/parentA/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/inheritAsyncError/parentA/manifest.json +2 -2
- package/test/sap/ui/core/qunit/component/testdata/inheritAsyncError/parentB/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/inheritAsyncError/parentB/manifest.json +3 -3
- package/test/sap/ui/core/qunit/component/testdata/manifestload/manifest.json +2 -2
- package/test/sap/ui/core/qunit/component/testdata/minUI5Version/Component.js +1 -1
- package/test/sap/ui/core/qunit/component/testdata/minUI5Version/manifest.json +1 -1
- package/test/sap/ui/core/qunit/component/testdata/mixed/Component.js +1 -1
- package/test/sap/ui/core/qunit/component/testdata/mixed/manifest.json +9 -9
- package/test/sap/ui/core/qunit/component/testdata/mixed_legacyAPIs/Component.js +1 -1
- package/test/sap/ui/core/qunit/component/testdata/mixed_legacyAPIs/component.json +8 -8
- package/test/sap/ui/core/qunit/component/testdata/mixed_legacyAPIs/manifest.json +9 -9
- package/test/sap/ui/core/qunit/component/testdata/modelsMisc/Component.js +1 -1
- package/test/sap/ui/core/qunit/component/testdata/modelsMisc/manifest.json +1 -1
- package/test/sap/ui/core/qunit/component/testdata/other/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/routerClass/Component.js +1 -1
- package/test/sap/ui/core/qunit/component/testdata/routerClass/manifest.json +2 -2
- package/test/sap/ui/core/qunit/component/testdata/routerPreloading/Component.js +1 -1
- package/test/sap/ui/core/qunit/component/testdata/routerPreloading/manifest.json +2 -2
- package/test/sap/ui/core/qunit/component/testdata/routing/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/routing/RouterExtension.js +1 -1
- package/test/sap/ui/core/qunit/component/testdata/routing/TestView.js +1 -8
- package/test/sap/ui/core/qunit/component/testdata/routing/targets/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/routing_legacyAPIs/Component.js +5 -5
- package/test/sap/ui/core/qunit/component/testdata/routing_legacyAPIs/targets/Component.js +5 -5
- package/test/sap/ui/core/qunit/component/testdata/targetsPreloading/Component.js +1 -1
- package/test/sap/ui/core/qunit/component/testdata/targetsPreloading/manifest.json +2 -2
- package/test/sap/ui/core/qunit/component/testdata/terminologies/Component.js +1 -1
- package/test/sap/ui/core/qunit/component/testdata/terminologies/Main.controller.js +1 -1
- package/test/sap/ui/core/qunit/component/testdata/terminologies/component1/Component.js +1 -1
- package/test/sap/ui/core/qunit/component/testdata/terminologies/component1/Main.controller.js +1 -1
- package/test/sap/ui/core/qunit/component/testdata/terminologies/component2/Component.js +1 -1
- package/test/sap/ui/core/qunit/component/testdata/terminologies/component2/Main.controller.js +1 -1
- package/test/sap/ui/core/qunit/component/testdata/terminologies/component3/Component.js +1 -1
- package/test/sap/ui/core/qunit/component/testdata/terminologies/component3/Main.controller.js +1 -1
- package/test/sap/ui/core/qunit/component/testdata/terminologies/component4/Component.js +1 -1
- package/test/sap/ui/core/qunit/component/testdata/terminologies/component4/Main.controller.js +1 -1
- package/test/sap/ui/core/qunit/component/testdata/terminologies/component5/Component.js +1 -1
- package/test/sap/ui/core/qunit/component/testdata/terminologies/component5/Main.controller.js +1 -1
- package/test/sap/ui/core/qunit/component/testdata/terminologies/reuse/Component.js +1 -1
- package/test/sap/ui/core/qunit/component/testdata/terminologies/reuse/Main.controller.js +1 -1
- package/test/sap/ui/core/qunit/component/testdata/v1/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/v1/component.json +8 -8
- package/test/sap/ui/core/qunit/component/testdata/v1empty/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/v1empty/component.json +1 -1
- package/test/sap/ui/core/qunit/component/testdata/v1inline/Component.js +10 -10
- package/test/sap/ui/core/qunit/component/testdata/v1missing/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/v2/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/v2/manifest.json +9 -9
- package/test/sap/ui/core/qunit/component/testdata/v2asyncRootView/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/v2asyncRootView/manifest.json +9 -9
- package/test/sap/ui/core/qunit/component/testdata/v2empty/Component.js +1 -1
- package/test/sap/ui/core/qunit/component/testdata/v2empty/manifest.json +1 -1
- package/test/sap/ui/core/qunit/component/testdata/v2inline/Component.js +10 -10
- package/test/sap/ui/core/qunit/component/testdata/v2missing/Component.js +1 -1
- package/test/sap/ui/core/qunit/component/testdata/v2models/empty/Component.js +3 -3
- package/test/sap/ui/core/qunit/component/testdata/v2models/empty/manifest.json +1 -1
- package/test/sap/ui/core/qunit/component/testdata/v2models/extension/Component.js +4 -4
- package/test/sap/ui/core/qunit/component/testdata/v2models/parent/Component.js +12 -12
- package/test/sap/ui/core/qunit/component/testdata/v2models/parent/CustomModel.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/v2models/parent/ModelNotDefined.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/v2models/parentValid/Component.js +11 -11
- package/test/sap/ui/core/qunit/component/testdata/v2models/ui5Urls/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/v2models/ui5Urls/manifest.json +2 -2
- package/test/sap/ui/core/qunit/component/testdata/v2version/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/v2version/manifest.json +2 -2
- package/test/sap/ui/core/qunit/component/testdata/v4models/Component.js +3 -3
- package/test/sap/ui/core/qunit/component/testdata/v4models/cacheTokens/Component.js +3 -3
- package/test/sap/ui/core/qunit/component/testdata/v4models/sapSystem/Component.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/v4models/sapSystem/manifest.json +1 -1
- package/test/sap/ui/core/qunit/component/testdata/v4models/unsupportedVersion/Component.js +3 -3
- package/test/sap/ui/core/qunit/component/testdata/verticalLayout/Component.js +1 -1
- package/test/sap/ui/core/qunit/component/testdata/verticalLayout_legacyAPIs/Component.js +1 -1
- package/test/sap/ui/core/qunit/component/testdata/view/Main.controller.js +2 -2
- package/test/sap/ui/core/qunit/component/testdata/view/Main.view.xml +1 -1
- package/test/sap/ui/core/qunit/component/testdata/view/MainAsync.view.xml +1 -1
- package/test/sap/ui/core/qunit/component/testdata/view/MainAsyncWithWrongNesting.view.xml +1 -1
- package/test/sap/ui/core/qunit/component/testdata/view/Nested.view.xml +1 -1
- package/test/sap/ui/core/qunit/component/testsuite.component.qunit.js +2 -8
- package/test/sap/ui/core/qunit/composite/XMLComposite.qunit.js +1 -1
- package/test/sap/ui/core/qunit/dnd/DragAndDrop.qunit.js +1 -1
- package/test/sap/ui/core/qunit/dnd/DragInfo.qunit.js +1 -1
- package/test/sap/ui/core/qunit/dnd/DropInfo.qunit.js +1 -1
- package/test/sap/ui/core/qunit/fieldhelp/FieldHelp.qunit.js +184 -51
- package/test/sap/ui/core/qunit/fieldhelp/FieldHelpUtil.qunit.js +2 -0
- package/test/sap/ui/core/qunit/generic/ControlMemoryLeaks.qunit.js +1 -1
- package/test/sap/ui/core/qunit/generic/DuplicateIdCheck.qunit.js +1 -1
- package/test/sap/ui/core/qunit/generic/legacy/ControlIterator.qunit.js +1 -1
- package/test/sap/ui/core/qunit/generic/legacy/ControlMemoryLeaks.qunit.js +1 -1
- package/test/sap/ui/core/qunit/generic/legacy/DuplicateIdCheck.qunit.js +1 -1
- package/test/sap/ui/core/qunit/i18n/LocaleData.qunit.js +188 -61
- package/test/sap/ui/core/qunit/isBehindOtherElement.qunit.js +1 -1
- package/test/sap/ui/core/qunit/jquery.sap.events.qunit.js +1 -1
- package/test/sap/ui/core/qunit/jquery.sap.ui.qunit.js +1 -1
- package/test/sap/ui/core/qunit/messages/messagesUsage.qunit.js +1 -1
- package/test/sap/ui/core/qunit/mvc/AnyView.qunit.js +1 -1
- package/test/sap/ui/core/qunit/mvc/AnyViewAsync.qunit.js +1 -1
- package/test/sap/ui/core/qunit/mvc/Controller.qunit.js +1 -1
- package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessorAsync_unavoidablyUsingInlineStyle.qunit.js +1 -1
- package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessorRequireXML.qunit.js +1 -1
- package/test/sap/ui/core/qunit/mvc/XMLView.qunit.js +1 -1
- package/test/sap/ui/core/qunit/mvc/viewprocessing/ViewProcessing.qunit.js +1 -1
- package/test/sap/ui/core/qunit/mvc/viewprocessing/ViewProcessing_legacyAPIs.qunit.js +1 -1
- package/test/sap/ui/core/qunit/mvc_legacyAPIs/AnyViewAsync_legacyAPIs.qunit.js +1 -1
- package/test/sap/ui/core/qunit/mvc_legacyAPIs/AnyView_legacyAPIs.qunit.js +1 -1
- package/test/sap/ui/core/qunit/mvc_legacyAPIs/HTMLView_legacyAPIs.qunit.js +1 -1
- package/test/sap/ui/core/qunit/mvc_legacyAPIs/XMLTemplateProcessorRequireXML_legacyAPIs.qunit.js +1 -1
- package/test/sap/ui/core/qunit/mvc_legacyAPIs/XMLView_legacyAPIs.qunit.js +1 -1
- package/test/sap/ui/core/qunit/odata/ODataAnnotations.qunit.js +1 -1
- package/test/sap/ui/core/qunit/odata/v2/ODataModel.integration.qunit.js +511 -21
- package/test/sap/ui/core/qunit/odata/v2/ODataModelNoFakeService.qunit.js +382 -3
- package/test/sap/ui/core/qunit/odata/v2/V2ODataModel.qunit.js +1 -1
- package/test/sap/ui/core/qunit/odata/v2/V2ODataModelB.qunit.js +1 -1
- package/test/sap/ui/core/qunit/odata/v4/Context.qunit.js +28 -4
- package/test/sap/ui/core/qunit/odata/v4/ODataContextBinding.qunit.js +34 -20
- package/test/sap/ui/core/qunit/odata/v4/ODataListBinding.qunit.js +80 -15
- package/test/sap/ui/core/qunit/odata/v4/ODataMetaModel.qunit.js +90 -6
- package/test/sap/ui/core/qunit/odata/v4/ODataModel.integration.qunit.js +1201 -202
- package/test/sap/ui/core/qunit/odata/v4/ODataModel.qunit.js +34 -0
- package/test/sap/ui/core/qunit/odata/v4/ODataPropertyBinding.qunit.js +38 -0
- package/test/sap/ui/core/qunit/odata/v4/data/annotations_tea_busi.xml +14 -0
- package/test/sap/ui/core/qunit/odata/v4/data/metadata_tea_busi_supplier.xml +36 -0
- package/test/sap/ui/core/qunit/odata/v4/lib/_AggregationCache.qunit.js +319 -38
- package/test/sap/ui/core/qunit/odata/v4/lib/_AggregationHelper.qunit.js +22 -9
- package/test/sap/ui/core/qunit/odata/v4/lib/_Cache.qunit.js +2 -2
- package/test/sap/ui/core/qunit/odata/v4/lib/_Helper.qunit.js +53 -10
- package/test/sap/ui/core/qunit/odata/v4/lib/_Requestor.qunit.js +6 -0
- package/test/sap/ui/core/qunit/odata/v4/lib/_TreeState.qunit.js +30 -1
- package/test/sap/ui/core/qunit/opa/Opa5PageObject.qunit.js +1 -1
- package/test/sap/ui/core/qunit/opa/OpaPlugin.qunit.js +1 -1
- package/test/sap/ui/core/qunit/opa/RecordReplay.qunit.js +1 -1
- package/test/sap/ui/core/qunit/opa/_ControlFinder.qunit.js +1 -1
- package/test/sap/ui/core/qunit/opa/actions/Action.qunit.js +1 -1
- package/test/sap/ui/core/qunit/opa/actions/EnterText.qunit.js +1 -1
- package/test/sap/ui/core/qunit/opa/actions/Press.qunit.js +1 -1
- package/test/sap/ui/core/qunit/opa/autowaiter/_cssAnimationWaiter.js +1 -1
- package/test/sap/ui/core/qunit/opa/autowaiter/_cssTransitionWaiter.js +1 -1
- package/test/sap/ui/core/qunit/opa/autowaiter/_jsAnimationWaiter.js +1 -1
- package/test/sap/ui/core/qunit/opa/autowaiter/_navigationContainerWaiter.js +1 -1
- package/test/sap/ui/core/qunit/opa/autowaiter/_resourceWaiter.js +1 -1
- package/test/sap/ui/core/qunit/opa/fixture/bindingPath.js +1 -1
- package/test/sap/ui/core/qunit/opa/matchers/Interactable.qunit.js +1 -1
- package/test/sap/ui/core/qunit/opa/matchers/LabelFor.qunit.js +1 -1
- package/test/sap/ui/core/qunit/opa/matchers/Sibling.qunit.js +1 -1
- package/test/sap/ui/core/qunit/opa/matchers/Visible.qunit.js +1 -1
- package/test/sap/ui/core/qunit/opa/matchers/_Busy.qunit.js +1 -1
- package/test/sap/ui/core/qunit/opa/matchers/_Editable.qunit.js +1 -1
- package/test/sap/ui/core/qunit/opa/matchers/_Enabled.qunit.js +1 -1
- package/test/sap/ui/core/qunit/opa/matchers/_Visitor.qunit.js +1 -1
- package/test/sap/ui/core/qunit/opa/opa5/actions.qunit.js +1 -1
- package/test/sap/ui/core/qunit/opa/opa5/basics.qunit.js +1 -1
- package/test/sap/ui/core/qunit/opa/opa5/logging.qunit.js +1 -1
- package/test/sap/ui/core/qunit/opa/opa5/matchers.qunit.js +1 -1
- package/test/sap/ui/core/qunit/opa/selectors/_BindingPath.js +1 -1
- package/test/sap/ui/core/qunit/opa/selectors/_ControlSelectorGenerator.js +1 -1
- package/test/sap/ui/core/qunit/opa/selectors/_ControlSelectorValidator.js +1 -1
- package/test/sap/ui/core/qunit/opa/selectors/_DropdownItem.js +1 -1
- package/test/sap/ui/core/qunit/opa/selectors/_GlobalID.js +1 -1
- package/test/sap/ui/core/qunit/opa/selectors/_LabelFor.js +1 -1
- package/test/sap/ui/core/qunit/opa/selectors/_Properties.js +1 -1
- package/test/sap/ui/core/qunit/opa/selectors/_Selector.js +1 -1
- package/test/sap/ui/core/qunit/opa/selectors/_TableRowItem.js +1 -1
- package/test/sap/ui/core/qunit/opa/selectors/_ViewID.js +1 -1
- package/test/sap/ui/core/qunit/opa/testsuite.opa.qunit.js +448 -426
- package/test/sap/ui/core/qunit/performance/trace/FESR.qunit.js +8 -4
- package/test/sap/ui/core/qunit/performance/trace/Interaction.qunit.js +1 -1
- package/test/sap/ui/core/qunit/routing/Placeholder.qunit.js +1 -1
- package/test/sap/ui/core/qunit/routing/PlaceholderOptOut.qunit.js +1 -1
- package/test/sap/ui/core/qunit/tmpl/Template.qunit.js +1 -1
- package/test/sap/ui/core/qunit/ui5classes/ManagedObject.qunit.js +62 -1
- package/test/sap/ui/core/qunit/util/InvisibleMessage.qunit.js +1 -1
- package/test/sap/ui/core/qunit/util/LabelEnablement.qunit.js +1 -1
- package/test/sap/ui/core/qunit/util/Popup.qunit.js +1 -1
- package/test/sap/ui/core/qunit/util/ResponsivePaddingsEnablement.qunit.js +1 -1
- package/test/sap/ui/core/qunit/util/XMLPreprocessor.qunit.js +1 -1
- package/test/sap/ui/core/qunit/util/jquery.sap.dom.qunit.js +1 -1
- package/test/sap/ui/core/qunit/util/reflection/BaseTreeModifier.qunit.js +3 -3
- package/test/sap/ui/core/qunit/util/reflection/JsControlTreeModifier.qunit.js +3 -3
- package/test/sap/ui/core/qunit/util/reflection/XmlTreeModifier.qunit.js +3 -3
- package/test/sap/ui/core/qunit/util/reflection/testdata/comp/Component.js +10 -0
- package/test/sap/ui/core/qunit/util/reflection/testsuite.reflection.qunit.html +14 -0
- package/test/sap/ui/core/qunit/util/reflection/testsuite.reflection.qunit.js +30 -0
- package/test/sap/ui/core/qunit/util/testsuite.util.qunit.js +3 -56
- package/test/sap/ui/core/relnotes/changes-1.126.json +1 -1
- package/test/sap/ui/core/relnotes/changes-1.127.json +52 -0
- package/test/sap/ui/core/samples/databinding/UnitTable/ui5.yaml +1 -1
- package/test/sap/ui/qunit/TestRunner.js +721 -521
- package/test/sap/ui/qunit/testrunner.css +123 -20
- package/test/sap/ui/qunit/testrunner.html +57 -287
- /package/test/sap/ui/core/qunit/{component/testdata/other → util/reflection/testdata/comp}/fragment-withTemplating.fragment.xml +0 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/*global testdata */
|
|
1
2
|
sap.ui.define([
|
|
2
3
|
"sap/base/config",
|
|
3
4
|
"sap/base/future",
|
|
@@ -38,7 +39,7 @@ sap.ui.define([
|
|
|
38
39
|
sap.ui.loader.config({
|
|
39
40
|
paths: {
|
|
40
41
|
"sap/ui/originalmodel": sap.ui.require.toUrl("sap/ui/model/"),
|
|
41
|
-
"
|
|
42
|
+
"testdata/originalv2models": sap.ui.require.toUrl("testdata/v2models/")
|
|
42
43
|
}
|
|
43
44
|
});
|
|
44
45
|
sap.ui.define("sap/ui/model/json/JSONModel", ["sap/ui/originalmodel/json/JSONModel"], function(OrigJSONModel) {
|
|
@@ -62,7 +63,7 @@ sap.ui.define([
|
|
|
62
63
|
sap.ui.define("sap/ui/model/xml/XMLModel", ["sap/ui/originalmodel/xml/XMLModel"], function(OrigXMLModel) {
|
|
63
64
|
return sinon.spy(OrigXMLModel);
|
|
64
65
|
});
|
|
65
|
-
sap.ui.define("
|
|
66
|
+
sap.ui.define("testdata/v2models/parent/CustomModel", ["testdata/originalv2models/parent/CustomModel"], function(OrigCustomModel) {
|
|
66
67
|
return sinon.spy(OrigCustomModel);
|
|
67
68
|
});
|
|
68
69
|
|
|
@@ -74,7 +75,7 @@ sap.ui.define([
|
|
|
74
75
|
"sap/ui/model/odata/v4/ODataModel",
|
|
75
76
|
"sap/ui/model/resource/ResourceModel",
|
|
76
77
|
"sap/ui/model/xml/XMLModel",
|
|
77
|
-
"
|
|
78
|
+
"testdata/v2models/parent/CustomModel",
|
|
78
79
|
/**
|
|
79
80
|
* @deprecated As of version 1.48
|
|
80
81
|
*/
|
|
@@ -116,7 +117,7 @@ sap.ui.define([
|
|
|
116
117
|
sap.ui.model.json.JSONModel = JSONModel;
|
|
117
118
|
sap.ui.model.xml.XMLModel = XMLModel;
|
|
118
119
|
sap.ui.model.resource.ResourceModel = ResourceModel;
|
|
119
|
-
|
|
120
|
+
testdata.v2models.parent.CustomModel = CustomModel;
|
|
120
121
|
})();
|
|
121
122
|
|
|
122
123
|
for (const name in spies) {
|
|
@@ -282,7 +283,7 @@ sap.ui.define([
|
|
|
282
283
|
this.stubGetUriParameters();
|
|
283
284
|
|
|
284
285
|
return Component.create({
|
|
285
|
-
name: "
|
|
286
|
+
name: "testdata.v2models.parent",
|
|
286
287
|
manifest: false
|
|
287
288
|
}).then(function(oComponent) {
|
|
288
289
|
|
|
@@ -408,7 +409,7 @@ sap.ui.define([
|
|
|
408
409
|
|
|
409
410
|
// model: "resourceBundle-name"
|
|
410
411
|
sinon.assert.calledWithExactly(this.modelSpy.resource, {
|
|
411
|
-
bundleName: "
|
|
412
|
+
bundleName: "testdata.v2models.parent.i18n"
|
|
412
413
|
});
|
|
413
414
|
|
|
414
415
|
// model: "resourceBundle-legacy-uri"
|
|
@@ -417,7 +418,7 @@ sap.ui.define([
|
|
|
417
418
|
});
|
|
418
419
|
|
|
419
420
|
|
|
420
|
-
//
|
|
421
|
+
// testdata.v2models.parent.CustomModel
|
|
421
422
|
sinon.assert.callCount(this.modelSpy.custom, 7);
|
|
422
423
|
|
|
423
424
|
// model: "custom-uri-string"
|
|
@@ -454,7 +455,7 @@ sap.ui.define([
|
|
|
454
455
|
// Log.error
|
|
455
456
|
sinon.assert.calledWithExactly(this.oLogSpy, sinon.match(/Component Manifest: Missing \"type\" for model \"no-model-type\"/), "[\"sap.ui5\"][\"models\"][\"no-model-type\"]", this.oComponent.getMetadata().getComponentName());
|
|
456
457
|
sinon.assert.calledWithExactly(this.oLogSpy, sinon.match(/Class \"sap.ui.not.defined.Model\" for model \"missing-model-class\" could not be loaded./), "[\"sap.ui5\"][\"models\"][\"missing-model-class\"]", this.oComponent.getMetadata().getComponentName());
|
|
457
|
-
sinon.assert.calledWithExactly(this.oLogSpy, sinon.match(/Component Manifest: Class \"
|
|
458
|
+
sinon.assert.calledWithExactly(this.oLogSpy, sinon.match(/Component Manifest: Class \"testdata.v2models.parent.ModelNotDefined\" for model \"model-not-found\" could not be found/), "[\"sap.ui5\"][\"models\"][\"model-not-found\"]", this.oComponent.getMetadata().getComponentName());
|
|
458
459
|
sinon.assert.calledWithExactly(this.oLogSpy, sinon.match(/Component Manifest: ODataAnnotation \"undefined\" for dataSource \"odata-invalid-annotations\" could not be found in manifest/), "[\"sap.app\"][\"dataSources\"][\"undefined\"]", this.oComponent.getMetadata().getComponentName());
|
|
459
460
|
sinon.assert.calledWithExactly(this.oLogSpy, sinon.match(/Component Manifest: Missing \"uri\" for ODataAnnotation \"annotation-without-uri\"/), "[\"sap.app\"][\"dataSources\"][\"annotation-without-uri\"]", this.oComponent.getMetadata().getComponentName());
|
|
460
461
|
sinon.assert.calledWithExactly(this.oLogSpy, sinon.match(/Component Manifest: dataSource \"json\" was expected to have type \"ODataAnnotation\" but was \"JSON\"/), "[\"sap.app\"][\"dataSources\"][\"json\"]", this.oComponent.getMetadata().getComponentName());
|
|
@@ -510,7 +511,7 @@ sap.ui.define([
|
|
|
510
511
|
this.stubGetUriParameters();
|
|
511
512
|
|
|
512
513
|
return Component.create({
|
|
513
|
-
name: "
|
|
514
|
+
name: "testdata.v2models.parentValid",
|
|
514
515
|
manifest: false
|
|
515
516
|
}).then(function (oComponent) {
|
|
516
517
|
|
|
@@ -605,7 +606,7 @@ sap.ui.define([
|
|
|
605
606
|
|
|
606
607
|
// model: "resourceBundle-name"
|
|
607
608
|
sinon.assert.calledWithExactly(this.modelSpy.resource, {
|
|
608
|
-
bundleName: "
|
|
609
|
+
bundleName: "testdata.v2models.parent.i18n"
|
|
609
610
|
});
|
|
610
611
|
|
|
611
612
|
// model: "resourceBundle-legacy-uri"
|
|
@@ -614,7 +615,7 @@ sap.ui.define([
|
|
|
614
615
|
});
|
|
615
616
|
|
|
616
617
|
|
|
617
|
-
//
|
|
618
|
+
// testdata.v2models.parent.CustomModel
|
|
618
619
|
sinon.assert.callCount(this.modelSpy.custom, 7);
|
|
619
620
|
|
|
620
621
|
// model: "custom-uri-string"
|
|
@@ -692,7 +693,7 @@ sap.ui.define([
|
|
|
692
693
|
|
|
693
694
|
"sap.app": {
|
|
694
695
|
"_version": "1.0.0",
|
|
695
|
-
"id": "
|
|
696
|
+
"id": "testdata.v2models.parent",
|
|
696
697
|
"type": "application",
|
|
697
698
|
"applicationVersion": {
|
|
698
699
|
"version": "1.0.0"
|
|
@@ -737,7 +738,7 @@ sap.ui.define([
|
|
|
737
738
|
};
|
|
738
739
|
|
|
739
740
|
return Component.create({
|
|
740
|
-
name: "
|
|
741
|
+
name: "testdata.v2models.parent",
|
|
741
742
|
manifest: oManifestJson
|
|
742
743
|
}).catch((error) => {
|
|
743
744
|
assert.ok(error.message.includes(`Component Manifest: ODataAnnotation "undefined" for dataSource "odata-invalid-annotations" could not be found in manifest`),
|
|
@@ -755,7 +756,7 @@ sap.ui.define([
|
|
|
755
756
|
|
|
756
757
|
"sap.app": {
|
|
757
758
|
"_version": "1.0.0",
|
|
758
|
-
"id": "
|
|
759
|
+
"id": "testdata.v2models.parent",
|
|
759
760
|
"type": "application",
|
|
760
761
|
"applicationVersion": {
|
|
761
762
|
"version": "1.0.0"
|
|
@@ -795,7 +796,7 @@ sap.ui.define([
|
|
|
795
796
|
};
|
|
796
797
|
|
|
797
798
|
return Component.create({
|
|
798
|
-
name: "
|
|
799
|
+
name: "testdata.v2models.parent",
|
|
799
800
|
manifest: oManifestJson
|
|
800
801
|
}).catch((error) => {
|
|
801
802
|
assert.ok(error.message.includes(`Component Manifest: dataSource "invalid" for model "dataSource-invalid" not found or invalid`),
|
|
@@ -813,7 +814,7 @@ sap.ui.define([
|
|
|
813
814
|
|
|
814
815
|
"sap.app": {
|
|
815
816
|
"_version": "1.0.0",
|
|
816
|
-
"id": "
|
|
817
|
+
"id": "testdata.v2models.parent",
|
|
817
818
|
"type": "application",
|
|
818
819
|
"applicationVersion": {
|
|
819
820
|
"version": "1.0.0"
|
|
@@ -852,7 +853,7 @@ sap.ui.define([
|
|
|
852
853
|
};
|
|
853
854
|
|
|
854
855
|
return Component.create({
|
|
855
|
-
name: "
|
|
856
|
+
name: "testdata.v2models.parent",
|
|
856
857
|
manifest: oManifestJson
|
|
857
858
|
}).catch((error) => {
|
|
858
859
|
assert.ok(error.message.includes(`Component Manifest: dataSource "does-not-exist" for model "dataSource-not-found" not found or invalid`),
|
|
@@ -870,7 +871,7 @@ sap.ui.define([
|
|
|
870
871
|
|
|
871
872
|
"sap.app": {
|
|
872
873
|
"_version": "1.0.0",
|
|
873
|
-
"id": "
|
|
874
|
+
"id": "testdata.v2models.parent",
|
|
874
875
|
"type": "application",
|
|
875
876
|
"applicationVersion": {
|
|
876
877
|
"version": "1.0.0"
|
|
@@ -901,17 +902,17 @@ sap.ui.define([
|
|
|
901
902
|
"models": {
|
|
902
903
|
"": "default",
|
|
903
904
|
"model-not-found": {
|
|
904
|
-
"type": "
|
|
905
|
+
"type": "testdata.v2models.parent.ModelNotDefined"
|
|
905
906
|
}
|
|
906
907
|
}
|
|
907
908
|
}
|
|
908
909
|
};
|
|
909
910
|
|
|
910
911
|
return Component.create({
|
|
911
|
-
name: "
|
|
912
|
+
name: "testdata.v2models.parent",
|
|
912
913
|
manifest: oManifestJson
|
|
913
914
|
}).catch((error) => {
|
|
914
|
-
assert.ok(error.message.includes(`Component Manifest: Class "
|
|
915
|
+
assert.ok(error.message.includes(`Component Manifest: Class "testdata.v2models.parent.ModelNotDefined" for model "model-not-found" could not be found`),
|
|
915
916
|
"Error thrown because model is not found.");
|
|
916
917
|
|
|
917
918
|
future.active = undefined;
|
|
@@ -926,7 +927,7 @@ sap.ui.define([
|
|
|
926
927
|
|
|
927
928
|
"sap.app": {
|
|
928
929
|
"_version": "1.0.0",
|
|
929
|
-
"id": "
|
|
930
|
+
"id": "testdata.v2models.parent",
|
|
930
931
|
"type": "application",
|
|
931
932
|
"applicationVersion": {
|
|
932
933
|
"version": "1.0.0"
|
|
@@ -964,7 +965,7 @@ sap.ui.define([
|
|
|
964
965
|
};
|
|
965
966
|
|
|
966
967
|
return Component.create({
|
|
967
|
-
name: "
|
|
968
|
+
name: "testdata.v2models.parent",
|
|
968
969
|
manifest: oManifestJson
|
|
969
970
|
}).catch((error) => {
|
|
970
971
|
assert.ok(error.message.includes(`Cannot load module 'sap/ui/not/defined/Model'.`),
|
|
@@ -983,7 +984,7 @@ sap.ui.define([
|
|
|
983
984
|
|
|
984
985
|
"sap.app": {
|
|
985
986
|
"_version": "1.0.0",
|
|
986
|
-
"id": "
|
|
987
|
+
"id": "testdata.v2models.parent1",
|
|
987
988
|
"type": "application",
|
|
988
989
|
"applicationVersion": {
|
|
989
990
|
"version": "1.0.0"
|
|
@@ -1033,7 +1034,7 @@ sap.ui.define([
|
|
|
1033
1034
|
};
|
|
1034
1035
|
|
|
1035
1036
|
return Component.create({
|
|
1036
|
-
name: "
|
|
1037
|
+
name: "testdata.v2models.parent",
|
|
1037
1038
|
manifest: oManifestJson
|
|
1038
1039
|
}).catch((error) => {
|
|
1039
1040
|
assert.ok(error.message.includes(`Component Manifest: Provided OData version "3.0" in dataSource "unknown-odataVersion" for model "v2-ODataModel-unknown-odataVersion" is unknown.`),
|
|
@@ -1047,7 +1048,7 @@ sap.ui.define([
|
|
|
1047
1048
|
this.stubGetUriParameters({ sapSystem: "BLA_123" });
|
|
1048
1049
|
|
|
1049
1050
|
return Component.create({
|
|
1050
|
-
name: "
|
|
1051
|
+
name: "testdata.v2models.parentValid",
|
|
1051
1052
|
manifest: false
|
|
1052
1053
|
}).then(function(oComponent) {
|
|
1053
1054
|
this.oComponent = oComponent;
|
|
@@ -1089,7 +1090,7 @@ sap.ui.define([
|
|
|
1089
1090
|
//ResourceModel should also not have an origin attached
|
|
1090
1091
|
// model: "resourceBundle-name"
|
|
1091
1092
|
sinon.assert.calledWithExactly(this.modelSpy.resource, {
|
|
1092
|
-
bundleName: "
|
|
1093
|
+
bundleName: "testdata.v2models.parent.i18n"
|
|
1093
1094
|
});
|
|
1094
1095
|
|
|
1095
1096
|
// destroy the component
|
|
@@ -1108,7 +1109,7 @@ sap.ui.define([
|
|
|
1108
1109
|
this.stubGetUriParameters();
|
|
1109
1110
|
|
|
1110
1111
|
return Component.create({
|
|
1111
|
-
name: "
|
|
1112
|
+
name: "testdata.v2models.parentValid",
|
|
1112
1113
|
manifest: false,
|
|
1113
1114
|
componentData: {
|
|
1114
1115
|
startupParameters: {
|
|
@@ -1155,7 +1156,7 @@ sap.ui.define([
|
|
|
1155
1156
|
//ResourceModel should also not have an origin attached
|
|
1156
1157
|
// model: "resourceBundle-name"
|
|
1157
1158
|
sinon.assert.calledWithExactly(this.modelSpy.resource, {
|
|
1158
|
-
bundleName: "
|
|
1159
|
+
bundleName: "testdata.v2models.parent.i18n"
|
|
1159
1160
|
});
|
|
1160
1161
|
|
|
1161
1162
|
// destroy the component
|
|
@@ -1173,7 +1174,7 @@ sap.ui.define([
|
|
|
1173
1174
|
QUnit.test("metadata v2 with cacheTokens", function(assert) {
|
|
1174
1175
|
|
|
1175
1176
|
return Component.create({
|
|
1176
|
-
name: "
|
|
1177
|
+
name: "testdata.v2models.parentValid",
|
|
1177
1178
|
manifest: false,
|
|
1178
1179
|
asyncHints: {
|
|
1179
1180
|
cacheTokens: {
|
|
@@ -1225,7 +1226,7 @@ sap.ui.define([
|
|
|
1225
1226
|
//ResourceModel should also not have an origin attached
|
|
1226
1227
|
// model: "resourceBundle-name"
|
|
1227
1228
|
sinon.assert.calledWithExactly(this.modelSpy.resource, {
|
|
1228
|
-
bundleName: "
|
|
1229
|
+
bundleName: "testdata.v2models.parent.i18n"
|
|
1229
1230
|
});
|
|
1230
1231
|
|
|
1231
1232
|
// destroy the component
|
|
@@ -1244,7 +1245,7 @@ sap.ui.define([
|
|
|
1244
1245
|
this.stubGetUriParameters();
|
|
1245
1246
|
|
|
1246
1247
|
return Component.create({
|
|
1247
|
-
name: "
|
|
1248
|
+
name: "testdata.v2models.parentValid",
|
|
1248
1249
|
manifest: false,
|
|
1249
1250
|
asyncHints: {
|
|
1250
1251
|
cacheTokens: {
|
|
@@ -1289,7 +1290,7 @@ sap.ui.define([
|
|
|
1289
1290
|
//ResourceModel should also not have an origin attached
|
|
1290
1291
|
// model: "resourceBundle-name"
|
|
1291
1292
|
sinon.assert.calledWithExactly(this.modelSpy.resource, {
|
|
1292
|
-
bundleName: "
|
|
1293
|
+
bundleName: "testdata.v2models.parent.i18n"
|
|
1293
1294
|
});
|
|
1294
1295
|
|
|
1295
1296
|
// destroy the component
|
|
@@ -1309,7 +1310,7 @@ sap.ui.define([
|
|
|
1309
1310
|
"sapClient": "200"
|
|
1310
1311
|
});
|
|
1311
1312
|
return Component.create({
|
|
1312
|
-
name: "
|
|
1313
|
+
name: "testdata.v4models.cacheTokens",
|
|
1313
1314
|
manifest: false,
|
|
1314
1315
|
asyncHints: {
|
|
1315
1316
|
cacheTokens: {
|
|
@@ -1355,7 +1356,7 @@ sap.ui.define([
|
|
|
1355
1356
|
this.stubGetUriParameters({ sapSystem: "URL_123" });
|
|
1356
1357
|
|
|
1357
1358
|
this.oComponent = await Component.create({
|
|
1358
|
-
name: "
|
|
1359
|
+
name: "testdata.v4models.sapSystem"
|
|
1359
1360
|
});
|
|
1360
1361
|
|
|
1361
1362
|
this.assertModelInstances({
|
|
@@ -1401,7 +1402,7 @@ sap.ui.define([
|
|
|
1401
1402
|
this.stubGetUriParameters();
|
|
1402
1403
|
|
|
1403
1404
|
this.oComponent = await Component.create({
|
|
1404
|
-
name: "
|
|
1405
|
+
name: "testdata.v4models.sapSystem",
|
|
1405
1406
|
componentData: {
|
|
1406
1407
|
startupParameters: {
|
|
1407
1408
|
"sap-system": "STARTUP123"
|
|
@@ -1452,7 +1453,7 @@ sap.ui.define([
|
|
|
1452
1453
|
this.stubGetUriParameters();
|
|
1453
1454
|
|
|
1454
1455
|
return Component.create({
|
|
1455
|
-
name: "
|
|
1456
|
+
name: "testdata.v2models.extension",
|
|
1456
1457
|
manifest: false
|
|
1457
1458
|
}).then(function(oComponent) {
|
|
1458
1459
|
this.oComponent = oComponent;
|
|
@@ -1533,7 +1534,7 @@ sap.ui.define([
|
|
|
1533
1534
|
|
|
1534
1535
|
// model: "resourceBundle-name"
|
|
1535
1536
|
sinon.assert.calledWithExactly(this.modelSpy.resource, {
|
|
1536
|
-
bundleName: "
|
|
1537
|
+
bundleName: "testdata.v2models.parent.i18n"
|
|
1537
1538
|
});
|
|
1538
1539
|
|
|
1539
1540
|
// model: "resourceBundle-legacy-uri"
|
|
@@ -1541,7 +1542,7 @@ sap.ui.define([
|
|
|
1541
1542
|
bundleUrl: "test-resources/sap/ui/core/qunit/component/testdata/v2models/parentValid/i18n.properties"
|
|
1542
1543
|
});
|
|
1543
1544
|
|
|
1544
|
-
//
|
|
1545
|
+
// testdata.v2models.parent.CustomModel
|
|
1545
1546
|
sinon.assert.callCount(this.modelSpy.custom, 7);
|
|
1546
1547
|
|
|
1547
1548
|
// model: "custom-uri-string"
|
|
@@ -1611,7 +1612,7 @@ sap.ui.define([
|
|
|
1611
1612
|
QUnit.test("metadata v2 without models", function(assert) {
|
|
1612
1613
|
|
|
1613
1614
|
return Component.create({
|
|
1614
|
-
name: "
|
|
1615
|
+
name: "testdata.v2empty"
|
|
1615
1616
|
}).then(function(oComponent) {
|
|
1616
1617
|
this.oComponent = oComponent;
|
|
1617
1618
|
|
|
@@ -1623,7 +1624,7 @@ sap.ui.define([
|
|
|
1623
1624
|
sinon.assert.callCount(this.modelSpy.xml, 0);
|
|
1624
1625
|
// sap.ui.model.resource.ResourceModel
|
|
1625
1626
|
sinon.assert.callCount(this.modelSpy.resource, 0);
|
|
1626
|
-
//
|
|
1627
|
+
// testdata.v2models.CustomModel
|
|
1627
1628
|
sinon.assert.callCount(this.modelSpy.custom, 0);
|
|
1628
1629
|
|
|
1629
1630
|
assert.ok(!this.oComponent.getModel(), "Component should not have a model");
|
|
@@ -1638,13 +1639,13 @@ sap.ui.define([
|
|
|
1638
1639
|
QUnit.test("dynamic enhance of models and datasources", function(assert) {
|
|
1639
1640
|
this.stubGetUriParameters();
|
|
1640
1641
|
|
|
1641
|
-
sap.ui.define("
|
|
1642
|
+
sap.ui.define("testdata/v2local/Component", ["sap/ui/core/UIComponent"], function(UIComponent) {
|
|
1642
1643
|
|
|
1643
|
-
var LocalComponent = UIComponent.extend("
|
|
1644
|
+
var LocalComponent = UIComponent.extend("testdata.v2local.Component", {
|
|
1644
1645
|
metadata : {
|
|
1645
1646
|
manifest : {
|
|
1646
1647
|
"sap.app": {
|
|
1647
|
-
"id": "
|
|
1648
|
+
"id": "testdata.v2local"
|
|
1648
1649
|
}
|
|
1649
1650
|
}
|
|
1650
1651
|
}
|
|
@@ -1692,7 +1693,7 @@ sap.ui.define([
|
|
|
1692
1693
|
});
|
|
1693
1694
|
|
|
1694
1695
|
return Component.create({
|
|
1695
|
-
name: "
|
|
1696
|
+
name: "testdata.v2local",
|
|
1696
1697
|
manifest: false
|
|
1697
1698
|
}).then(function(oComponent) {
|
|
1698
1699
|
this.oComponent = oComponent;
|
|
@@ -1723,7 +1724,7 @@ sap.ui.define([
|
|
|
1723
1724
|
QUnit.test("consume V2 service with V4 model", function(assert) {
|
|
1724
1725
|
|
|
1725
1726
|
return Component.create({
|
|
1726
|
-
name: "
|
|
1727
|
+
name: "testdata.v4models",
|
|
1727
1728
|
manifest: false
|
|
1728
1729
|
}).then(function(oComponent) {
|
|
1729
1730
|
this.oComponent = oComponent;
|
|
@@ -1751,7 +1752,7 @@ sap.ui.define([
|
|
|
1751
1752
|
|
|
1752
1753
|
QUnit.test("pass unsupported service version to V4 model", function(assert) {
|
|
1753
1754
|
return Component.create({
|
|
1754
|
-
name: "
|
|
1755
|
+
name: "testdata.v4models.unsupportedVersion",
|
|
1755
1756
|
manifest: false
|
|
1756
1757
|
}).then(function(oComponent) {
|
|
1757
1758
|
assert.ok(false, "creating a component that uses an unupported OData version must not succeed");
|
|
@@ -1776,7 +1777,7 @@ sap.ui.define([
|
|
|
1776
1777
|
// The modelsMisc Component is intended to hold tests for additional parameters that just need
|
|
1777
1778
|
// to be passed onwards to the models.
|
|
1778
1779
|
return Component.create({
|
|
1779
|
-
name: "
|
|
1780
|
+
name: "testdata.modelsMisc"
|
|
1780
1781
|
}).then(function(oComponent) {
|
|
1781
1782
|
|
|
1782
1783
|
// check if models exist
|
|
@@ -1908,7 +1909,7 @@ sap.ui.define([
|
|
|
1908
1909
|
|
|
1909
1910
|
// model: "resourceBundle-name"
|
|
1910
1911
|
sinon.assert.calledWithExactly(this.modelSpy.resource, {
|
|
1911
|
-
bundleName: "
|
|
1912
|
+
bundleName: "testdata.v2models.parent.i18n"
|
|
1912
1913
|
});
|
|
1913
1914
|
|
|
1914
1915
|
// model: "resourceBundle-legacy-uri"
|
|
@@ -1917,7 +1918,7 @@ sap.ui.define([
|
|
|
1917
1918
|
});
|
|
1918
1919
|
|
|
1919
1920
|
|
|
1920
|
-
//
|
|
1921
|
+
// testdata.v2models.parent.CustomModel
|
|
1921
1922
|
sinon.assert.callCount(this.modelSpy.custom, 7);
|
|
1922
1923
|
|
|
1923
1924
|
// model: "custom-uri-string"
|
|
@@ -1986,7 +1987,7 @@ sap.ui.define([
|
|
|
1986
1987
|
QUnit.test("Init component via name", function(assert) {
|
|
1987
1988
|
|
|
1988
1989
|
return Component.create({
|
|
1989
|
-
name: "
|
|
1990
|
+
name: "testdata.v2models.empty",
|
|
1990
1991
|
manifest: false
|
|
1991
1992
|
}).then(function(oComponent) {
|
|
1992
1993
|
this.oComponent = oComponent;
|
|
@@ -1998,7 +1999,7 @@ sap.ui.define([
|
|
|
1998
1999
|
QUnit.test("Init component via name and manifestFirst", function(assert) {
|
|
1999
2000
|
|
|
2000
2001
|
return Component.create({
|
|
2001
|
-
name: "
|
|
2002
|
+
name: "testdata.v2models.empty",
|
|
2002
2003
|
manifest: true
|
|
2003
2004
|
}).then(function(oComponent) {
|
|
2004
2005
|
this.oComponent = oComponent;
|
|
@@ -4318,7 +4319,6 @@ sap.ui.define([
|
|
|
4318
4319
|
sap.ui.loader.config({
|
|
4319
4320
|
paths: {
|
|
4320
4321
|
"path/to/odata/service": "https://remote.system:9000/odata/service",
|
|
4321
|
-
"sap/ui/test/v2models/ui5urls": "test-resources/sap/ui/core/qunit/component/testdata/v2models/ui5Urls",
|
|
4322
4322
|
"another/name/space": "test-resources/sap/ui/core/qunit/component/testdata/v2models/ui5Urls/another/name/space",
|
|
4323
4323
|
"cool.name.space": "test-resources/sap/ui/core/qunit/component/testdata/v2models/ui5Urls/cool/name/space"
|
|
4324
4324
|
}
|
|
@@ -4335,11 +4335,11 @@ sap.ui.define([
|
|
|
4335
4335
|
// To keep reusing the same component for async and sync path tests,
|
|
4336
4336
|
// we need to unload the Component and remove the leftovers from the ComponentMetadata.
|
|
4337
4337
|
// This way all tests start fresh and actually load the Component again.
|
|
4338
|
-
var TestComponent = sap.ui.require("
|
|
4338
|
+
var TestComponent = sap.ui.require("testdata/v2models/ui5Urls/Component");
|
|
4339
4339
|
if ( TestComponent ) {
|
|
4340
4340
|
delete TestComponent.getMetadata()._oManifest;
|
|
4341
4341
|
}
|
|
4342
|
-
privateLoaderAPI.unloadResources('
|
|
4342
|
+
privateLoaderAPI.unloadResources('testdata/v2models/ui5Urls/Component.js', true, true, true);
|
|
4343
4343
|
|
|
4344
4344
|
// remove the previous path-configs/resource-roots
|
|
4345
4345
|
sap.ui.loader.config({
|
|
@@ -4397,7 +4397,7 @@ sap.ui.define([
|
|
|
4397
4397
|
assert.equal(sap.ui.require.toUrl("this/is/a/resourceRoot"), "resources/this/is/a/resourceRoot", "Resource-roots not defined yet.");
|
|
4398
4398
|
|
|
4399
4399
|
return Component.create({
|
|
4400
|
-
name: "
|
|
4400
|
+
name: "testdata.v2models.ui5Urls"
|
|
4401
4401
|
}).then(function(oComponent) {
|
|
4402
4402
|
this.oComponent = oComponent;
|
|
4403
4403
|
fnAssert.call(this, assert);
|
|
@@ -4414,7 +4414,7 @@ sap.ui.define([
|
|
|
4414
4414
|
// url resolution triggered during manifest init
|
|
4415
4415
|
// Manifest model init is triggered afterwards during Component constructor, at this time all URLs have been resolved
|
|
4416
4416
|
return Component.create({
|
|
4417
|
-
name: "
|
|
4417
|
+
name: "testdata.v2models.ui5Urls",
|
|
4418
4418
|
manifest: false
|
|
4419
4419
|
}).then(function(oComponent) {
|
|
4420
4420
|
this.oComponent = oComponent;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
/*global testdata */
|
|
1
2
|
sap.ui.define([
|
|
2
|
-
"jquery.sap.global",
|
|
3
3
|
"sap/base/i18n/Localization",
|
|
4
4
|
"sap/ui/base/config/URLConfigurationProvider",
|
|
5
5
|
"sap/base/Log",
|
|
@@ -11,8 +11,8 @@ sap.ui.define([
|
|
|
11
11
|
"sap/ui/model/json/JSONModel",
|
|
12
12
|
"sap/ui/model/xml/XMLModel",
|
|
13
13
|
"sap/ui/model/resource/ResourceModel",
|
|
14
|
-
"
|
|
15
|
-
], function(
|
|
14
|
+
"testdata/v2models/parent/CustomModel"
|
|
15
|
+
], function(Localization, URLConfigurationProvider, Log, Component) {
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
"use strict";
|
|
@@ -33,7 +33,7 @@ sap.ui.define([
|
|
|
33
33
|
json: sinon.spy(sap.ui.model.json, "JSONModel"),
|
|
34
34
|
xml: sinon.spy(sap.ui.model.xml, "XMLModel"),
|
|
35
35
|
resource: sinon.spy(sap.ui.model.resource, "ResourceModel"),
|
|
36
|
-
custom: sinon.spy(
|
|
36
|
+
custom: sinon.spy(testdata.v2models.parent, "CustomModel")
|
|
37
37
|
};
|
|
38
38
|
},
|
|
39
39
|
restoreModels: function() {
|
|
@@ -117,7 +117,7 @@ sap.ui.define([
|
|
|
117
117
|
sap.ui.loader.config({
|
|
118
118
|
paths: {
|
|
119
119
|
"path/to/odata/service": "https://remote.system:9000/odata/service",
|
|
120
|
-
"
|
|
120
|
+
"testdata/v2models/ui5urls": "test-resources/sap/ui/core/qunit/component/testdata/v2models/ui5Urls",
|
|
121
121
|
"another/name/space": "test-resources/sap/ui/core/qunit/component/testdata/v2models/ui5Urls/another/name/space",
|
|
122
122
|
"cool.name.space": "test-resources/sap/ui/core/qunit/component/testdata/v2models/ui5Urls/cool/name/space"
|
|
123
123
|
}
|
|
@@ -134,8 +134,8 @@ sap.ui.define([
|
|
|
134
134
|
// To keep reusing the same component for async and sync path tests,
|
|
135
135
|
// we need to unload the Component and remove the leftovers from the ComponentMetadata.
|
|
136
136
|
// This way all tests start fresh and actually load the Component again.
|
|
137
|
-
sap.ui.loader._.unloadResources('
|
|
138
|
-
delete
|
|
137
|
+
sap.ui.loader._.unloadResources('testdata/v2models/ui5urls/Component.js', true, true, true);
|
|
138
|
+
delete testdata.v2models.ui5Urls.Component.getMetadata()._oManifest;
|
|
139
139
|
|
|
140
140
|
// remove the previous path-configs/resource-roots
|
|
141
141
|
sap.ui.loader.config({
|
|
@@ -190,7 +190,7 @@ sap.ui.define([
|
|
|
190
190
|
assert.equal(sap.ui.require.toUrl("this/is/a/resourceRoot"), "resources/this/is/a/resourceRoot", "Resource-roots not defined yet.");
|
|
191
191
|
|
|
192
192
|
this.oComponent = sap.ui.component({
|
|
193
|
-
name: "
|
|
193
|
+
name: "testdata.v2models.ui5urls",
|
|
194
194
|
manifest: true,
|
|
195
195
|
async: false
|
|
196
196
|
});
|
|
@@ -205,7 +205,7 @@ sap.ui.define([
|
|
|
205
205
|
assert.equal(sap.ui.require.toUrl("this/is/a/resourceRoot"), "resources/this/is/a/resourceRoot", "Resource-roots not defined yet.");
|
|
206
206
|
|
|
207
207
|
this.oComponent = sap.ui.component({
|
|
208
|
-
name: "
|
|
208
|
+
name: "testdata.v2models.ui5urls"
|
|
209
209
|
});
|
|
210
210
|
|
|
211
211
|
fnAssert.call(this, assert);
|
|
@@ -215,7 +215,7 @@ sap.ui.define([
|
|
|
215
215
|
this.stubGetUriParameters();
|
|
216
216
|
|
|
217
217
|
return Component.create({
|
|
218
|
-
name: "
|
|
218
|
+
name: "testdata.v1",
|
|
219
219
|
manifest: false
|
|
220
220
|
}).then(function(oComponent) {
|
|
221
221
|
this.oComponent = oComponent;
|
|
@@ -249,7 +249,7 @@ sap.ui.define([
|
|
|
249
249
|
QUnit.test("metadata v1 without models", function(assert) {
|
|
250
250
|
|
|
251
251
|
return Component.create({
|
|
252
|
-
name: "
|
|
252
|
+
name: "testdata.v1empty",
|
|
253
253
|
manifest: false
|
|
254
254
|
}).then(function(oComponent) {
|
|
255
255
|
this.oComponent = oComponent;
|
|
@@ -268,7 +268,7 @@ sap.ui.define([
|
|
|
268
268
|
sinon.assert.callCount(this.modelSpy.xml, 0);
|
|
269
269
|
// sap.ui.model.resource.ResourceModel
|
|
270
270
|
sinon.assert.callCount(this.modelSpy.resource, 0);
|
|
271
|
-
//
|
|
271
|
+
// testdata.v2models.CustomModel
|
|
272
272
|
sinon.assert.callCount(this.modelSpy.custom, 0);
|
|
273
273
|
|
|
274
274
|
assert.ok(!this.oComponent.getModel(), "Component should not have a model");
|
|
@@ -8,7 +8,7 @@ sap.ui.define([
|
|
|
8
8
|
"sap/ui/core/Element",
|
|
9
9
|
"sap/ui/core/UIComponent",
|
|
10
10
|
"sap/ui/core/mvc/View",
|
|
11
|
-
"sap/ui/
|
|
11
|
+
"sap/ui/test/utils/nextUIUpdate"
|
|
12
12
|
], function(future, Log, Button, ManagedObject, Component, ComponentContainer, Element, UIComponent, View, nextUIUpdate) {
|
|
13
13
|
|
|
14
14
|
"use strict";
|
|
@@ -1845,7 +1845,7 @@ sap.ui.define([
|
|
|
1845
1845
|
window._oHookSpy = this.hookSpy;
|
|
1846
1846
|
|
|
1847
1847
|
this.requireSpy = this.spy(sap.ui, "require");
|
|
1848
|
-
this.componentName = "
|
|
1848
|
+
this.componentName = "testdata.routerClass";
|
|
1849
1849
|
},
|
|
1850
1850
|
afterEach() {
|
|
1851
1851
|
this.component.destroy();
|
|
@@ -6,7 +6,7 @@ sap.ui.define([
|
|
|
6
6
|
"sap/ui/core/UIComponent",
|
|
7
7
|
"sap/ui/core/mvc/View",
|
|
8
8
|
"sap/base/Log",
|
|
9
|
-
"sap/ui/
|
|
9
|
+
"sap/ui/test/utils/nextUIUpdate"
|
|
10
10
|
], function(Component, ManagedObject, ComponentContainer, Element, UIComponent, View, Log, nextUIUpdate) {
|
|
11
11
|
|
|
12
12
|
"use strict";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
sap.ui.define([
|
|
1
|
+
sap.ui.define([ "sap/ui/core/UIComponent"], function (UIComponent) {
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
return UIComponent.extend("
|
|
4
|
+
return UIComponent.extend("testdata.dependencyLoading.component1.Component", {
|
|
5
5
|
metadata: {
|
|
6
6
|
manifest: "json"
|
|
7
7
|
}
|
package/test/sap/ui/core/qunit/component/testdata/dependencyLoading/component1/manifest.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"sap.app": {
|
|
3
|
-
"id": "
|
|
3
|
+
"id": "testdata.dependencyLoading.component1"
|
|
4
4
|
},
|
|
5
5
|
"sap.ui5": {
|
|
6
|
-
"componentName": "
|
|
6
|
+
"componentName": "testdata.dependencyLoading.component1",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"libs": {
|
|
9
9
|
"sap.m": {},
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"sap.ui.core": {}
|
|
12
12
|
},
|
|
13
13
|
"components": {
|
|
14
|
-
"
|
|
14
|
+
"testdata.dependencyLoading.component2": {}
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
sap.ui.define([
|
|
1
|
+
sap.ui.define(["sap/ui/core/UIComponent"], function (UIComponent) {
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
return UIComponent.extend("
|
|
4
|
+
return UIComponent.extend("testdata.dependencyLoading.component2.Component", {
|
|
5
5
|
metadata: {
|
|
6
6
|
manifest: "json"
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
sap.ui.define([
|
|
1
|
+
sap.ui.define(["../component1/Component"], function (Component1) {
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
return Component1.extend("
|
|
4
|
+
return Component1.extend("testdata.dependencyLoading.component3.Component", {
|
|
5
5
|
metadata: {
|
|
6
6
|
manifest: "json"
|
|
7
7
|
}
|