@openui5/sap.ui.core 1.126.1 → 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/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/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 -17
- 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
|
@@ -8,7 +8,7 @@ sap.ui.define([
|
|
|
8
8
|
"sap/ui/core/UIArea",
|
|
9
9
|
"sap/ui/core/UIAreaRegistry",
|
|
10
10
|
"sap/ui/qunit/utils/createAndAppendDiv",
|
|
11
|
-
"sap/ui/
|
|
11
|
+
"sap/ui/test/utils/nextUIUpdate",
|
|
12
12
|
"sap/ui/testlib/TestButton",
|
|
13
13
|
"sap/ui/test/actions/Press",
|
|
14
14
|
"sap/ui/thirdparty/jquery"
|
|
@@ -5,7 +5,7 @@ sap.ui.define([
|
|
|
5
5
|
"sap/ui/thirdparty/URI",
|
|
6
6
|
"sap/ui/core/Theming",
|
|
7
7
|
"sap/ui/core/theming/Parameters",
|
|
8
|
-
"sap/ui/
|
|
8
|
+
"sap/ui/test/utils/waitForThemeApplied"
|
|
9
9
|
], function(Localization, Lib, URI, Theming, Parameters, waitForThemeApplied) {
|
|
10
10
|
"use strict";
|
|
11
11
|
|
|
@@ -131,14 +131,7 @@ sap.ui.define(function() {
|
|
|
131
131
|
title: "Test Page for Bootstrap within Head",
|
|
132
132
|
bootCore: false,
|
|
133
133
|
ui5: {
|
|
134
|
-
onInit: "module:sap/ui/
|
|
135
|
-
},
|
|
136
|
-
loader: {
|
|
137
|
-
paths: {
|
|
138
|
-
"sap/ui/test": "test-resources/sap/ui/core/qunit/bootstrap/",
|
|
139
|
-
"sap/ui/test/qunitPause": "resources/sap/ui/test/qunitPause",
|
|
140
|
-
"sap/ui/test/RecorderHotkeyListener": "resources/sap/ui/test/RecorderHotkeyListener"
|
|
141
|
-
}
|
|
134
|
+
onInit: "module:test-resources/sap/ui/core/qunit/bootstrap/BootstrapMainModule"
|
|
142
135
|
},
|
|
143
136
|
beforeBootstrap: "./BootstrapMainModule.beforeBootstrap"
|
|
144
137
|
},
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
sap.ui.define([
|
|
2
2
|
'sap/ui/qunit/utils/createAndAppendDiv',
|
|
3
|
-
"sap/ui/
|
|
3
|
+
"sap/ui/test/utils/nextUIUpdate",
|
|
4
4
|
'sap/ui/core/Component',
|
|
5
5
|
'sap/ui/core/Supportability',
|
|
6
6
|
'sap/ui/core/ComponentContainer',
|
|
7
7
|
'sap/ui/core/ComponentRegistry',
|
|
8
8
|
'sap/ui/core/Messaging',
|
|
9
9
|
'sap/ui/core/UIComponentMetadata',
|
|
10
|
-
'
|
|
11
|
-
'
|
|
10
|
+
'testdata/routing/Component',
|
|
11
|
+
'testdata/routing/RouterExtension',
|
|
12
12
|
'sap/base/Log',
|
|
13
13
|
'sap/base/util/deepExtend',
|
|
14
14
|
'sap/base/util/LoaderExtensions',
|
|
@@ -65,7 +65,7 @@ sap.ui.define([
|
|
|
65
65
|
}
|
|
66
66
|
}).placeAt("comparea1");
|
|
67
67
|
return Component.create({
|
|
68
|
-
name: "
|
|
68
|
+
name: "testdata.verticalLayout",
|
|
69
69
|
id: "vLayout",
|
|
70
70
|
componentData: {
|
|
71
71
|
"foo": "bar"
|
|
@@ -136,7 +136,7 @@ sap.ui.define([
|
|
|
136
136
|
assert.equal(oComponent, oComp, "Factory function returns the same instance!");
|
|
137
137
|
|
|
138
138
|
return Component.create({
|
|
139
|
-
name: "
|
|
139
|
+
name: "testdata.verticalLayout",
|
|
140
140
|
id: "factoryVLayout"
|
|
141
141
|
}).then(function() {
|
|
142
142
|
assert.ok(!!oComponent, "Component has been created!");
|
|
@@ -194,7 +194,7 @@ sap.ui.define([
|
|
|
194
194
|
|
|
195
195
|
QUnit.test("[Router] manifest = false", async function(assert) {
|
|
196
196
|
const oComp = await Component.create({
|
|
197
|
-
name: "
|
|
197
|
+
name: "testdata.routerPreloading",
|
|
198
198
|
manifest: false
|
|
199
199
|
});
|
|
200
200
|
|
|
@@ -208,7 +208,7 @@ sap.ui.define([
|
|
|
208
208
|
|
|
209
209
|
QUnit.test("[Router] manifest = true", async function(assert) {
|
|
210
210
|
const oComp = await Component.create({
|
|
211
|
-
name: "
|
|
211
|
+
name: "testdata.routerPreloading"
|
|
212
212
|
// manifest: true // implicitly set
|
|
213
213
|
});
|
|
214
214
|
|
|
@@ -222,7 +222,7 @@ sap.ui.define([
|
|
|
222
222
|
|
|
223
223
|
QUnit.test("[Targets] manifest = false", async function(assert) {
|
|
224
224
|
const oComp = await Component.create({
|
|
225
|
-
name: "
|
|
225
|
+
name: "testdata.targetsPreloading",
|
|
226
226
|
manifest: false
|
|
227
227
|
});
|
|
228
228
|
|
|
@@ -236,7 +236,7 @@ sap.ui.define([
|
|
|
236
236
|
|
|
237
237
|
QUnit.test("[Targets] manifest = true", async function(assert) {
|
|
238
238
|
const oComp = await Component.create({
|
|
239
|
-
name: "
|
|
239
|
+
name: "testdata.targetsPreloading",
|
|
240
240
|
manifest: false
|
|
241
241
|
});
|
|
242
242
|
|
|
@@ -415,7 +415,7 @@ sap.ui.define([
|
|
|
415
415
|
QUnit.module("Creation Context", {
|
|
416
416
|
beforeEach: function() {
|
|
417
417
|
return Component.create({
|
|
418
|
-
name: "
|
|
418
|
+
name: "testdata.verticalLayout",
|
|
419
419
|
id: "vLayout",
|
|
420
420
|
componentData: {
|
|
421
421
|
"foo": "bar"
|
|
@@ -469,7 +469,7 @@ sap.ui.define([
|
|
|
469
469
|
beforeEach : function () {
|
|
470
470
|
// System under test
|
|
471
471
|
return Component.create({
|
|
472
|
-
name: "
|
|
472
|
+
name: "testdata.routing"
|
|
473
473
|
}).then(function(oComponent) {
|
|
474
474
|
this.oComponent = oComponent;
|
|
475
475
|
}.bind(this));
|
|
@@ -521,7 +521,7 @@ sap.ui.define([
|
|
|
521
521
|
sap.ui.require(["sap/m/routing/Targets"], function() {
|
|
522
522
|
// System under test
|
|
523
523
|
Component.create({
|
|
524
|
-
name: "
|
|
524
|
+
name: "testdata.routing.targets",
|
|
525
525
|
async: true
|
|
526
526
|
}).then(function(oComponent) {
|
|
527
527
|
that.oComponent = oComponent;
|
|
@@ -561,7 +561,7 @@ sap.ui.define([
|
|
|
561
561
|
beforeEach : function () {
|
|
562
562
|
// System under test
|
|
563
563
|
return Component.create({
|
|
564
|
-
name: "
|
|
564
|
+
name: "testdata.routing"
|
|
565
565
|
}).then(function(oComponent) {
|
|
566
566
|
this.oComponent = oComponent;
|
|
567
567
|
}.bind(this));
|
|
@@ -1551,7 +1551,7 @@ sap.ui.define([
|
|
|
1551
1551
|
var oProcessI18nSpy = this.spy(Manifest.prototype, "_processI18n");
|
|
1552
1552
|
|
|
1553
1553
|
return LoaderExtensions.loadResource(
|
|
1554
|
-
"
|
|
1554
|
+
"testdata/mixed_legacyAPIs/manifest.json",
|
|
1555
1555
|
{async: true}
|
|
1556
1556
|
).then(function(oManifest) {
|
|
1557
1557
|
return Component.create({
|
|
@@ -1573,7 +1573,7 @@ sap.ui.define([
|
|
|
1573
1573
|
var oProcessI18nSpy = this.spy(Manifest.prototype, "_processI18n");
|
|
1574
1574
|
|
|
1575
1575
|
return LoaderExtensions.loadResource(
|
|
1576
|
-
"
|
|
1576
|
+
"testdata/mixed/manifest.json",
|
|
1577
1577
|
{async: true}
|
|
1578
1578
|
).then(function(oManifest) {
|
|
1579
1579
|
return Component.create({
|
|
@@ -1599,14 +1599,14 @@ sap.ui.define([
|
|
|
1599
1599
|
var oProcessI18nSpy = this.spy(Manifest.prototype, "_processI18n");
|
|
1600
1600
|
|
|
1601
1601
|
return Component.create({
|
|
1602
|
-
name: "
|
|
1602
|
+
name: "testdata.inherit"
|
|
1603
1603
|
}).then(function(oComponent) {
|
|
1604
1604
|
assert.ok(oComponent, "Component instance is created");
|
|
1605
1605
|
|
|
1606
1606
|
// _processI18n are called 3 times:
|
|
1607
1607
|
// 1. for the oComponent instance itself
|
|
1608
|
-
// 2. for the
|
|
1609
|
-
// 3. for the inheriting parent
|
|
1608
|
+
// 2. for the testdata.inherit ComponentMetadata
|
|
1609
|
+
// 3. for the inheriting parent testdata.inherit.parent ComponentMetadata (component.json based)
|
|
1610
1610
|
assert.equal(oProcessI18nSpy.callCount, 3, "_processI18n is called for the expected times");
|
|
1611
1611
|
|
|
1612
1612
|
var iSyncCall = oProcessI18nSpy.getCalls().reduce(function(acc, oCall) {
|
|
@@ -1624,15 +1624,15 @@ sap.ui.define([
|
|
|
1624
1624
|
var oProcessI18nSpy = this.spy(Manifest.prototype, "_processI18n");
|
|
1625
1625
|
|
|
1626
1626
|
return Component.create({
|
|
1627
|
-
name: "
|
|
1627
|
+
name: "testdata.inheritAsync"
|
|
1628
1628
|
}).then(function(oComponent) {
|
|
1629
1629
|
assert.ok(oComponent, "Component instance is created");
|
|
1630
1630
|
|
|
1631
1631
|
// _processI18n are called 4 times:
|
|
1632
1632
|
// 1. for the oComponent instance itself
|
|
1633
|
-
// 2. for the
|
|
1634
|
-
// 3. for the inheriting parent
|
|
1635
|
-
// 4. for the inheriting parent
|
|
1633
|
+
// 2. for the testdata.inheritAsync ComponentMetadata
|
|
1634
|
+
// 3. for the inheriting parent testdata.inheritAsync.parentB ComponentMetadata
|
|
1635
|
+
// 4. for the inheriting parent testdata.inheritAsync.parentA ComponentMetadata
|
|
1636
1636
|
assert.equal(oProcessI18nSpy.callCount, 4, "_processI18n is called for the expected times");
|
|
1637
1637
|
|
|
1638
1638
|
var iSyncCall = oProcessI18nSpy.getCalls().reduce(function(acc, oCall) {
|
|
@@ -2072,7 +2072,7 @@ sap.ui.define([
|
|
|
2072
2072
|
QUnit.test("Hook is called when manifest is given in config object (Hook modifies the manifest)", function(assert) {
|
|
2073
2073
|
var oManifestJSON = {
|
|
2074
2074
|
"sap.app": {
|
|
2075
|
-
"id": "
|
|
2075
|
+
"id": "testdata.other",
|
|
2076
2076
|
"type": "application",
|
|
2077
2077
|
"applicationVersion": {
|
|
2078
2078
|
"version": "1.0.0"
|
|
@@ -2104,7 +2104,7 @@ sap.ui.define([
|
|
|
2104
2104
|
};
|
|
2105
2105
|
|
|
2106
2106
|
return Component.create({
|
|
2107
|
-
name: "
|
|
2107
|
+
name: "testdata.other",
|
|
2108
2108
|
manifest: oManifestJSON
|
|
2109
2109
|
}).then(function(oComponent) {
|
|
2110
2110
|
// check if the modification was correctly taken over
|
|
@@ -2116,7 +2116,7 @@ sap.ui.define([
|
|
|
2116
2116
|
QUnit.test("Hook is called when manifest is given in config object and there is one new library dependency (Hook modifies the manifest)", function(assert) {
|
|
2117
2117
|
var oManifestJSON = {
|
|
2118
2118
|
"sap.app": {
|
|
2119
|
-
"id": "
|
|
2119
|
+
"id": "testdata.other",
|
|
2120
2120
|
"type": "application",
|
|
2121
2121
|
"applicationVersion": {
|
|
2122
2122
|
"version": "1.0.0"
|
|
@@ -2137,7 +2137,7 @@ sap.ui.define([
|
|
|
2137
2137
|
var oConfig = {
|
|
2138
2138
|
manifest: oManifestJSON,
|
|
2139
2139
|
async: true,
|
|
2140
|
-
name: "
|
|
2140
|
+
name: "testdata.other"
|
|
2141
2141
|
};
|
|
2142
2142
|
|
|
2143
2143
|
var oManifestJSONCopy;
|
|
@@ -2158,7 +2158,7 @@ sap.ui.define([
|
|
|
2158
2158
|
var oPreprocessManifestSpy = this.spy(Component, "_fnPreprocessManifest");
|
|
2159
2159
|
|
|
2160
2160
|
return Component.create({
|
|
2161
|
-
name: "
|
|
2161
|
+
name: "testdata.other",
|
|
2162
2162
|
manifest: oManifestJSON
|
|
2163
2163
|
}).then(function(oComponent) {
|
|
2164
2164
|
// check if the new dependency is correctly taken over
|
|
@@ -2184,7 +2184,7 @@ sap.ui.define([
|
|
|
2184
2184
|
|
|
2185
2185
|
// loading manifest from default location
|
|
2186
2186
|
return Component.create({
|
|
2187
|
-
name: "
|
|
2187
|
+
name: "testdata.v2asyncRootView"
|
|
2188
2188
|
}).then(function(oComponent) {
|
|
2189
2189
|
// check if the modification was correctly taken over
|
|
2190
2190
|
var oModel = oComponent.getModel("sfapi");
|
|
@@ -2216,7 +2216,7 @@ sap.ui.define([
|
|
|
2216
2216
|
|
|
2217
2217
|
// loading manifest from default location
|
|
2218
2218
|
return Component.create({
|
|
2219
|
-
name: "
|
|
2219
|
+
name: "testdata.v2"
|
|
2220
2220
|
}).then(function(oComponent) {
|
|
2221
2221
|
// check if the new dependency is correctly taken over
|
|
2222
2222
|
var oSapUi5Property = oComponent.getManifestEntry("sap.ui5");
|
|
@@ -2230,7 +2230,7 @@ sap.ui.define([
|
|
|
2230
2230
|
});
|
|
2231
2231
|
|
|
2232
2232
|
QUnit.test("Hook is called when manifest is loaded from the given manifest URL", function(assert) {
|
|
2233
|
-
var sManifestUrl = sap.ui.require.toUrl("
|
|
2233
|
+
var sManifestUrl = sap.ui.require.toUrl("testdata/v2/manifest.json");
|
|
2234
2234
|
|
|
2235
2235
|
// register hook and modify the manifest
|
|
2236
2236
|
Component._fnPreprocessManifest = function(oManifestJSON) {
|
|
@@ -2242,7 +2242,7 @@ sap.ui.define([
|
|
|
2242
2242
|
};
|
|
2243
2243
|
|
|
2244
2244
|
return Component.create({
|
|
2245
|
-
name: "
|
|
2245
|
+
name: "testdata.v2asyncRootView",
|
|
2246
2246
|
manifest: sManifestUrl
|
|
2247
2247
|
}).then(function(oComponent) {
|
|
2248
2248
|
// check if the modification was correctly taken over
|
|
@@ -2252,7 +2252,7 @@ sap.ui.define([
|
|
|
2252
2252
|
});
|
|
2253
2253
|
|
|
2254
2254
|
QUnit.test("Hook is called when manifest is loaded from the given manifest URL and and there is one new library dependency (Hook modifies the manifest)", function(assert) {
|
|
2255
|
-
var sManifestUrl = sap.ui.require.toUrl("
|
|
2255
|
+
var sManifestUrl = sap.ui.require.toUrl("testdata/v2/manifest.json");
|
|
2256
2256
|
var oManifestJSONCopy;
|
|
2257
2257
|
var oManifestJSONClosure;
|
|
2258
2258
|
|
|
@@ -2276,7 +2276,7 @@ sap.ui.define([
|
|
|
2276
2276
|
var oPreprocessManifestSpy = this.spy(Component, "_fnPreprocessManifest");
|
|
2277
2277
|
|
|
2278
2278
|
return Component.create({
|
|
2279
|
-
name: "
|
|
2279
|
+
name: "testdata.v2asyncRootView",
|
|
2280
2280
|
manifest: sManifestUrl
|
|
2281
2281
|
}).then(function(oComponent) {
|
|
2282
2282
|
// check if the new dependency is correctly taken over
|
|
@@ -2299,7 +2299,7 @@ sap.ui.define([
|
|
|
2299
2299
|
this.oPreprocessManifestSpy = this.spy(Component, "_fnPreprocessManifest");
|
|
2300
2300
|
|
|
2301
2301
|
return Component.create({
|
|
2302
|
-
name: "
|
|
2302
|
+
name: "testdata.v2empty"
|
|
2303
2303
|
}).then(function() {
|
|
2304
2304
|
assert.ok(false, "shouldn't reach here");
|
|
2305
2305
|
}, function(sReason) {
|
|
@@ -2320,7 +2320,7 @@ sap.ui.define([
|
|
|
2320
2320
|
var oLogStub = this.stub(Log, "error");
|
|
2321
2321
|
|
|
2322
2322
|
return Component.create({
|
|
2323
|
-
name: "
|
|
2323
|
+
name: "testdata.v2empty"
|
|
2324
2324
|
}).then(function() {
|
|
2325
2325
|
assert.ok(false, "shouldn't reach here");
|
|
2326
2326
|
}).catch(function(oError) {
|
|
@@ -2337,7 +2337,7 @@ sap.ui.define([
|
|
|
2337
2337
|
// create a legacy Component without a manifest.json
|
|
2338
2338
|
// Manifest-first loading fails with 404, but is ignored, since the component controller contains metadata.
|
|
2339
2339
|
return Component.create({
|
|
2340
|
-
name: "
|
|
2340
|
+
name: "testdata.other"
|
|
2341
2341
|
}).then(function(oComponent) {
|
|
2342
2342
|
assert.ok(oComponent, "Component was created.");
|
|
2343
2343
|
}).catch(function() {
|
|
@@ -11,14 +11,6 @@ sap.ui.define([
|
|
|
11
11
|
|
|
12
12
|
var ComponentLifecycle = sapUiCore.ComponentLifecycle;
|
|
13
13
|
|
|
14
|
-
sap.ui.loader.config({
|
|
15
|
-
paths:{
|
|
16
|
-
"sap/ui/test":"test-resources/sap/ui/core/qunit/component/testdata/",
|
|
17
|
-
"sap/ui/test/qunitPause": "resources/sap/ui/test/qunitPause",
|
|
18
|
-
"sap/ui/test/RecorderHotkeyListener": "resources/sap/ui/test/RecorderHotkeyListener"
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
|
|
22
14
|
/*
|
|
23
15
|
* Helper to create a ComponentContainer with the given settings,
|
|
24
16
|
* triggering component creation and waiting for it.
|
|
@@ -398,7 +390,7 @@ sap.ui.define([
|
|
|
398
390
|
this.oOwnerComponent = oComponent;
|
|
399
391
|
}.bind(this)),
|
|
400
392
|
Component.create({
|
|
401
|
-
name: "
|
|
393
|
+
name: "testdata.v2empty",
|
|
402
394
|
manifest: false
|
|
403
395
|
}).then(function(oComponent) {
|
|
404
396
|
this.oNewComponent = oComponent;
|
|
@@ -559,7 +551,7 @@ sap.ui.define([
|
|
|
559
551
|
// setup fake server
|
|
560
552
|
var oManifest = this.oManifest = {
|
|
561
553
|
"sap.app" : {
|
|
562
|
-
"id" : "
|
|
554
|
+
"id" : "testdata.v2empty"
|
|
563
555
|
}
|
|
564
556
|
};
|
|
565
557
|
|
|
@@ -10,14 +10,6 @@ sap.ui.define([
|
|
|
10
10
|
|
|
11
11
|
var ComponentLifecycle = sapUiCore.ComponentLifecycle;
|
|
12
12
|
|
|
13
|
-
sap.ui.loader.config({
|
|
14
|
-
paths:{
|
|
15
|
-
"sap/ui/test":"test-resources/sap/ui/core/qunit/component/testdata/",
|
|
16
|
-
"sap/ui/test/qunitPause": "resources/sap/ui/test/qunitPause",
|
|
17
|
-
"sap/ui/test/RecorderHotkeyListener": "resources/sap/ui/test/RecorderHotkeyListener"
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
|
|
21
13
|
/*
|
|
22
14
|
* Helper to create a ComponentContainer with the given settings,
|
|
23
15
|
* triggering component creation and waiting for it.
|
|
@@ -136,7 +128,7 @@ sap.ui.define([
|
|
|
136
128
|
this.oOwnerComponent = oComponent;
|
|
137
129
|
}.bind(this)),
|
|
138
130
|
Component.create({
|
|
139
|
-
name: "
|
|
131
|
+
name: "testdata.v2empty",
|
|
140
132
|
manifest: false
|
|
141
133
|
}).then(function(oComponent) {
|
|
142
134
|
this.oNewComponent = oComponent;
|
|
@@ -236,7 +228,7 @@ sap.ui.define([
|
|
|
236
228
|
// setup fake server
|
|
237
229
|
var oManifest = this.oManifest = {
|
|
238
230
|
"sap.app" : {
|
|
239
|
-
"id" : "
|
|
231
|
+
"id" : "testdata.v2empty"
|
|
240
232
|
}
|
|
241
233
|
};
|
|
242
234
|
|
|
@@ -40,7 +40,7 @@ sap.ui.define([
|
|
|
40
40
|
var mSettings = {
|
|
41
41
|
"div1": {
|
|
42
42
|
id: "container1",
|
|
43
|
-
name: "
|
|
43
|
+
name: "testdata.v2empty",
|
|
44
44
|
settings: {
|
|
45
45
|
id: "component1"
|
|
46
46
|
},
|
|
@@ -51,7 +51,7 @@ sap.ui.define([
|
|
|
51
51
|
},
|
|
52
52
|
"div2": {
|
|
53
53
|
id: "container2",
|
|
54
|
-
name: "
|
|
54
|
+
name: "testdata.v2empty",
|
|
55
55
|
settings: {
|
|
56
56
|
id: "component2"
|
|
57
57
|
},
|
|
@@ -63,7 +63,7 @@ sap.ui.define([
|
|
|
63
63
|
},
|
|
64
64
|
"div3": {
|
|
65
65
|
id: "container3",
|
|
66
|
-
name: "
|
|
66
|
+
name: "testdata.v2empty",
|
|
67
67
|
settings: {
|
|
68
68
|
id: "component3"
|
|
69
69
|
},
|
|
@@ -78,7 +78,7 @@ sap.ui.define([
|
|
|
78
78
|
*/
|
|
79
79
|
"div4": {
|
|
80
80
|
id: "container4",
|
|
81
|
-
name: "
|
|
81
|
+
name: "testdata.v2empty",
|
|
82
82
|
settings: {
|
|
83
83
|
id: "component4"
|
|
84
84
|
},
|
|
@@ -251,7 +251,7 @@ sap.ui.define([
|
|
|
251
251
|
assert.ok(oComponent instanceof UIComponent, `UIComponent instance for Component ${i} found!`);
|
|
252
252
|
|
|
253
253
|
assert.equal(oComponent.getId(), `${oContainer.getId()}-component${i}`, `The id of Component ${i} is correct!`);
|
|
254
|
-
assert.equal(oComponent.getMetadata().getName(), "
|
|
254
|
+
assert.equal(oComponent.getMetadata().getName(), "testdata.v2empty.Component", `The name of the Component ${i} is correct!`);
|
|
255
255
|
}
|
|
256
256
|
|
|
257
257
|
// Executing run again afterwards also shouldn't try to create the same containers again
|
|
@@ -33,8 +33,8 @@ sap.ui.define([
|
|
|
33
33
|
"gav": "<GAV>",
|
|
34
34
|
"libraries": [],
|
|
35
35
|
"components": {
|
|
36
|
-
"
|
|
37
|
-
"library": "
|
|
36
|
+
"testdata.componentContainedInLibrary.Comp1": {
|
|
37
|
+
"library": "testdata.componentContainedInLibrary",
|
|
38
38
|
"manifestHints": {
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"libs": {
|
|
@@ -45,9 +45,9 @@ sap.ui.define([
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
|
-
"
|
|
48
|
+
"testdata.componentContainedInLibrary.Comp2": {
|
|
49
49
|
"hasOwnPreload": true,
|
|
50
|
-
"library": "
|
|
50
|
+
"library": "testdata.componentContainedInLibrary",
|
|
51
51
|
"manifestHints": {
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"libs": {
|
|
@@ -75,14 +75,14 @@ sap.ui.define([
|
|
|
75
75
|
var loadPreload = this.stub(sap.ui.loader._, "loadJSResourceAsync").returns(success);
|
|
76
76
|
|
|
77
77
|
return Component.create({
|
|
78
|
-
name: "
|
|
78
|
+
name: "testdata.componentContainedInLibrary.Comp1",
|
|
79
79
|
manifest: false
|
|
80
80
|
}).catch(noop).finally(function() {
|
|
81
81
|
assert.ok(loadLibs.calledWith(
|
|
82
|
-
sinon.match.array.contains(["sap.m", "sap.ui.core", "sap.ui.layout", "
|
|
82
|
+
sinon.match.array.contains(["sap.m", "sap.ui.core", "sap.ui.layout", "testdata.componentContainedInLibrary"])),
|
|
83
83
|
"...then that library should be implicitly loaded");
|
|
84
84
|
assert.ok(
|
|
85
|
-
loadPreload.neverCalledWith(sinon.match(/
|
|
85
|
+
loadPreload.neverCalledWith(sinon.match(/testdata\/componentContainedInLibrary\/Comp1\/Component-preload\.js$/)),
|
|
86
86
|
"...then no Component-preload file should be requested for the component");
|
|
87
87
|
});
|
|
88
88
|
});
|
|
@@ -93,14 +93,14 @@ sap.ui.define([
|
|
|
93
93
|
var loadPreload = this.stub(sap.ui.loader._, "loadJSResourceAsync").returns(success);
|
|
94
94
|
|
|
95
95
|
return Component.create({
|
|
96
|
-
name: "
|
|
96
|
+
name: "testdata.componentContainedInLibrary.Comp2",
|
|
97
97
|
manifest: false
|
|
98
98
|
}).catch(noop).finally(function() {
|
|
99
99
|
assert.ok(
|
|
100
|
-
loadLibs.neverCalledWith(sinon.match.array.contains(["
|
|
100
|
+
loadLibs.neverCalledWith(sinon.match.array.contains(["testdata.componentContainedInLibrary"])),
|
|
101
101
|
"...then the containing library should not be loaded");
|
|
102
102
|
assert.ok(
|
|
103
|
-
loadPreload.calledWith(sinon.match(/
|
|
103
|
+
loadPreload.calledWith(sinon.match(/testdata\/componentContainedInLibrary\/Comp2\/Component-preload\.js$/)),
|
|
104
104
|
"...then a Component-preload file should be requested for the component");
|
|
105
105
|
});
|
|
106
106
|
});
|
|
@@ -22,12 +22,12 @@ sap.ui.define([
|
|
|
22
22
|
|
|
23
23
|
QUnit.test("Simple component", function (assert) {
|
|
24
24
|
return Component.create({
|
|
25
|
-
name: "
|
|
25
|
+
name: "testdata.dependencyLoading.component1",
|
|
26
26
|
manifest: false
|
|
27
27
|
}).then(function (oComponent) {
|
|
28
28
|
// Check loading of dependencies and includes for each ComponentMetadata of the loaded component
|
|
29
29
|
assert.strictEqual(this.oLoadDependeciesAndIncludesSpy.withArgs(sinon.match.truthy).callCount, 3,
|
|
30
|
-
"Function loadDependenciesAndIncludes called three times (for sap.ui.core.Component, sap.ui.core.UIComponent and
|
|
30
|
+
"Function loadDependenciesAndIncludes called three times (for sap.ui.core.Component, sap.ui.core.UIComponent and testdata.dependencyLoading.component1) with parameter bAsync = true");
|
|
31
31
|
|
|
32
32
|
// Check for the expected libraries to be loaded
|
|
33
33
|
assert.strictEqual(this.oLoadLibrarySpy.callCount, 3, "Library._load() called 3 times");
|
|
@@ -42,12 +42,12 @@ sap.ui.define([
|
|
|
42
42
|
|
|
43
43
|
QUnit.test("Component variant", function (assert) {
|
|
44
44
|
return Component.create({
|
|
45
|
-
name: "
|
|
46
|
-
manifest: sap.ui.require.toUrl("
|
|
45
|
+
name: "testdata.dependencyLoading.component1",
|
|
46
|
+
manifest: sap.ui.require.toUrl("testdata/dependencyLoading/componentVariant") + "/manifest.json"
|
|
47
47
|
}).then(function (oComponent) {
|
|
48
48
|
// Check loading of dependencies and includes for each ComponentMetadata of the loaded component
|
|
49
49
|
assert.strictEqual(this.oLoadDependeciesAndIncludesSpy.withArgs(sinon.match.truthy).callCount, 3,
|
|
50
|
-
"Function loadDependenciesAndIncludes called three times (for sap.ui.core.Component, sap.ui.core.UIComponent and
|
|
50
|
+
"Function loadDependenciesAndIncludes called three times (for sap.ui.core.Component, sap.ui.core.UIComponent and testdata.dependencyLoading.component1 with variant manifest) with parameter bAsync = true");
|
|
51
51
|
|
|
52
52
|
// Check for the expected libraries to be loaded
|
|
53
53
|
assert.strictEqual(this.oLoadLibrarySpy.callCount, 4, "Library._load() called 4 times");
|
|
@@ -71,12 +71,12 @@ sap.ui.define([
|
|
|
71
71
|
|
|
72
72
|
QUnit.test("Extended component", function (assert) {
|
|
73
73
|
return Component.create({
|
|
74
|
-
name: "
|
|
74
|
+
name: "testdata.dependencyLoading.component4",
|
|
75
75
|
manifest: false
|
|
76
76
|
}).then(function (oComponent) {
|
|
77
77
|
// Check loading of dependencies and includes for each ComponentMetadata of the loaded component
|
|
78
78
|
assert.strictEqual(this.oLoadDependeciesAndIncludesSpy.withArgs(sinon.match.truthy).callCount, 5,
|
|
79
|
-
"Function loadDependenciesAndIncludes called five times (for sap.ui.core.Component, sap.ui.core.UIComponent,
|
|
79
|
+
"Function loadDependenciesAndIncludes called five times (for sap.ui.core.Component, sap.ui.core.UIComponent, testdata.dependencyLoading.component1, testdata.dependencyLoading.component3 and testdata.dependencyLoading.component4) with parameter bAsync = true");
|
|
80
80
|
|
|
81
81
|
// Check for the expected libraries to be loaded
|
|
82
82
|
assert.strictEqual(this.oLoadLibrarySpy.callCount, 9, "Library._load() called nine times");
|
package/test/sap/ui/core/qunit/component/Component_dependencyLoading_unavoidablySync.qunit.js
CHANGED
|
@@ -21,14 +21,14 @@ sap.ui.define([
|
|
|
21
21
|
|
|
22
22
|
QUnit.test("Simple component", function (assert) {
|
|
23
23
|
var oComponent = sap.ui.component({
|
|
24
|
-
name: "
|
|
24
|
+
name: "testdata.dependencyLoading.component1"
|
|
25
25
|
});
|
|
26
26
|
|
|
27
27
|
// Check loading of dependencies and includes for each ComponentMetadata of the loaded component
|
|
28
28
|
assert.strictEqual(this.oLoadDependeciesAndIncludesSpy.withArgs(sinon.match.truthy).callCount, 0,
|
|
29
|
-
"Function loadDependenciesAndIncludes never called (for sap.ui.core.Component, sap.ui.core.UIComponent and
|
|
29
|
+
"Function loadDependenciesAndIncludes never called (for sap.ui.core.Component, sap.ui.core.UIComponent and testdata.dependencyLoading.component1) with parameter bAsync = true");
|
|
30
30
|
assert.strictEqual(this.oLoadDependeciesAndIncludesSpy.callCount, 3,
|
|
31
|
-
"Function loadDependenciesAndIncludes called three times (for sap.ui.core.Component, sap.ui.core.UIComponent and
|
|
31
|
+
"Function loadDependenciesAndIncludes called three times (for sap.ui.core.Component, sap.ui.core.UIComponent and testdata.dependencyLoading.component1) without parameter");
|
|
32
32
|
|
|
33
33
|
// Check for the expected libraries to be loaded
|
|
34
34
|
assert.strictEqual(this.oLoadLibrarySpy.callCount, 3, "Library._load() called 3 times");
|
|
@@ -42,14 +42,14 @@ sap.ui.define([
|
|
|
42
42
|
|
|
43
43
|
QUnit.test("Extended component", function (assert) {
|
|
44
44
|
var oComponent = sap.ui.component({
|
|
45
|
-
name: "
|
|
45
|
+
name: "testdata.dependencyLoading.component6"
|
|
46
46
|
});
|
|
47
47
|
|
|
48
48
|
// Check loading of dependencies and includes for each ComponentMetadata of the loaded component
|
|
49
49
|
assert.strictEqual(this.oLoadDependeciesAndIncludesSpy.withArgs(sinon.match.truthy).callCount, 0,
|
|
50
|
-
"Function loadDependenciesAndIncludes never called (for sap.ui.core.Component, sap.ui.core.UIComponent,
|
|
50
|
+
"Function loadDependenciesAndIncludes never called (for sap.ui.core.Component, sap.ui.core.UIComponent, testdata.dependencyLoading.component1, testdata.dependencyLoading.component3 and testdata.dependencyLoading.component4) with parameter bAsync = true");
|
|
51
51
|
assert.strictEqual(this.oLoadDependeciesAndIncludesSpy.callCount, 5,
|
|
52
|
-
"Function loadDependenciesAndIncludes called five times (for sap.ui.core.Component, sap.ui.core.UIComponent,
|
|
52
|
+
"Function loadDependenciesAndIncludes called five times (for sap.ui.core.Component, sap.ui.core.UIComponent, testdata.dependencyLoading.component1, testdata.dependencyLoading.component3 and testdata.dependencyLoading.component4) without parameter");
|
|
53
53
|
|
|
54
54
|
assert.strictEqual(this.oLoadLibrarySpy.callCount, 9, "Library._load() called nine times");
|
|
55
55
|
assert.ok(this.oLoadLibrarySpy.getCall(0).calledWithExactly("sap.m", { sync: true }), "First Library._load() call with arguments: 'sap.m', { sync: true }");
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
sap.ui.define([
|
|
2
2
|
'sap/ui/qunit/utils/createAndAppendDiv',
|
|
3
|
-
"sap/ui/
|
|
3
|
+
"sap/ui/test/utils/nextUIUpdate",
|
|
4
4
|
'sap/ui/core/Component',
|
|
5
5
|
'sap/ui/core/ComponentContainer',
|
|
6
6
|
'sap/ui/core/UIComponent',
|
|
7
7
|
'sap/ui/core/UIComponentMetadata',
|
|
8
|
-
'
|
|
8
|
+
'testdata/routing/RouterExtension',
|
|
9
9
|
'sap/base/util/deepExtend'
|
|
10
10
|
], function (createAndAppendDiv, nextUIUpdate, Component, ComponentContainer, UIComponent, UIComponentMetadata, SamplesRouterExtension, deepExtend) {
|
|
11
11
|
|
|
@@ -55,7 +55,7 @@ sap.ui.define([
|
|
|
55
55
|
}
|
|
56
56
|
}).placeAt("comparea1");
|
|
57
57
|
this.oComp = sap.ui.getCore().createComponent({
|
|
58
|
-
name: "
|
|
58
|
+
name: "testdata.verticalLayout_legacyAPIs",
|
|
59
59
|
id: "vLayout",
|
|
60
60
|
componentData: {
|
|
61
61
|
"foo": "bar"
|
|
@@ -130,7 +130,7 @@ sap.ui.define([
|
|
|
130
130
|
var oComponent = sap.ui.component(oComp.getId());
|
|
131
131
|
assert.equal(oComponent, oComp, "Factory function returns the same instance!");
|
|
132
132
|
oComponent = sap.ui.component({
|
|
133
|
-
name: "
|
|
133
|
+
name: "testdata.verticalLayout_legacyAPIs",
|
|
134
134
|
id: "factoryVLayout"
|
|
135
135
|
});
|
|
136
136
|
assert.ok(!!oComponent, "Component has been created!");
|
|
@@ -174,7 +174,7 @@ sap.ui.define([
|
|
|
174
174
|
QUnit.module("Creation Context", {
|
|
175
175
|
beforeEach: function() {
|
|
176
176
|
this.oComp = sap.ui.getCore().createComponent({
|
|
177
|
-
name: "
|
|
177
|
+
name: "testdata.verticalLayout_legacyAPIs",
|
|
178
178
|
id: "vLayout",
|
|
179
179
|
componentData: {
|
|
180
180
|
"foo": "bar"
|
|
@@ -205,7 +205,7 @@ sap.ui.define([
|
|
|
205
205
|
beforeEach : function () {
|
|
206
206
|
// System under test
|
|
207
207
|
this.oComponent = sap.ui.getCore().createComponent({
|
|
208
|
-
name: "
|
|
208
|
+
name: "testdata.routing_legacyAPIs"
|
|
209
209
|
});
|
|
210
210
|
},
|
|
211
211
|
afterEach: function() {
|
|
@@ -248,7 +248,7 @@ sap.ui.define([
|
|
|
248
248
|
sap.ui.require(["sap/m/routing/Targets"], function() {
|
|
249
249
|
// System under test
|
|
250
250
|
that.oComponent = sap.ui.getCore().createComponent({
|
|
251
|
-
name: "
|
|
251
|
+
name: "testdata.routing_legacyAPIs.targets"
|
|
252
252
|
});
|
|
253
253
|
done();
|
|
254
254
|
});
|
|
@@ -280,7 +280,7 @@ sap.ui.define([
|
|
|
280
280
|
beforeEach : function () {
|
|
281
281
|
// System under test
|
|
282
282
|
this.oComponent = sap.ui.getCore().createComponent({
|
|
283
|
-
name: "
|
|
283
|
+
name: "testdata.routing_legacyAPIs"
|
|
284
284
|
});
|
|
285
285
|
},
|
|
286
286
|
afterEach: function() {
|
|
@@ -6,7 +6,7 @@ sap.ui.define([
|
|
|
6
6
|
"sap/ui/core/mvc/Controller",
|
|
7
7
|
"sap/ui/core/mvc/View",
|
|
8
8
|
"sap/ui/qunit/utils/createAndAppendDiv",
|
|
9
|
-
"sap/ui/
|
|
9
|
+
"sap/ui/test/utils/nextUIUpdate"
|
|
10
10
|
], function(Event, Component, ComponentContainer, Element, Controller, View, createAndAppendDiv, nextUIUpdate) {
|
|
11
11
|
|
|
12
12
|
"use strict";
|