@openui5/sap.ui.core 1.117.1 → 1.118.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/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/Localization.js +42 -39
- 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 +4 -4
- package/src/sap/ui/base/BindingParser.js +2 -1
- 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 +1 -1
- package/src/sap/ui/base/ManagedObject.js +7 -3
- 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 +9 -1
- package/src/sap/ui/core/AnimationMode.js +1 -1
- package/src/sap/ui/core/BlockLayerUtils.js +1 -1
- package/src/sap/ui/core/BusyIndicator.js +2 -2
- package/src/sap/ui/core/Component.js +22 -15
- package/src/sap/ui/core/ComponentContainer.js +2 -2
- 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 -13
- package/src/sap/ui/core/Control.js +21 -1
- package/src/sap/ui/core/Core.js +67 -41
- 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 +1 -1
- package/src/sap/ui/core/ElementMetadata.js +1 -1
- package/src/sap/ui/core/EnabledPropagator.js +1 -1
- 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 +2 -2
- package/src/sap/ui/core/IndicationColorSupport.js +2 -2
- 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 +3 -6
- package/src/sap/ui/core/Item.js +1 -1
- package/src/sap/ui/core/LabelEnablement.js +1 -1
- package/src/sap/ui/core/LayoutData.js +1 -1
- package/src/sap/ui/core/Lib.js +9 -13
- 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 +2 -2
- package/src/sap/ui/core/Manifest.js +1 -1
- package/src/sap/ui/core/Message.js +1 -1
- package/src/sap/ui/core/Messaging.js +472 -0
- package/src/sap/ui/core/RenderManager.js +1 -1
- package/src/sap/ui/core/Renderer.js +1 -1
- package/src/sap/ui/core/Rendering.js +3 -2
- package/src/sap/ui/core/ResizeHandler.js +1 -4
- package/src/sap/ui/core/ScrollBar.js +1 -1
- package/src/sap/ui/core/SeparatorItem.js +1 -1
- package/src/sap/ui/core/ShortcutHint.js +1 -1
- package/src/sap/ui/core/Theming.js +28 -31
- package/src/sap/ui/core/Title.js +1 -1
- package/src/sap/ui/core/TooltipBase.js +1 -1
- package/src/sap/ui/core/UIArea.js +85 -17
- 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 +2 -2
- 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/_IconRegistry.js +1 -1
- package/src/sap/ui/core/boot.js +9 -0
- 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/DragAndDrop.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/format/DateFormat.js +4 -0
- package/src/sap/ui/core/format/TimezoneUtil.js +1 -1
- package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
- package/src/sap/ui/core/library.js +18 -47
- 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 +37 -459
- package/src/sap/ui/core/message/MessageMixin.js +3 -3
- package/src/sap/ui/core/message/MessageParser.js +1 -1
- package/src/sap/ui/core/message/MessageProcessor.js +9 -9
- package/src/sap/ui/core/message/MessageType.js +53 -0
- package/src/sap/ui/core/messagebundle.properties +3 -0
- package/src/sap/ui/core/messagebundle_ar.properties +1 -1
- package/src/sap/ui/core/messagebundle_bg.properties +1 -1
- package/src/sap/ui/core/messagebundle_ca.properties +1 -1
- package/src/sap/ui/core/messagebundle_cs.properties +1 -1
- package/src/sap/ui/core/messagebundle_cy.properties +1 -1
- package/src/sap/ui/core/messagebundle_da.properties +1 -1
- package/src/sap/ui/core/messagebundle_de.properties +1 -1
- package/src/sap/ui/core/messagebundle_el.properties +1 -1
- package/src/sap/ui/core/messagebundle_es.properties +1 -1
- package/src/sap/ui/core/messagebundle_es_MX.properties +1 -1
- package/src/sap/ui/core/messagebundle_et.properties +1 -1
- package/src/sap/ui/core/messagebundle_fi.properties +1 -1
- package/src/sap/ui/core/messagebundle_fr.properties +1 -1
- package/src/sap/ui/core/messagebundle_fr_CA.properties +1 -1
- package/src/sap/ui/core/messagebundle_hi.properties +1 -1
- package/src/sap/ui/core/messagebundle_hr.properties +1 -1
- package/src/sap/ui/core/messagebundle_hu.properties +1 -1
- package/src/sap/ui/core/messagebundle_id.properties +1 -1
- package/src/sap/ui/core/messagebundle_it.properties +1 -1
- package/src/sap/ui/core/messagebundle_iw.properties +1 -1
- package/src/sap/ui/core/messagebundle_ja.properties +1 -1
- package/src/sap/ui/core/messagebundle_kk.properties +1 -1
- package/src/sap/ui/core/messagebundle_ko.properties +1 -1
- package/src/sap/ui/core/messagebundle_lt.properties +1 -1
- package/src/sap/ui/core/messagebundle_lv.properties +1 -1
- package/src/sap/ui/core/messagebundle_ms.properties +1 -1
- package/src/sap/ui/core/messagebundle_nl.properties +1 -1
- package/src/sap/ui/core/messagebundle_no.properties +1 -1
- package/src/sap/ui/core/messagebundle_pl.properties +1 -1
- package/src/sap/ui/core/messagebundle_pt.properties +1 -1
- package/src/sap/ui/core/messagebundle_pt_PT.properties +1 -1
- package/src/sap/ui/core/messagebundle_ro.properties +1 -1
- package/src/sap/ui/core/messagebundle_ru.properties +1 -1
- package/src/sap/ui/core/messagebundle_sh.properties +1 -1
- package/src/sap/ui/core/messagebundle_sk.properties +1 -1
- package/src/sap/ui/core/messagebundle_sl.properties +1 -1
- package/src/sap/ui/core/messagebundle_sv.properties +9 -9
- package/src/sap/ui/core/messagebundle_th.properties +1 -1
- package/src/sap/ui/core/messagebundle_tr.properties +1 -1
- package/src/sap/ui/core/messagebundle_uk.properties +1 -1
- package/src/sap/ui/core/messagebundle_vi.properties +1 -1
- package/src/sap/ui/core/messagebundle_zh_CN.properties +1 -1
- package/src/sap/ui/core/messagebundle_zh_TW.properties +1 -1
- 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 +9 -2
- 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/routing/Router.js +7 -1
- package/src/sap/ui/core/routing/async/Route.js +1 -0
- package/src/sap/ui/core/routing/sync/Route.js +1 -0
- 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 +25 -5
- package/src/sap/ui/core/support/Support.js +34 -4
- package/src/sap/ui/core/support/ToolsAPI.js +6 -16
- package/src/sap/ui/core/support/controls/InteractionTree.js +0 -4
- package/src/sap/ui/core/support/plugins/Breakpoint.js +0 -2
- package/src/sap/ui/core/support/plugins/ControlTree.js +10 -12
- package/src/sap/ui/core/support/plugins/Debugging.js +10 -9
- package/src/sap/ui/core/support/plugins/Interaction.js +12 -13
- package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -3
- package/src/sap/ui/core/support/plugins/Performance.js +1 -3
- package/src/sap/ui/core/support/plugins/Selector.js +1 -1
- package/src/sap/ui/core/support/plugins/TechInfo.js +32 -42
- package/src/sap/ui/core/support/plugins/Trace.js +1 -1
- package/src/sap/ui/core/support/plugins/ViewInfo.js +27 -13
- package/src/sap/ui/core/support/techinfo/TechnicalInfo.js +4 -4
- package/src/sap/ui/core/theming/ThemeHelper.js +100 -0
- package/src/sap/ui/core/theming/ThemeManager.js +18 -18
- 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/XMLPreprocessor.js +53 -29
- 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 +659 -0
- package/src/sap/ui/core/webc/WebComponentMetadata.js +253 -0
- package/src/sap/ui/core/webc/WebComponentRenderer.js +323 -0
- 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 +4 -3
- package/src/sap/ui/debug/DebugEnv.js +4 -4
- package/src/sap/ui/debug/PropertyList.js +1 -1
- package/src/sap/ui/model/Binding.js +6 -6
- package/src/sap/ui/model/ClientModel.js +1 -1
- package/src/sap/ui/model/ClientPropertyBinding.js +3 -3
- package/src/sap/ui/model/CompositeDataState.js +1 -1
- package/src/sap/ui/model/CompositeType.js +1 -1
- package/src/sap/ui/model/Context.js +1 -1
- package/src/sap/ui/model/DataState.js +1 -1
- package/src/sap/ui/model/ManagedObjectBindingSupport.js +4 -4
- package/src/sap/ui/model/MetaModel.js +1 -1
- package/src/sap/ui/model/Model.js +4 -4
- 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/controlhelper/TreeBindingProxy.js +27 -13
- 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/ODataListBinding.js +24 -0
- package/src/sap/ui/model/odata/ODataMessageParser.js +4 -4
- 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/ODataTreeBindingFlat.js +6 -0
- 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 +7 -2
- 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 +6 -2
- 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/ODataListBinding.js +23 -3
- package/src/sap/ui/model/odata/v2/ODataModel.js +6 -6
- package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +33 -6
- package/src/sap/ui/model/odata/v4/Context.js +26 -16
- package/src/sap/ui/model/odata/v4/ODataContextBinding.js +6 -2
- package/src/sap/ui/model/odata/v4/ODataListBinding.js +62 -29
- package/src/sap/ui/model/odata/v4/ODataMetaModel.js +1 -1
- package/src/sap/ui/model/odata/v4/ODataModel.js +17 -10
- package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +5 -1
- package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +129 -6
- package/src/sap/ui/model/odata/v4/lib/_Cache.js +102 -57
- package/src/sap/ui/model/odata/v4/lib/_Helper.js +30 -4
- package/src/sap/ui/model/odata/v4/lib/_Parser.js +3 -0
- package/src/sap/ui/model/odata/v4/lib/_Requestor.js +14 -4
- package/src/sap/ui/model/odata/v4/lib/_V2Requestor.js +28 -35
- package/src/sap/ui/model/odata/v4/ts.js +44 -0
- 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 +5 -4
- 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/Interaction.js +11 -2
- package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
- package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +10 -11
- package/src/sap/ui/qunit/utils/nextUIUpdate.js +51 -0
- package/src/sap/ui/test/ModuleTracking.js +326 -0
- package/src/sap/ui/test/TestUtils.js +7 -6
- package/src/sap/ui/test/autowaiter/_UIUpdatesWaiter.js +3 -2
- package/src/sap/ui/test/generic/TestBase.js +1 -1
- package/src/sap/ui/test/selectors/_ControlSelectorGenerator.js +2 -0
- package/src/sap/ui/test/selectors/_DropdownItem.js +1 -0
- package/src/sap/ui/test/selectors/_TableRowItem.js +1 -0
- package/src/sap/ui/util/Storage.js +1 -1
- package/src/ui5loader-autoconfig.js +14 -10
- package/test/sap/ui/core/ComponentCleanup.html +228 -225
- package/test/sap/ui/core/ComponentConfig.html +1 -1
- package/test/sap/ui/core/ComponentExtensibility_CustomizingDisabled.html +1 -1
- package/test/sap/ui/core/ComponentExtensibility_legacyAPIs.html +1 -1
- package/test/sap/ui/core/ComponentSimple.html +1 -1
- package/test/sap/ui/core/ComponentSimpleModel.html +1 -1
- package/test/sap/ui/core/ComponentSupport.html +1 -1
- package/test/sap/ui/core/DateFormat.js +3 -3
- package/test/sap/ui/core/EventBroadcaster.html +62 -62
- package/test/sap/ui/core/Formats.html +4 -2
- package/test/sap/ui/core/GenericEventBinding.html +53 -52
- package/test/sap/ui/core/ListFormat.js +3 -3
- package/test/sap/ui/core/NumberFormat.js +3 -3
- package/test/sap/ui/core/ODataAnnotationsPerformance.html +28 -28
- package/test/sap/ui/core/ODataV2CanonicalRequests.html +3 -2
- package/test/sap/ui/core/ODataV2Messages.html +4 -3
- package/test/sap/ui/core/PopupWithUserSelection.html +1 -1
- package/test/sap/ui/core/Strings.js +3 -3
- package/test/sap/ui/core/ValidateURL.html +143 -143
- package/test/sap/ui/core/demokit/sample/Commands/Commands.html +1 -1
- package/test/sap/ui/core/demokit/sample/MessageManager/BasicMessages/Controller.controller.js +10 -10
- package/test/sap/ui/core/demokit/sample/MessageManager/BasicODataMessages/Controller.controller.js +7 -7
- package/test/sap/ui/core/demokit/sample/MessageManager/ODataBackendMessagesComp/webapp/Component.js +3 -2
- package/test/sap/ui/core/demokit/sample/MessageManager/ODataBackendMessagesComp/webapp/controller/Employee.controller.js +3 -2
- package/test/sap/ui/core/demokit/sample/MessageManager/ODataBackendMessagesComp/webapp/index.html +7 -8
- package/test/sap/ui/core/demokit/sample/OpaGetStarted/applicationUnderTest/index.html +9 -6
- package/test/sap/ui/core/demokit/sample/OpaWithSupportAssistant/applicationUnderTest/index.html +13 -10
- package/test/sap/ui/core/demokit/sample/PatternMatching/Patterns.html +11 -8
- package/test/sap/ui/core/demokit/sample/RoutingFullscreen/RoutingFullscreen.html +11 -8
- package/test/sap/ui/core/demokit/sample/RoutingMasterDetail/RoutingMasterDetail.html +11 -8
- package/test/sap/ui/core/demokit/sample/RoutingNestedComponent/RoutingNestedComponent.html +1 -1
- package/test/sap/ui/core/demokit/sample/RoutingNestedComponent/test/integration/opaTests.qunit.html +1 -1
- package/test/sap/ui/core/demokit/sample/RoutingNestedComponent/test/integration/opaTests.qunit.js +5 -4
- package/test/sap/ui/core/demokit/sample/TargetsStandalone/TargetsStandalone.html +11 -8
- package/test/sap/ui/core/demokit/sample/ViewTemplate/scenario/Opa.qunit.js +9 -8
- package/test/sap/ui/core/demokit/sample/ViewTemplate/types/Opa.qunit.js +12 -11
- package/test/sap/ui/core/demokit/sample/common/Controller.js +6 -7
- package/test/sap/ui/core/demokit/sample/common/Helper.js +6 -2
- package/test/sap/ui/core/demokit/sample/common/init.js +25 -21
- package/test/sap/ui/core/demokit/sample/gherkin/GherkinWithOPA5/WebsiteCode.js +8 -7
- package/test/sap/ui/core/demokit/sample/odata/v4/DataAggregation/Opa.qunit.js +9 -8
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/ObjectPage.controller.js +3 -2
- package/test/sap/ui/core/demokit/sample/odata/v4/DeepCreate/Opa.qunit.js +12 -10
- package/test/sap/ui/core/demokit/sample/odata/v4/Draft/ListReport.controller.js +3 -2
- package/test/sap/ui/core/demokit/sample/odata/v4/Draft/Opa.qunit.js +10 -9
- package/test/sap/ui/core/demokit/sample/odata/v4/FieldGroups/Opa.qunit.js +10 -9
- package/test/sap/ui/core/demokit/sample/odata/v4/FlatDataAggregation/Component.js +4 -4
- package/test/sap/ui/core/demokit/sample/odata/v4/FlexibleColumnLayout/Main.controller.js +3 -3
- package/test/sap/ui/core/demokit/sample/odata/v4/FlexibleColumnLayout/Opa.qunit.js +10 -9
- package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/Component.js +19 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/Main.controller.js +93 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/Main.view.xml +85 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/SandboxModel.js +10 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/data/all.json +396 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/data/metadata.xml +423 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/manifest.json +70 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/LateProperties/Opa.OptimisticBatch.qunit.js +11 -10
- package/test/sap/ui/core/demokit/sample/odata/v4/LateProperties/Opa.qunit.js +9 -8
- package/test/sap/ui/core/demokit/sample/odata/v4/ListBinding/Opa.qunit.js +10 -9
- package/test/sap/ui/core/demokit/sample/odata/v4/ListBindingTemplate/Opa.qunit.js +8 -7
- package/test/sap/ui/core/demokit/sample/odata/v4/MultipleInlineCreationRowsGrid/Main.controller.js +8 -10
- package/test/sap/ui/core/demokit/sample/odata/v4/MultipleInlineCreationRowsGrid/Opa.qunit.js +12 -11
- package/test/sap/ui/core/demokit/sample/odata/v4/Products/Main.controller.js +3 -2
- package/test/sap/ui/core/demokit/sample/odata/v4/Products/Opa.qunit.js +11 -10
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/MIT.RecursiveHierarchy maintenance.html +408 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/Opa.qunit.js +26 -8
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/RecursiveHierarchy.controller.js +54 -14
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/RecursiveHierarchy.view.xml +24 -10
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/SandboxModel.js +352 -287
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/pages/Main.js +38 -5
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/tests/createEdit.js +128 -0
- package/test/sap/ui/core/demokit/sample/odata/v4/RecursiveHierarchy/tests/pageExpandCollapse.js +23 -22
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrderTP100_V2/Opa.qunit.js +10 -9
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrderTP100_V4/Opa.qunit.js +9 -8
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/Component.js +3 -2
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/Opa.qunit.js +15 -14
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrdersRTATest/Opa.qunit.js +9 -8
- package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrdersTemplate/Opa.qunit.js +9 -8
- package/test/sap/ui/core/demokit/sample/odata/v4/ServerDrivenPaging/Opa.qunit.js +10 -9
- package/test/sap/ui/core/demokit/sample/odata/v4/Sticky/Opa.qunit.js +10 -9
- package/test/sap/ui/core/demokit/tutorial/databinding/01/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/databinding/01/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/01/webapp/index.js +7 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/02/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/databinding/02/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/02/webapp/index.js +4 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/03/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/databinding/03/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/03/webapp/index.js +4 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/04/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/databinding/04/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/04/webapp/index.js +4 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/05/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/databinding/05/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/05/webapp/index.js +4 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/06/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/databinding/06/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/06/webapp/index.js +4 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/07/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/databinding/07/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/07/webapp/index.js +4 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/08/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/databinding/08/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/08/webapp/index.js +4 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/09/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/databinding/09/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/09/webapp/index.js +4 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/10/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/databinding/10/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/10/webapp/index.js +4 -3
- package/test/sap/ui/core/demokit/tutorial/databinding/11/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/databinding/11/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/11/webapp/index.js +6 -4
- package/test/sap/ui/core/demokit/tutorial/databinding/12/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/databinding/12/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/12/webapp/index.js +6 -4
- package/test/sap/ui/core/demokit/tutorial/databinding/13/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/databinding/13/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/13/webapp/index.js +6 -4
- package/test/sap/ui/core/demokit/tutorial/databinding/14/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/databinding/14/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/14/webapp/index.js +6 -4
- package/test/sap/ui/core/demokit/tutorial/databinding/15/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/databinding/15/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/databinding/15/webapp/index.js +6 -4
- package/test/sap/ui/core/demokit/tutorial/mockserver/01/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/mockserver/01/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/mockserver/02/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/mockserver/02/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/mockserver/03/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/mockserver/03/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/mockserver/04/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/mockserver/04/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/01/package.json +2 -4
- package/test/sap/ui/core/demokit/tutorial/navigation/01/ui5.yaml +7 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/01/webapp/index.html +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/02/package.json +2 -4
- package/test/sap/ui/core/demokit/tutorial/navigation/02/ui5.yaml +7 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/02/webapp/index.html +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/03/package.json +2 -4
- package/test/sap/ui/core/demokit/tutorial/navigation/03/ui5.yaml +7 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/03/webapp/index.html +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/04/package.json +2 -4
- package/test/sap/ui/core/demokit/tutorial/navigation/04/ui5.yaml +7 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/04/webapp/index.html +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/05/package.json +2 -4
- package/test/sap/ui/core/demokit/tutorial/navigation/05/ui5.yaml +7 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/05/webapp/index.html +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/06/package.json +2 -4
- package/test/sap/ui/core/demokit/tutorial/navigation/06/ui5.yaml +7 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/06/webapp/index.html +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/07/package.json +2 -4
- package/test/sap/ui/core/demokit/tutorial/navigation/07/ui5.yaml +7 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/07/webapp/index.html +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/08/package.json +2 -4
- package/test/sap/ui/core/demokit/tutorial/navigation/08/ui5.yaml +7 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/08/webapp/index.html +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/09/package.json +2 -4
- package/test/sap/ui/core/demokit/tutorial/navigation/09/ui5.yaml +7 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/09/webapp/index.html +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/10/package.json +2 -4
- package/test/sap/ui/core/demokit/tutorial/navigation/10/ui5.yaml +7 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/10/webapp/index.html +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/11/package.json +2 -4
- package/test/sap/ui/core/demokit/tutorial/navigation/11/ui5.yaml +7 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/11/webapp/index.html +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/12/package.json +2 -4
- package/test/sap/ui/core/demokit/tutorial/navigation/12/ui5.yaml +7 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/12/webapp/index.html +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/13/package.json +2 -4
- package/test/sap/ui/core/demokit/tutorial/navigation/13/ui5.yaml +7 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/13/webapp/index.html +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/14/package.json +2 -4
- package/test/sap/ui/core/demokit/tutorial/navigation/14/ui5.yaml +7 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/14/webapp/index.html +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/15/package.json +2 -4
- package/test/sap/ui/core/demokit/tutorial/navigation/15/ui5.yaml +7 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/15/webapp/index.html +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/16/package.json +2 -4
- package/test/sap/ui/core/demokit/tutorial/navigation/16/ui5.yaml +7 -0
- package/test/sap/ui/core/demokit/tutorial/navigation/16/webapp/index.html +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/17/package.json +4 -6
- package/test/sap/ui/core/demokit/tutorial/navigation/17/ui5.yaml +8 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/17/webapp/index.html +1 -1
- package/test/sap/ui/core/demokit/tutorial/navigation/index.html +2 -2
- package/test/sap/ui/core/demokit/tutorial/odatav4/01/package.json +2 -6
- package/test/sap/ui/core/demokit/tutorial/odatav4/01/ui5.yaml +9 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/02/package.json +2 -6
- package/test/sap/ui/core/demokit/tutorial/odatav4/02/ui5.yaml +9 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/03/package.json +2 -6
- package/test/sap/ui/core/demokit/tutorial/odatav4/03/ui5.yaml +9 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/04/package.json +2 -6
- package/test/sap/ui/core/demokit/tutorial/odatav4/04/ui5.yaml +9 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/05/package.json +2 -6
- package/test/sap/ui/core/demokit/tutorial/odatav4/05/ui5.yaml +9 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/06/package.json +2 -6
- package/test/sap/ui/core/demokit/tutorial/odatav4/06/ui5.yaml +9 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/06/webapp/controller/App.controller.js +5 -5
- package/test/sap/ui/core/demokit/tutorial/odatav4/07/package.json +2 -6
- package/test/sap/ui/core/demokit/tutorial/odatav4/07/ui5.yaml +9 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/07/webapp/controller/App.controller.js +7 -7
- package/test/sap/ui/core/demokit/tutorial/odatav4/08/package.json +2 -6
- package/test/sap/ui/core/demokit/tutorial/odatav4/08/ui5.yaml +9 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/08/webapp/controller/App.controller.js +7 -7
- package/test/sap/ui/core/demokit/tutorial/odatav4/08/webapp/test/integration/opaTests.qunit.js +5 -5
- package/test/sap/ui/core/demokit/tutorial/odatav4/08/webapp/test/integration/pages/Tutorial.js +1 -1
- package/test/sap/ui/core/demokit/tutorial/odatav4/09/package.json +2 -6
- package/test/sap/ui/core/demokit/tutorial/odatav4/09/ui5.yaml +9 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/09/webapp/controller/App.controller.js +7 -7
- package/test/sap/ui/core/demokit/tutorial/odatav4/10/package.json +2 -6
- package/test/sap/ui/core/demokit/tutorial/odatav4/10/ui5.yaml +9 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/10/webapp/controller/App.controller.js +7 -7
- package/test/sap/ui/core/demokit/tutorial/odatav4/11/package.json +2 -6
- package/test/sap/ui/core/demokit/tutorial/odatav4/11/ui5.yaml +9 -0
- package/test/sap/ui/core/demokit/tutorial/odatav4/11/webapp/controller/App.controller.js +7 -7
- package/test/sap/ui/core/demokit/tutorial/odatav4/11/webapp/test/integration/opaTests.qunit.js +5 -5
- package/test/sap/ui/core/demokit/tutorial/odatav4/11/webapp/test/integration/pages/Tutorial.js +1 -1
- package/test/sap/ui/core/demokit/tutorial/troubleshooting/01/package.json +2 -5
- package/test/sap/ui/core/demokit/tutorial/troubleshooting/01/ui5.yaml +8 -0
- package/test/sap/ui/core/demokit/tutorial/troubleshooting/01/webapp/test/integration/opaTests.qunit.js +6 -6
- package/test/sap/ui/core/frameoptions/createcontent.js +7 -6
- package/test/sap/ui/core/internal/samples/client/MusicCollection/index.html +1 -1
- package/test/sap/ui/core/internal/samples/composite/xmlcomposite/exStringAndFloat/Test.controller.js +3 -2
- package/test/sap/ui/core/internal/samples/odata/twoFields/Opa.qunit.html +1 -1
- package/test/sap/ui/core/internal/samples/odata/twoFields/Opa.qunit.js +8 -8
- package/test/sap/ui/core/internal/samples/odata/twoFields/index.html +1 -1
- package/test/sap/ui/core/internal/samples/odata/v2/Products/Opa.qunit.html +1 -1
- package/test/sap/ui/core/internal/samples/odata/v2/Products/Opa.qunit.js +7 -7
- package/test/sap/ui/core/internal/samples/odata/v2/Products/index.html +1 -1
- package/test/sap/ui/core/internal/samples/odata/v2/SalesOrders/Component.js +3 -2
- package/test/sap/ui/core/internal/samples/odata/v2/SalesOrders/MIT.SalesOrders(V2).ODLB.create.html +2 -0
- package/test/sap/ui/core/internal/samples/odata/v2/SalesOrders/Main.controller.js +3 -3
- package/test/sap/ui/core/internal/samples/odata/v2/SalesOrders/Opa.qunit.html +1 -1
- package/test/sap/ui/core/internal/samples/odata/v2/SalesOrders/Opa.qunit.js +9 -6
- package/test/sap/ui/core/internal/samples/odata/v2/SalesOrders/SandboxModel.js +3 -0
- package/test/sap/ui/core/internal/samples/odata/v2/SalesOrders/data/ODLB.create/TC3/SalesOrderSet_desc_4-1.json +16 -0
- package/test/sap/ui/core/internal/samples/odata/v2/SalesOrders/index.html +1 -1
- package/test/sap/ui/core/internal/samples/odata/v2/SalesOrders/tests/ODataListBinding.create/TC3_SalesOrders_InlineCreationRow.js +9 -0
- package/test/sap/ui/core/internal/samples/odata/v2/TreeTable/Component.js +3 -2
- package/test/sap/ui/core/internal/samples/odata/v2/TreeTable/Main.controller.js +3 -3
- package/test/sap/ui/core/internal/samples/odata/v2/TreeTable/index.html +1 -1
- package/test/sap/ui/core/qunit/BlockLayerUtils.qunit.js +9 -7
- package/test/sap/ui/core/qunit/CalculatedFields.qunit.js +4 -2
- package/test/sap/ui/core/qunit/ContextMenuSupport.qunit.js +3 -2
- package/test/sap/ui/core/qunit/ControlDefinition.qunit.js +11 -10
- package/test/sap/ui/core/qunit/ControlRenderer.qunit.js +218 -223
- package/test/sap/ui/core/qunit/Core.qunit.js +35 -31
- package/test/sap/ui/core/qunit/CoreEvents.qunit.js +17 -15
- package/test/sap/ui/core/qunit/Core_repeatedExecution.qunit.js +3 -3
- package/test/sap/ui/core/qunit/CustomStyleClassSupport.qunit.js +4 -3
- package/test/sap/ui/core/qunit/Element_data.qunit.js +5 -5
- package/test/sap/ui/core/qunit/Element_destroy.qunit.js +6 -4
- package/test/sap/ui/core/qunit/Element_focus.qunit.js +25 -24
- package/test/sap/ui/core/qunit/Element_metadata_selector.qunit.js +3 -2
- package/test/sap/ui/core/qunit/EnabledPropagator.qunit.js +7 -6
- package/test/sap/ui/core/qunit/ExpressionParser.qunit.js +1 -1
- package/test/sap/ui/core/qunit/FastNavigationWithWebComponents.qunit.js +5 -5
- package/test/sap/ui/core/qunit/FieldGroup.qunit.js +9 -6
- package/test/sap/ui/core/qunit/FocusHandler.qunit.js +7 -6
- package/test/sap/ui/core/qunit/Fragment.qunit.js +35 -34
- package/test/sap/ui/core/qunit/Fragment_legacyAPIs.qunit.js +51 -50
- package/test/sap/ui/core/qunit/HTML.qunit.js +32 -32
- package/test/sap/ui/core/qunit/Icon.qunit.js +66 -65
- package/test/sap/ui/core/qunit/IconPool.qunit.js +2 -1
- package/test/sap/ui/core/qunit/InvisibleText.qunit.js +13 -12
- package/test/sap/ui/core/qunit/Lib.qunit.js +8 -8
- package/test/sap/ui/core/qunit/LocalBusyIndicator.qunit.js +24 -24
- package/test/sap/ui/core/qunit/RenderManager.qunit.js +54 -53
- package/test/sap/ui/core/qunit/ResizeHandler.qunit.js +8 -9
- package/test/sap/ui/core/qunit/ScrollBar.qunit.js +7 -6
- package/test/sap/ui/core/qunit/ShortcutHints.qunit.js +13 -11
- package/test/sap/ui/core/qunit/StashedControlSupport.qunit.js +6 -5
- package/test/sap/ui/core/qunit/ThemeParameters.qunit.js +5 -4
- package/test/sap/ui/core/qunit/Theming.qunit.js +88 -50
- package/test/sap/ui/core/qunit/Theming_default_and_fallback.qunit.js +130 -0
- package/test/sap/ui/core/qunit/TooltipBase.qunit.js +4 -3
- package/test/sap/ui/core/qunit/UIArea.qunit.js +248 -18
- package/test/sap/ui/core/qunit/analytics/testsuite4analytics.qunit.js +9 -8
- package/test/sap/ui/core/qunit/app/MessageListBinding.qunit.js +10 -10
- package/test/sap/ui/core/qunit/base/Config.qunit.js +12 -2
- package/test/sap/ui/core/qunit/base/Config_cascade.qunit.js +123 -52
- package/test/sap/ui/core/qunit/base/Config_meta.qunit.html +2 -0
- package/test/sap/ui/core/qunit/base/config/GlobalConfig.js +3 -1
- package/test/sap/ui/core/qunit/base/config/GlobalConfigForCascade.js +4 -1
- package/test/sap/ui/core/qunit/bootstrap/BootstrapMinimal.qunit.js +3 -3
- package/test/sap/ui/core/qunit/bootstrap/BootstrapMinimal_legacyAPIs.qunit.js +13 -11
- package/test/sap/ui/core/qunit/bootstrap/BootstrapPreload.qunit.js +1 -1
- package/test/sap/ui/core/qunit/bootstrap/BootstrapWithCustomScript_legacyAPIs.qunit.js +13 -11
- package/test/sap/ui/core/qunit/bootstrap/BootstrapWithNoJQuery_legacyAPIs.qunit.js +7 -5
- package/test/sap/ui/core/qunit/bootstrap/CalendarClassLoadingWithCustomBootTaskAndPreload.qunit.js +12 -14
- package/test/sap/ui/core/qunit/bootstrap/CfgDefaults.qunit.js +3 -2
- package/test/sap/ui/core/qunit/bootstrap/CfgFromTagAttributes.qunit.js +1 -1
- package/test/sap/ui/core/qunit/bootstrap/testsuite.bootstrap.qunit.js +12 -6
- package/test/sap/ui/core/qunit/component/Component.qunit.js +14 -15
- package/test/sap/ui/core/qunit/component/Component_unavoidablySync.qunit.js +4 -3
- package/test/sap/ui/core/qunit/component/Customizing.qunit.js +4 -5
- package/test/sap/ui/core/qunit/component/Customizing_async.qunit.js +4 -3
- package/test/sap/ui/core/qunit/component/Customizing_disabled.qunit.js +4 -6
- package/test/sap/ui/core/qunit/component/Customizing_legacyAPIs.qunit.js +3 -5
- package/test/sap/ui/core/qunit/component/Customizing_multi.qunit.js +3 -6
- package/test/sap/ui/core/qunit/component/Customizing_unavoidablySync.qunit.js +5 -8
- package/test/sap/ui/core/qunit/component/ExtensionPoint.qunit.js +4 -5
- package/test/sap/ui/core/qunit/component/ExtensionPoint_unavoidablySync.qunit.js +4 -3
- package/test/sap/ui/core/qunit/component/UIComponent.qunit.js +19 -19
- package/test/sap/ui/core/qunit/component/UIComponent_unavoidablySync.qunit.js +19 -19
- package/test/sap/ui/core/qunit/composite/XMLComposite.qunit.js +43 -43
- package/test/sap/ui/core/qunit/csp/ContentSecurityPolicy.qunit.js +18 -13
- package/test/sap/ui/core/qunit/dnd/DragAndDrop.qunit.js +19 -18
- package/test/sap/ui/core/qunit/dnd/DragInfo.qunit.js +13 -12
- package/test/sap/ui/core/qunit/dnd/DropInfo.qunit.js +5 -4
- package/test/sap/ui/core/qunit/generic/ControlMemoryLeaks.qunit.js +7 -6
- package/test/sap/ui/core/qunit/generic/DuplicateIdCheck.qunit.js +7 -6
- package/test/sap/ui/core/qunit/generic/legacy/ControlIterator.qunit.js +6 -6
- package/test/sap/ui/core/qunit/generic/legacy/ControlMemoryLeaks.qunit.js +20 -17
- package/test/sap/ui/core/qunit/generic/legacy/DuplicateIdCheck.qunit.js +8 -7
- package/test/sap/ui/core/qunit/i18n/LocaleData.qunit.js +1 -2
- package/test/sap/ui/core/qunit/internal/1Ring.qunit.html +14 -19
- package/test/sap/ui/core/qunit/internal/1Ring.qunit.js +34 -22
- package/test/sap/ui/core/qunit/internal/ODataV4.qunit.html +6 -6
- package/test/sap/ui/core/qunit/internal/testsuite.feature-odata-v4.qunit.js +4 -0
- package/test/sap/ui/core/qunit/isBehindOtherElement.qunit.js +7 -7
- package/test/sap/ui/core/qunit/jquery-mobile-custom.qunit.js +3 -3
- package/test/sap/ui/core/qunit/jquery.sap.events.qunit.js +3 -2
- package/test/sap/ui/core/qunit/jquery.sap.ui.qunit.js +16 -16
- package/test/sap/ui/core/qunit/messages/{MessageManager.qunit.js → Messaging.qunit.js} +46 -49
- package/test/sap/ui/core/qunit/messages/messagesDataBinding.qunit.js +3 -1
- package/test/sap/ui/core/qunit/messages/messagesEnd2End.qunit.js +10 -10
- package/test/sap/ui/core/qunit/messages/messagesGeneral.qunit.js +36 -46
- package/test/sap/ui/core/qunit/messages/messagesUsage.qunit.js +25 -36
- package/test/sap/ui/core/qunit/messages/testsuite.messaging.base.qunit.js +2 -2
- package/test/sap/ui/core/qunit/model/Binding.qunit.js +8 -8
- package/test/sap/ui/core/qunit/model/controlhelper/TreeBindingProxy.qunit.js +24 -14
- package/test/sap/ui/core/qunit/mvc/AnyView.qunit.js +7 -6
- package/test/sap/ui/core/qunit/mvc/AnyViewAsync.qunit.js +3 -2
- package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessorAsync_unavoidablyUsingInlineStyle.qunit.js +5 -4
- package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessorRequireXML.qunit.js +8 -9
- package/test/sap/ui/core/qunit/mvc/XMLView.qunit.js +45 -40
- package/test/sap/ui/core/qunit/mvc/testdata/stashed/OP.html +1 -1
- package/test/sap/ui/core/qunit/mvc/viewprocessing/ViewProcessing.qunit.js +15 -20
- package/test/sap/ui/core/qunit/mvc/viewprocessing/ViewProcessing_legacyAPIs.qunit.js +20 -25
- package/test/sap/ui/core/qunit/mvc_legacyAPIs/AnyViewAsync_legacyAPIs.qunit.js +10 -11
- package/test/sap/ui/core/qunit/mvc_legacyAPIs/AnyView_legacyAPIs.qunit.js +7 -6
- package/test/sap/ui/core/qunit/mvc_legacyAPIs/HTMLView_legacyAPIs.qunit.js +8 -7
- package/test/sap/ui/core/qunit/mvc_legacyAPIs/XMLTemplateProcessorRequireXML_legacyAPIs.qunit.js +7 -7
- package/test/sap/ui/core/qunit/mvc_legacyAPIs/XMLView_legacyAPIs.qunit.js +40 -47
- package/test/sap/ui/core/qunit/odata/ODataAnnotations.qunit.js +52 -20
- package/test/sap/ui/core/qunit/odata/{ODataListBinding.qunit.js → ODataListBinding_legacyAPIs.qunit.js} +27 -0
- package/test/sap/ui/core/qunit/odata/ODataMessageParser.qunit.js +44 -48
- package/test/sap/ui/core/qunit/odata/ODataMessageParserNoFakeService.qunit.js +8 -8
- package/test/sap/ui/core/qunit/odata/ODataMetaModel.qunit.js +66 -29
- package/test/sap/ui/core/qunit/odata/ODataMetadata.qunit.js +17 -7
- package/test/sap/ui/core/qunit/odata/ODataTreeBindingAdapter.qunit.js +147 -89
- package/test/sap/ui/core/qunit/odata/ODataUtils.qunit.js +1 -0
- package/test/sap/ui/core/qunit/odata/type/DateTimeBase.qunit.js +33 -12
- package/test/sap/ui/core/qunit/odata/type/TimeOfDay.qunit.js +33 -12
- package/test/sap/ui/core/qunit/odata/v2/CanonicalRequests.qunit.js +5 -4
- package/test/sap/ui/core/qunit/odata/v2/ODataListBindingNoFakeService.qunit.js +63 -13
- package/test/sap/ui/core/qunit/odata/v2/ODataModel.integration.qunit.js +281 -59
- package/test/sap/ui/core/qunit/odata/v2/ODataModelNoFakeService.qunit.js +28 -4
- package/test/sap/ui/core/qunit/odata/v2/ODataTreeBindingFlatNoFakeService.qunit.js +21 -0
- package/test/sap/ui/core/qunit/odata/v2/ODataTreeBindingNoFakeService.qunit.js +1 -2
- package/test/sap/ui/core/qunit/odata/v2/ODataV2ListBinding.qunit.js +7 -207
- package/test/sap/ui/core/qunit/odata/v2/ODataV2ListBinding_Filter_legacyAPIs.qunit.js +281 -0
- package/test/sap/ui/core/qunit/odata/v2/ODataV2Model.qunit.js +9 -8
- package/test/sap/ui/core/qunit/odata/v2/ODataV2TreeBinding.qunit.js +1 -0
- package/test/sap/ui/core/qunit/odata/v2/V2ODataModel.qunit.js +95 -85
- package/test/sap/ui/core/qunit/odata/v2/V2ODataModelB.qunit.js +70 -67
- package/test/sap/ui/core/qunit/odata/v2/V2ODataModelDataState.qunit.js +19 -20
- package/test/sap/ui/core/qunit/odata/v2/testsuite.odatav2.qunit.js +4 -0
- package/test/sap/ui/core/qunit/odata/v4/Context.qunit.js +50 -27
- package/test/sap/ui/core/qunit/odata/v4/ODataBinding.qunit.js +5 -0
- package/test/sap/ui/core/qunit/odata/v4/ODataContextBinding.qunit.js +4 -3
- package/test/sap/ui/core/qunit/odata/v4/ODataListBinding.qunit.js +103 -14
- package/test/sap/ui/core/qunit/odata/v4/ODataModel.integration.qunit.js +1027 -31
- package/test/sap/ui/core/qunit/odata/v4/ODataModel.qunit.js +18 -17
- package/test/sap/ui/core/qunit/odata/v4/lib/_AggregationCache.qunit.js +272 -36
- package/test/sap/ui/core/qunit/odata/v4/lib/_Cache.qunit.js +115 -82
- package/test/sap/ui/core/qunit/odata/v4/lib/_Helper.qunit.js +10 -0
- package/test/sap/ui/core/qunit/odata/v4/lib/_Requestor.qunit.js +108 -10
- package/test/sap/ui/core/qunit/odata/v4/lib/_V2Requestor.qunit.js +1 -1
- package/test/sap/ui/core/qunit/opa/Opa5PageObject.qunit.js +5 -6
- package/test/sap/ui/core/qunit/opa/OpaPlugin.qunit.js +29 -42
- package/test/sap/ui/core/qunit/opa/RecordReplay.qunit.js +13 -14
- package/test/sap/ui/core/qunit/opa/_ControlFinder.qunit.js +5 -4
- package/test/sap/ui/core/qunit/opa/actions/Action.qunit.js +6 -5
- package/test/sap/ui/core/qunit/opa/actions/EnterText.qunit.js +22 -21
- package/test/sap/ui/core/qunit/opa/actions/Press.qunit.js +60 -56
- package/test/sap/ui/core/qunit/opa/autowaiter/_cssAnimationWaiter.js +5 -7
- package/test/sap/ui/core/qunit/opa/autowaiter/_cssTransitionWaiter.js +5 -9
- package/test/sap/ui/core/qunit/opa/autowaiter/_jsAnimationWaiter.js +5 -6
- package/test/sap/ui/core/qunit/opa/autowaiter/_navigationContainerWaiter.js +5 -4
- package/test/sap/ui/core/qunit/opa/autowaiter/_resourceWaiter.js +21 -20
- package/test/sap/ui/core/qunit/opa/fixture/bindingPath.js +6 -5
- package/test/sap/ui/core/qunit/opa/matchers/Interactable.qunit.js +7 -5
- package/test/sap/ui/core/qunit/opa/matchers/LabelFor.qunit.js +4 -3
- package/test/sap/ui/core/qunit/opa/matchers/Sibling.qunit.js +4 -3
- package/test/sap/ui/core/qunit/opa/matchers/Visible.qunit.js +6 -5
- package/test/sap/ui/core/qunit/opa/matchers/_Busy.qunit.js +28 -27
- package/test/sap/ui/core/qunit/opa/matchers/_Editable.qunit.js +11 -10
- package/test/sap/ui/core/qunit/opa/matchers/_Enabled.qunit.js +11 -10
- package/test/sap/ui/core/qunit/opa/matchers/_Visitor.qunit.js +5 -4
- package/test/sap/ui/core/qunit/opa/opa5/actions.qunit.js +8 -7
- package/test/sap/ui/core/qunit/opa/opa5/basics.qunit.js +12 -17
- package/test/sap/ui/core/qunit/opa/opa5/logging.qunit.js +5 -6
- package/test/sap/ui/core/qunit/opa/opa5/matchers.qunit.js +6 -5
- package/test/sap/ui/core/qunit/opa/selectors/_BindingPath.js +10 -9
- package/test/sap/ui/core/qunit/opa/selectors/_ControlSelectorGenerator.js +6 -7
- package/test/sap/ui/core/qunit/opa/selectors/_ControlSelectorValidator.js +4 -3
- package/test/sap/ui/core/qunit/opa/selectors/_DropdownItem.js +4 -3
- package/test/sap/ui/core/qunit/opa/selectors/_GlobalID.js +4 -3
- package/test/sap/ui/core/qunit/opa/selectors/_LabelFor.js +4 -3
- package/test/sap/ui/core/qunit/opa/selectors/_Properties.js +33 -27
- package/test/sap/ui/core/qunit/opa/selectors/_Selector.js +7 -10
- package/test/sap/ui/core/qunit/opa/selectors/_TableRowItem.js +5 -7
- package/test/sap/ui/core/qunit/opa/selectors/_ViewID.js +5 -7
- package/test/sap/ui/core/qunit/performance/trace/Interaction.qunit.js +35 -28
- package/test/sap/ui/core/qunit/routing/Placeholder.qunit.js +11 -9
- package/test/sap/ui/core/qunit/routing/PlaceholderOptOut.qunit.js +5 -3
- package/test/sap/ui/core/qunit/routing/async/Router.qunit.js +57 -0
- package/test/sap/ui/core/qunit/routing/fixture/historyIframe/iframe/index.html +1 -1
- package/test/sap/ui/core/qunit/routing/fixture/router/component/2LevelsMultiNavTo/Child/Component.js +30 -0
- package/test/sap/ui/core/qunit/routing/fixture/router/component/2LevelsMultiNavTo/Child/manifest.json +25 -0
- package/test/sap/ui/core/qunit/routing/fixture/router/component/2LevelsMultiNavTo/Parent/Component.js +14 -0
- package/test/sap/ui/core/qunit/routing/fixture/router/component/2LevelsMultiNavTo/Parent/manifest.json +51 -0
- package/test/sap/ui/core/qunit/routing/fixture/router/component/2LevelsMultiNavTo/Parent/view/NotFound.view.xml +3 -0
- package/test/sap/ui/core/qunit/routing/fixture/router/component/2LevelsMultiNavTo/Parent/view/RootView.view.xml +5 -0
- package/test/sap/ui/core/qunit/rule/app/syncXHR.qunit.js +24 -17
- package/test/sap/ui/core/qunit/rule/app/syncXHRBootstrap.qunit.js +3 -3
- package/test/sap/ui/core/qunit/rule/app/syncXHRBootstrapDebug.qunit.js +3 -3
- package/test/sap/ui/core/qunit/rule/config/asynchronousXMLViews.qunit.js +9 -18
- package/test/sap/ui/core/qunit/support/techinfo/TechnicalInfoTestbench.html +3 -1
- package/test/sap/ui/core/qunit/test/starter/find/index.html +1 -1
- package/test/sap/ui/core/qunit/test/starter/find/main.js +3 -2
- package/test/sap/ui/core/qunit/testsuite.core.framework.qunit.js +0 -6
- package/test/sap/ui/core/qunit/testsuites/testsuite.base.configuration.qunit.js +1 -1
- package/test/sap/ui/core/qunit/testsuites/testsuite.databinding.qunit.js +10 -6
- package/test/sap/ui/core/qunit/testsuites/testsuite.theming.qunit.js +27 -4
- package/test/sap/ui/core/qunit/tmpl/Template.qunit.js +36 -35
- package/test/sap/ui/core/qunit/types/DateFormat.qunit.js +13 -0
- package/test/sap/ui/core/qunit/types/DateInterval.qunit.js +2 -2
- package/test/sap/ui/core/qunit/util/BusyIndicatorNoCore.qunit.js +2 -2
- package/test/sap/ui/core/qunit/util/InvisibleMessage.qunit.js +4 -4
- package/test/sap/ui/core/qunit/util/LabelEnablement.qunit.js +27 -31
- package/test/sap/ui/core/qunit/util/Popup.qunit.js +27 -27
- package/test/sap/ui/core/qunit/util/ResponsivePaddingsEnablement.qunit.js +13 -9
- package/test/sap/ui/core/qunit/util/XMLPreprocessor.qunit.js +37 -6
- package/test/sap/ui/core/qunit/util/jQuery.sap.measure.qunit.js +1 -1
- package/test/sap/ui/core/qunit/util/jquery.sap.dom.qunit.js +3 -2
- package/test/sap/ui/core/qunit/util/reflection/JsControlTreeModifier.qunit.js +8 -8
- package/test/sap/ui/core/qunit/util/reflection/XmlTreeModifier.qunit.js +24 -24
- package/test/sap/ui/core/qunit/util/static/TechnicalInfoTestbenchInit.js +8 -2
- package/test/sap/ui/core/qunit/webc/WebComponent.qunit.js +188 -0
- package/test/sap/ui/core/qunit/webc/testsuite.webc.qunit.html +14 -0
- package/test/sap/ui/core/qunit/webc/testsuite.webc.qunit.js +22 -0
- package/test/sap/ui/core/relnotes/changes-1.117.json +1 -34
- package/test/sap/ui/core/relnotes/changes-1.118.json +143 -0
- package/test/sap/ui/core/samples/components/resourcesCSS/index.html +1 -1
- package/test/sap/ui/core/samples/databinding/DataBinding.html +3 -1
- package/test/sap/ui/core/samples/databinding/DataBindingAsyncType.html +3 -2
- package/test/sap/ui/core/samples/databinding/DataBindingCalculatedFields.html +3 -1
- package/test/sap/ui/core/samples/databinding/DataBindingList.html +3 -1
- package/test/sap/ui/core/samples/databinding/DataBindingListNamedModel.html +3 -1
- package/test/sap/ui/core/samples/databinding/DataBindingListXML.html +3 -1
- package/test/sap/ui/core/samples/databinding/DataBindingMultiModel.html +3 -1
- package/test/sap/ui/core/samples/databinding/DataBindingSortingFiltering.html +3 -1
- package/test/sap/ui/core/samples/databinding/DataBindingTreeLarge.html +102 -113
- package/test/sap/ui/core/samples/databinding/DataBindingTwoWay.html +3 -1
- package/test/sap/ui/core/samples/databinding/DataBindingTwoWayTable.html +90 -89
- package/test/sap/ui/core/samples/databinding/DataBindingValidation.html +149 -148
- package/test/sap/ui/core/samples/databinding/DataBindingXML.html +3 -2
- package/test/sap/ui/core/samples/databinding/DatabindingMessages.html +158 -153
- package/test/sap/ui/core/samples/databinding/ODatabindingMessages.html +4 -6
- package/test/sap/ui/core/samples/databinding/UnitTableMain.js +3 -4
- package/test/sap/ui/core/samples/extensions/index_legacyAPIs.html +15 -13
- package/test/sap/ui/core/samples/formatting/controller/ChooseFormatOptions.controller.js +3 -2
- package/test/sap/ui/core/samples/mvc/ExtendedXMLViewEventHandlerSyntax.html +5 -3
- package/test/sap/ui/core/samples/mvc/XMLViewBindableAggregation.html +1 -1
- package/test/testsuite/testframe.html +4 -4
- package/src/ui5-boot.js +0 -50
- package/test/sap/ui/core/qunit/CoreLock.qunit.js +0 -61
- package/test/sap/ui/core/qunit/internal/ODataV4.qunit.js +0 -30
- /package/test/sap/ui/core/qunit/{MasterDetail.qunit.js → MasterDetail_legacyAPIs.qunit.js} +0 -0
- /package/test/sap/ui/core/qunit/odata/{ODataModel.qunit.js → ODataModel_legacyAPIs.qunit.js} +0 -0
- /package/test/sap/ui/core/qunit/odata/{ODataSharedMetadata.qunit.js → ODataSharedMetadata_legacyAPIs.qunit.js} +0 -0
- /package/test/sap/ui/core/qunit/odata/{ODataTreeBinding.qunit.js → ODataTreeBinding_legacyAPIs.qunit.js} +0 -0
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
sap.ui.define([
|
|
2
2
|
'sap/ui/qunit/utils/createAndAppendDiv',
|
|
3
|
-
|
|
3
|
+
"sap/ui/qunit/utils/nextUIUpdate",
|
|
4
4
|
'sap/ui/core/Component',
|
|
5
5
|
'sap/ui/core/ComponentContainer',
|
|
6
|
+
'sap/ui/core/Messaging',
|
|
6
7
|
'sap/ui/core/UIComponentMetadata',
|
|
7
8
|
'sap/ui/test/routing/Component',
|
|
8
9
|
'sap/ui/test/routing/RouterExtension',
|
|
@@ -11,7 +12,7 @@ sap.ui.define([
|
|
|
11
12
|
'sap/base/util/LoaderExtensions',
|
|
12
13
|
'sap/ui/core/Manifest',
|
|
13
14
|
'sap/base/i18n/ResourceBundle'
|
|
14
|
-
], function (createAndAppendDiv,
|
|
15
|
+
], function (createAndAppendDiv, nextUIUpdate, Component, ComponentContainer, Messaging, UIComponentMetadata, SamplesRoutingComponent, SamplesRouterExtension, Log, deepExtend, LoaderExtensions, Manifest, ResourceBundle) {
|
|
15
16
|
|
|
16
17
|
"use strict";
|
|
17
18
|
/*global sinon, QUnit, foo*/
|
|
@@ -79,8 +80,8 @@ sap.ui.define([
|
|
|
79
80
|
}
|
|
80
81
|
});
|
|
81
82
|
|
|
82
|
-
QUnit.test("Simple Component Instance", function(assert){
|
|
83
|
-
|
|
83
|
+
QUnit.test("Simple Component Instance", async function(assert){
|
|
84
|
+
await nextUIUpdate();
|
|
84
85
|
assert.ok(document.getElementById("CompCont1"));
|
|
85
86
|
var elem = document.getElementById("buttonComponent---mybutn");
|
|
86
87
|
assert.equal(elem.textContent, "Text changed through settings", "Settings applied");
|
|
@@ -209,7 +210,7 @@ sap.ui.define([
|
|
|
209
210
|
},
|
|
210
211
|
afterEach: function() {
|
|
211
212
|
// Clear all messages so the tests don't interfere with eachother
|
|
212
|
-
|
|
213
|
+
Messaging.removeAllMessages();
|
|
213
214
|
}
|
|
214
215
|
});
|
|
215
216
|
|
|
@@ -224,19 +225,18 @@ sap.ui.define([
|
|
|
224
225
|
assert.ok(oComp, "Component created.");
|
|
225
226
|
assert.strictEqual(false, oComp.getManifestEntry("/sap.ui5/handleValidation"), "Correct handleValidation value was returned on instance: false");
|
|
226
227
|
|
|
227
|
-
// fire a validation error -> should NOT create a Message via
|
|
228
|
+
// fire a validation error -> should NOT create a Message via Messaging
|
|
228
229
|
// the Component has set "handleValidation" to <false> and thus is not registered to the
|
|
229
|
-
//
|
|
230
|
+
// Messaging
|
|
230
231
|
oComp.fireValidationError({
|
|
231
232
|
element: oComp,
|
|
232
233
|
property: "handleValidationTest",
|
|
233
234
|
newValue: false
|
|
234
235
|
});
|
|
235
236
|
|
|
236
|
-
var
|
|
237
|
-
var aMessages = oMM.getMessageModel().getData();
|
|
237
|
+
var aMessages = Messaging.getMessageModel().getData();
|
|
238
238
|
|
|
239
|
-
assert.equal(aMessages.length, 0, "No messages must be created. The Component should not be registered to the
|
|
239
|
+
assert.equal(aMessages.length, 0, "No messages must be created. The Component should not be registered to the Messaging.");
|
|
240
240
|
|
|
241
241
|
}).finally(function() {
|
|
242
242
|
oComponentGeneric.destroy();
|
|
@@ -272,19 +272,18 @@ sap.ui.define([
|
|
|
272
272
|
assert.ok(oComp, "Component created.");
|
|
273
273
|
assert.strictEqual(true, oComp.getManifestEntry("/sap.ui5/handleValidation"), "Correct handleValidation value was returned on instance: true");
|
|
274
274
|
|
|
275
|
-
// fire a validation error -> should create a Message via the
|
|
275
|
+
// fire a validation error -> should create a Message via the Messaging
|
|
276
276
|
// the Component has set "handleValidation" to <true> and thus is automatically registered to the
|
|
277
|
-
//
|
|
277
|
+
// Messaging
|
|
278
278
|
oComp.fireValidationError({
|
|
279
279
|
element: oComp,
|
|
280
280
|
property: "handleValidationTest",
|
|
281
281
|
newValue: true
|
|
282
282
|
});
|
|
283
283
|
|
|
284
|
-
var
|
|
285
|
-
var aMessages = oMM.getMessageModel().getData();
|
|
284
|
+
var aMessages = Messaging.getMessageModel().getData();
|
|
286
285
|
|
|
287
|
-
assert.equal(aMessages.length, 1, "One messages must be created. The Component is automatically registered to the
|
|
286
|
+
assert.equal(aMessages.length, 1, "One messages must be created. The Component is automatically registered to the Messaging.");
|
|
288
287
|
|
|
289
288
|
}).finally(function() {
|
|
290
289
|
oComponentInstanceSpecific.destroy();
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
sap.ui.define([
|
|
2
2
|
'sap/ui/qunit/utils/createAndAppendDiv',
|
|
3
|
+
"sap/ui/qunit/utils/nextUIUpdate",
|
|
3
4
|
'sap/ui/core/Component',
|
|
4
5
|
'sap/ui/core/ComponentContainer',
|
|
5
6
|
'sap/ui/core/UIComponent',
|
|
6
7
|
'sap/ui/core/UIComponentMetadata',
|
|
7
8
|
'sap/ui/test/routing/RouterExtension',
|
|
8
9
|
'sap/base/util/deepExtend'
|
|
9
|
-
], function (createAndAppendDiv, Component, ComponentContainer, UIComponent, UIComponentMetadata, SamplesRouterExtension, deepExtend) {
|
|
10
|
+
], function (createAndAppendDiv, nextUIUpdate, Component, ComponentContainer, UIComponent, UIComponentMetadata, SamplesRouterExtension, deepExtend) {
|
|
10
11
|
|
|
11
12
|
"use strict";
|
|
12
13
|
/*global sinon, QUnit, foo*/
|
|
@@ -70,8 +71,8 @@ sap.ui.define([
|
|
|
70
71
|
}
|
|
71
72
|
});
|
|
72
73
|
|
|
73
|
-
QUnit.test("Simple Component Instance", function(assert){
|
|
74
|
-
|
|
74
|
+
QUnit.test("Simple Component Instance", async function(assert){
|
|
75
|
+
await nextUIUpdate();
|
|
75
76
|
assert.ok(document.getElementById("CompCont1"));
|
|
76
77
|
var elem = document.getElementById("buttonComponent---mybutn");
|
|
77
78
|
assert.equal(elem.textContent, "Text changed through settings", "Settings applied");
|
|
@@ -4,8 +4,9 @@ sap.ui.define([
|
|
|
4
4
|
"sap/ui/core/ComponentContainer",
|
|
5
5
|
"sap/ui/core/mvc/Controller",
|
|
6
6
|
"sap/ui/core/mvc/View",
|
|
7
|
-
"sap/ui/qunit/utils/createAndAppendDiv"
|
|
8
|
-
|
|
7
|
+
"sap/ui/qunit/utils/createAndAppendDiv",
|
|
8
|
+
"sap/ui/qunit/utils/nextUIUpdate"
|
|
9
|
+
], function(Event, Component, ComponentContainer, Controller, View, createAndAppendDiv, nextUIUpdate) {
|
|
9
10
|
|
|
10
11
|
"use strict";
|
|
11
12
|
/*global QUnit, sinon */
|
|
@@ -52,9 +53,7 @@ sap.ui.define([
|
|
|
52
53
|
});
|
|
53
54
|
oCompCont.placeAt("content");
|
|
54
55
|
return oComp.getRootControl().loaded();
|
|
55
|
-
}).then(
|
|
56
|
-
sap.ui.getCore().applyChanges();
|
|
57
|
-
});
|
|
56
|
+
}).then(nextUIUpdate);
|
|
58
57
|
}
|
|
59
58
|
|
|
60
59
|
function destroyComponentAndContainer() {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/*global QUnit sinon */
|
|
2
2
|
sap.ui.define([
|
|
3
3
|
'sap/ui/qunit/QUnitUtils',
|
|
4
|
+
"sap/ui/qunit/utils/nextUIUpdate",
|
|
4
5
|
'sap/ui/core/Component',
|
|
5
6
|
'sap/ui/core/ComponentContainer',
|
|
6
7
|
'sap/ui/core/XMLTemplateProcessor',
|
|
7
8
|
'sap/ui/core/mvc/XMLProcessingMode'
|
|
8
|
-
], function(QUnitUtils, Component, ComponentContainer, XMLTemplateProcessor, XMLProcessingMode) {
|
|
9
|
+
], function(QUnitUtils, nextUIUpdate, Component, ComponentContainer, XMLTemplateProcessor, XMLProcessingMode) {
|
|
9
10
|
"use strict";
|
|
10
11
|
|
|
11
12
|
/**
|
|
@@ -237,9 +238,9 @@ sap.ui.define([
|
|
|
237
238
|
|
|
238
239
|
return oComponent.getRootControl().loaded();
|
|
239
240
|
}.bind(this))
|
|
240
|
-
.then(function(oRootView) {
|
|
241
|
+
.then(async function(oRootView) {
|
|
242
|
+
await nextUIUpdate();
|
|
241
243
|
return new Promise(function(res, rej) {
|
|
242
|
-
sap.ui.getCore().applyChanges();
|
|
243
244
|
|
|
244
245
|
assert.equal(oRootView._sProcessingMode, XMLProcessingMode.Sequential, "Root view should be processed 'Sequential'");
|
|
245
246
|
|
|
@@ -3,9 +3,9 @@ sap.ui.define([
|
|
|
3
3
|
"sap/ui/core/Component",
|
|
4
4
|
"sap/ui/core/ComponentContainer",
|
|
5
5
|
"sap/ui/core/mvc/Controller",
|
|
6
|
-
"sap/ui/
|
|
7
|
-
"sap/ui/qunit/utils/
|
|
8
|
-
], function(Event, Component, ComponentContainer, Controller,
|
|
6
|
+
"sap/ui/qunit/utils/createAndAppendDiv",
|
|
7
|
+
"sap/ui/qunit/utils/nextUIUpdate"
|
|
8
|
+
], function(Event, Component, ComponentContainer, Controller, createAndAppendDiv, nextUIUpdate) {
|
|
9
9
|
|
|
10
10
|
"use strict";
|
|
11
11
|
/*global QUnit, sinon */
|
|
@@ -55,9 +55,7 @@ sap.ui.define([
|
|
|
55
55
|
|
|
56
56
|
// now wait for the root view to load
|
|
57
57
|
return oComp.getRootControl().loaded();
|
|
58
|
-
}).then(
|
|
59
|
-
sap.ui.getCore().applyChanges();
|
|
60
|
-
});
|
|
58
|
+
}).then(nextUIUpdate);
|
|
61
59
|
},
|
|
62
60
|
after: function() {
|
|
63
61
|
oCompCont.destroy();
|
|
@@ -4,11 +4,11 @@ sap.ui.define([
|
|
|
4
4
|
"sap/ui/core/ComponentContainer",
|
|
5
5
|
"sap/ui/core/mvc/Controller",
|
|
6
6
|
"sap/ui/core/mvc/View",
|
|
7
|
-
"sap/ui/core/mvc/XMLView",
|
|
8
7
|
"sap/ui/qunit/utils/createAndAppendDiv",
|
|
8
|
+
"sap/ui/qunit/utils/nextUIUpdate",
|
|
9
9
|
'sap/ui/core/XMLTemplateProcessor',
|
|
10
10
|
'sap/ui/core/mvc/XMLProcessingMode'
|
|
11
|
-
], function (Event, Component, ComponentContainer, Controller, View,
|
|
11
|
+
], function (Event, Component, ComponentContainer, Controller, View, createAndAppendDiv, nextUIUpdate, XMLTemplateProcessor, XMLProcessingMode) {
|
|
12
12
|
|
|
13
13
|
"use strict";
|
|
14
14
|
/*global QUnit, sinon */
|
|
@@ -55,9 +55,7 @@ sap.ui.define([
|
|
|
55
55
|
});
|
|
56
56
|
oCompCont.placeAt("content");
|
|
57
57
|
return oComp.getRootControl().loaded();
|
|
58
|
-
}).then(
|
|
59
|
-
sap.ui.getCore().applyChanges();
|
|
60
|
-
});
|
|
58
|
+
}).then(nextUIUpdate);
|
|
61
59
|
}
|
|
62
60
|
|
|
63
61
|
function destroyComponentAndContainer() {
|
|
@@ -2,12 +2,11 @@ sap.ui.define([
|
|
|
2
2
|
"sap/ui/base/Event",
|
|
3
3
|
'sap/ui/core/Component',
|
|
4
4
|
'sap/ui/core/ComponentContainer',
|
|
5
|
-
'sap/ui/core/mvc/Controller',
|
|
6
|
-
'sap/ui/core/mvc/View',
|
|
7
5
|
'sap/ui/core/mvc/XMLView',
|
|
8
6
|
"sap/ui/qunit/utils/createAndAppendDiv",
|
|
7
|
+
"sap/ui/qunit/utils/nextUIUpdate",
|
|
9
8
|
'sap/ui/qunit/QUnitUtils'
|
|
10
|
-
], function(Event, Component, ComponentContainer,
|
|
9
|
+
], function(Event, Component, ComponentContainer, XMLView, createAndAppendDiv, nextUIUpdate, qutils) {
|
|
11
10
|
|
|
12
11
|
"use strict";
|
|
13
12
|
/*global QUnit, sinon */
|
|
@@ -81,9 +80,7 @@ sap.ui.define([
|
|
|
81
80
|
component: this.oCompSub
|
|
82
81
|
}).placeAt("content");
|
|
83
82
|
return this.oCompSub.getRootControl().loaded();
|
|
84
|
-
}.bind(this)).then(
|
|
85
|
-
sap.ui.getCore().applyChanges();
|
|
86
|
-
})
|
|
83
|
+
}.bind(this)).then(nextUIUpdate)
|
|
87
84
|
]);
|
|
88
85
|
},
|
|
89
86
|
after: function() {
|
|
@@ -3,8 +3,9 @@ sap.ui.define([
|
|
|
3
3
|
"sap/ui/core/Component",
|
|
4
4
|
"sap/ui/core/ComponentContainer",
|
|
5
5
|
"sap/ui/core/mvc/Controller",
|
|
6
|
-
"sap/ui/qunit/utils/createAndAppendDiv"
|
|
7
|
-
|
|
6
|
+
"sap/ui/qunit/utils/createAndAppendDiv",
|
|
7
|
+
"sap/ui/qunit/utils/nextUIUpdate"
|
|
8
|
+
], function (Event, Component, ComponentContainer, Controller, createAndAppendDiv, nextUIUpdate) {
|
|
8
9
|
|
|
9
10
|
"use strict";
|
|
10
11
|
/*global QUnit, sinon */
|
|
@@ -56,9 +57,7 @@ sap.ui.define([
|
|
|
56
57
|
});
|
|
57
58
|
oCompCont.placeAt("content");
|
|
58
59
|
return oComp.getRootControl().loaded();
|
|
59
|
-
}).then(
|
|
60
|
-
sap.ui.getCore().applyChanges();
|
|
61
|
-
});
|
|
60
|
+
}).then(nextUIUpdate);
|
|
62
61
|
},
|
|
63
62
|
after: destroyComponentAndContainer
|
|
64
63
|
});
|
|
@@ -189,9 +188,7 @@ sap.ui.define([
|
|
|
189
188
|
});
|
|
190
189
|
oCompCont.placeAt("content");
|
|
191
190
|
return oComp.getRootControl().loaded();
|
|
192
|
-
}).then(
|
|
193
|
-
sap.ui.getCore().applyChanges();
|
|
194
|
-
});
|
|
191
|
+
}).then(nextUIUpdate);
|
|
195
192
|
});
|
|
196
193
|
|
|
197
194
|
|
|
@@ -4,8 +4,9 @@ sap.ui.define([
|
|
|
4
4
|
'sap/ui/core/XMLTemplateProcessor',
|
|
5
5
|
'sap/ui/core/ExtensionPoint',
|
|
6
6
|
'sap/ui/core/mvc/XMLView',
|
|
7
|
-
'sap/ui/core/Fragment'
|
|
8
|
-
|
|
7
|
+
'sap/ui/core/Fragment',
|
|
8
|
+
"sap/ui/qunit/utils/nextUIUpdate"
|
|
9
|
+
], function(Component, ComponentContainer, XMLTemplateProcessor, ExtensionPoint, XMLView, Fragment, nextUIUpdate) {
|
|
9
10
|
|
|
10
11
|
"use strict";
|
|
11
12
|
/*global QUnit, sinon */
|
|
@@ -37,9 +38,7 @@ sap.ui.define([
|
|
|
37
38
|
});
|
|
38
39
|
oComponentContainer.placeAt("content");
|
|
39
40
|
return oComponent.getRootControl().loaded();
|
|
40
|
-
}).then(
|
|
41
|
-
sap.ui.getCore().applyChanges();
|
|
42
|
-
});
|
|
41
|
+
}).then(nextUIUpdate);
|
|
43
42
|
}
|
|
44
43
|
|
|
45
44
|
function destroyComponentAndContainer() {
|
|
@@ -2,9 +2,10 @@ sap.ui.define([
|
|
|
2
2
|
'sap/ui/core/Component',
|
|
3
3
|
'sap/ui/core/ComponentContainer',
|
|
4
4
|
'sap/ui/core/ExtensionPoint',
|
|
5
|
+
"sap/ui/qunit/utils/nextUIUpdate",
|
|
5
6
|
// Load ExtensionPointProvider in advance because Controller expects some extensions to be processed sync
|
|
6
7
|
'testdata/customizing/customer/ext/ExtensionPointProvider'
|
|
7
|
-
], function(Component, ComponentContainer, ExtensionPoint, ExtensionPointProvider) {
|
|
8
|
+
], function(Component, ComponentContainer, ExtensionPoint, nextUIUpdate, ExtensionPointProvider) {
|
|
8
9
|
|
|
9
10
|
"use strict";
|
|
10
11
|
/*global QUnit, sinon */
|
|
@@ -17,7 +18,7 @@ sap.ui.define([
|
|
|
17
18
|
// UI Construction
|
|
18
19
|
var oComponent, oComponentContainer;
|
|
19
20
|
|
|
20
|
-
function createComponentAndContainer(bWithExtensionProvider, bWithEmptyExtensionProvider) {
|
|
21
|
+
async function createComponentAndContainer(bWithExtensionProvider, bWithEmptyExtensionProvider) {
|
|
21
22
|
// load and start the customized application
|
|
22
23
|
if (bWithExtensionProvider) {
|
|
23
24
|
ExtensionPoint.registerExtensionProvider(function() {
|
|
@@ -35,7 +36,7 @@ sap.ui.define([
|
|
|
35
36
|
component: oComponent
|
|
36
37
|
});
|
|
37
38
|
oComponentContainer.placeAt("content");
|
|
38
|
-
|
|
39
|
+
await nextUIUpdate();
|
|
39
40
|
}
|
|
40
41
|
|
|
41
42
|
function destroyComponentAndContainer() {
|
|
@@ -4,9 +4,9 @@ sap.ui.define([
|
|
|
4
4
|
"sap/ui/core/Component",
|
|
5
5
|
"sap/ui/core/ComponentContainer",
|
|
6
6
|
"sap/ui/core/UIComponent",
|
|
7
|
-
"sap/ui/core/
|
|
8
|
-
"sap/ui/
|
|
9
|
-
], function(Log, ManagedObject, Component, ComponentContainer, UIComponent,
|
|
7
|
+
"sap/ui/core/mvc/View",
|
|
8
|
+
"sap/ui/qunit/utils/nextUIUpdate"
|
|
9
|
+
], function(Log, ManagedObject, Component, ComponentContainer, UIComponent, View, nextUIUpdate) {
|
|
10
10
|
|
|
11
11
|
"use strict";
|
|
12
12
|
/*global sinon, QUnit*/
|
|
@@ -136,12 +136,12 @@ sap.ui.define([
|
|
|
136
136
|
|
|
137
137
|
return Component.create({
|
|
138
138
|
manifest : "/anylocation/manifest.json"
|
|
139
|
-
}).then(function (oComponent) {
|
|
139
|
+
}).then(async function (oComponent) {
|
|
140
140
|
var oComponentContainer = new ComponentContainer({
|
|
141
141
|
component: oComponent
|
|
142
142
|
}).placeAt("content");
|
|
143
143
|
|
|
144
|
-
|
|
144
|
+
await nextUIUpdate();
|
|
145
145
|
|
|
146
146
|
assert.equal(oComponent.getAutoPrefixId(), false, "AutoPrefixId is false!");
|
|
147
147
|
|
|
@@ -160,12 +160,12 @@ sap.ui.define([
|
|
|
160
160
|
|
|
161
161
|
return Component.create({
|
|
162
162
|
manifest : "/anylocation/manifest.json"
|
|
163
|
-
}).then(function (oComponent) {
|
|
163
|
+
}).then(async function (oComponent) {
|
|
164
164
|
var oComponentContainer = new ComponentContainer({
|
|
165
165
|
component: oComponent
|
|
166
166
|
}).placeAt("content");
|
|
167
167
|
|
|
168
|
-
|
|
168
|
+
await nextUIUpdate();
|
|
169
169
|
|
|
170
170
|
assert.equal(oComponent.getAutoPrefixId(), true, "AutoPrefixId is true!");
|
|
171
171
|
|
|
@@ -184,12 +184,12 @@ sap.ui.define([
|
|
|
184
184
|
|
|
185
185
|
return Component.create({
|
|
186
186
|
manifest : "/anylocation/manifest.json"
|
|
187
|
-
}).then(function (oComponent) {
|
|
187
|
+
}).then(async function (oComponent) {
|
|
188
188
|
var oComponentContainer = new ComponentContainer({
|
|
189
189
|
component: oComponent
|
|
190
190
|
}).placeAt("content");
|
|
191
191
|
|
|
192
|
-
|
|
192
|
+
await nextUIUpdate();
|
|
193
193
|
|
|
194
194
|
assert.equal(oComponent.getAutoPrefixId(), false, "AutoPrefixId is false!");
|
|
195
195
|
|
|
@@ -593,12 +593,12 @@ sap.ui.define([
|
|
|
593
593
|
QUnit.test("UIComponent with Typed-View as Root Control", function(assert) {
|
|
594
594
|
return Component.create({
|
|
595
595
|
name: "error.test"
|
|
596
|
-
}).then(function (oComponent) {
|
|
596
|
+
}).then(async function (oComponent) {
|
|
597
597
|
var oComponentContainer = new ComponentContainer({
|
|
598
598
|
component: oComponent
|
|
599
599
|
}).placeAt("content");
|
|
600
600
|
|
|
601
|
-
|
|
601
|
+
await nextUIUpdate();
|
|
602
602
|
|
|
603
603
|
var oRootControl = oComponent.getRootControl();
|
|
604
604
|
assert.equal(oRootControl.getViewName(), "module:error/test/JSView.view", "The correct view is displayed!");
|
|
@@ -611,12 +611,12 @@ sap.ui.define([
|
|
|
611
611
|
QUnit.test("UIComponent check for not prefixing the views' auto id", function(assert) {
|
|
612
612
|
return Component.create({
|
|
613
613
|
name: "my.own.autoid"
|
|
614
|
-
}).then(function (oComponent) {
|
|
614
|
+
}).then(async function (oComponent) {
|
|
615
615
|
var oComponentContainer = new ComponentContainer({
|
|
616
616
|
component: oComponent
|
|
617
617
|
}).placeAt("content");
|
|
618
618
|
|
|
619
|
-
|
|
619
|
+
await nextUIUpdate();
|
|
620
620
|
|
|
621
621
|
var oRootControl = oComponent.getRootControl();
|
|
622
622
|
assert.equal(oRootControl.getViewName(), "my.own.View", "The correct view is displayed!");
|
|
@@ -630,12 +630,12 @@ sap.ui.define([
|
|
|
630
630
|
QUnit.test("UIComponent check for not prefixing the views' auto id (manifest first)", function(assert) {
|
|
631
631
|
return Component.create({
|
|
632
632
|
manifest: "/anylocation/mf1st/autoid/manifest.json"
|
|
633
|
-
}).then(function (oComponent) {
|
|
633
|
+
}).then(async function (oComponent) {
|
|
634
634
|
var oComponentContainer = new ComponentContainer({
|
|
635
635
|
component: oComponent
|
|
636
636
|
}).placeAt("content");
|
|
637
637
|
|
|
638
|
-
|
|
638
|
+
await nextUIUpdate();
|
|
639
639
|
|
|
640
640
|
var oRootControl = oComponent.getRootControl();
|
|
641
641
|
assert.equal(oRootControl.getViewName(), "my.own.View", "The correct view is displayed!");
|
|
@@ -649,12 +649,12 @@ sap.ui.define([
|
|
|
649
649
|
QUnit.test("UIComponent check for prefixing view id", function(assert) {
|
|
650
650
|
return Component.create({
|
|
651
651
|
name: "my.own.prefixid"
|
|
652
|
-
}).then(function (oComponent) {
|
|
652
|
+
}).then(async function (oComponent) {
|
|
653
653
|
var oComponentContainer = new ComponentContainer({
|
|
654
654
|
component: oComponent
|
|
655
655
|
}).placeAt("content");
|
|
656
656
|
|
|
657
|
-
|
|
657
|
+
await nextUIUpdate();
|
|
658
658
|
|
|
659
659
|
var oRootControl = oComponent.getRootControl();
|
|
660
660
|
assert.equal(oRootControl.getViewName(), "my.own.View", "The correct view is displayed!");
|
|
@@ -671,12 +671,12 @@ sap.ui.define([
|
|
|
671
671
|
QUnit.test("UIComponent check for prefixing view id (manifest first)", function(assert) {
|
|
672
672
|
return Component.create({
|
|
673
673
|
manifest: "/anylocation/mf1st/prefixid/manifest.json"
|
|
674
|
-
}).then(function (oComponent) {
|
|
674
|
+
}).then(async function (oComponent) {
|
|
675
675
|
var oComponentContainer = new ComponentContainer({
|
|
676
676
|
component: oComponent
|
|
677
677
|
}).placeAt("content");
|
|
678
678
|
|
|
679
|
-
|
|
679
|
+
await nextUIUpdate();
|
|
680
680
|
|
|
681
681
|
var oRootControl = oComponent.getRootControl();
|
|
682
682
|
assert.equal(oRootControl.getViewName(), "my.own.View", "The correct view is displayed!");
|
|
@@ -3,10 +3,10 @@ sap.ui.define([
|
|
|
3
3
|
"sap/ui/base/ManagedObject",
|
|
4
4
|
"sap/ui/core/ComponentContainer",
|
|
5
5
|
"sap/ui/core/UIComponent",
|
|
6
|
-
"sap/ui/core/UIComponentMetadata",
|
|
7
6
|
"sap/ui/core/mvc/View",
|
|
8
|
-
"sap/base/Log"
|
|
9
|
-
|
|
7
|
+
"sap/base/Log",
|
|
8
|
+
"sap/ui/qunit/utils/nextUIUpdate"
|
|
9
|
+
], function(Component, ManagedObject, ComponentContainer, UIComponent, View, Log, nextUIUpdate) {
|
|
10
10
|
|
|
11
11
|
"use strict";
|
|
12
12
|
/*global sinon, QUnit*/
|
|
@@ -133,7 +133,7 @@ sap.ui.define([
|
|
|
133
133
|
|
|
134
134
|
});
|
|
135
135
|
|
|
136
|
-
QUnit.test("UIComponent check for no autoPrefixId", function(assert) {
|
|
136
|
+
QUnit.test("UIComponent check for no autoPrefixId", async function(assert) {
|
|
137
137
|
|
|
138
138
|
this.oServer.respondWithJSONContent(this.oManifest);
|
|
139
139
|
|
|
@@ -145,7 +145,7 @@ sap.ui.define([
|
|
|
145
145
|
component: oComponent
|
|
146
146
|
}).placeAt("content");
|
|
147
147
|
|
|
148
|
-
|
|
148
|
+
await nextUIUpdate();
|
|
149
149
|
|
|
150
150
|
assert.equal(oComponent.getAutoPrefixId(), false, "AutoPrefixId is false!");
|
|
151
151
|
|
|
@@ -157,7 +157,7 @@ sap.ui.define([
|
|
|
157
157
|
|
|
158
158
|
});
|
|
159
159
|
|
|
160
|
-
QUnit.test("UIComponent check for autoPrefixId=true", function(assert) {
|
|
160
|
+
QUnit.test("UIComponent check for autoPrefixId=true", async function(assert) {
|
|
161
161
|
|
|
162
162
|
this.oManifest["sap.ui5"]["autoPrefixId"] = true;
|
|
163
163
|
this.oServer.respondWithJSONContent(this.oManifest);
|
|
@@ -170,7 +170,7 @@ sap.ui.define([
|
|
|
170
170
|
component: oComponent
|
|
171
171
|
}).placeAt("content");
|
|
172
172
|
|
|
173
|
-
|
|
173
|
+
await nextUIUpdate();
|
|
174
174
|
|
|
175
175
|
assert.equal(oComponent.getAutoPrefixId(), true, "AutoPrefixId is true!");
|
|
176
176
|
|
|
@@ -182,7 +182,7 @@ sap.ui.define([
|
|
|
182
182
|
|
|
183
183
|
});
|
|
184
184
|
|
|
185
|
-
QUnit.test("UIComponent check for autoPrefixId=false", function(assert) {
|
|
185
|
+
QUnit.test("UIComponent check for autoPrefixId=false", async function(assert) {
|
|
186
186
|
|
|
187
187
|
this.oManifest["sap.ui5"]["autoPrefixId"] = false;
|
|
188
188
|
this.oServer.respondWithJSONContent(this.oManifest);
|
|
@@ -195,7 +195,7 @@ sap.ui.define([
|
|
|
195
195
|
component: oComponent
|
|
196
196
|
}).placeAt("content");
|
|
197
197
|
|
|
198
|
-
|
|
198
|
+
await nextUIUpdate();
|
|
199
199
|
|
|
200
200
|
assert.equal(oComponent.getAutoPrefixId(), false, "AutoPrefixId is false!");
|
|
201
201
|
|
|
@@ -504,7 +504,7 @@ sap.ui.define([
|
|
|
504
504
|
|
|
505
505
|
});
|
|
506
506
|
|
|
507
|
-
QUnit.test("UIComponent that no error is logged for View-Types other than XML when processingMode is set", function(assert) {
|
|
507
|
+
QUnit.test("UIComponent that no error is logged for View-Types other than XML when processingMode is set", async function(assert) {
|
|
508
508
|
var oSpy = sinon.spy(ManagedObject.prototype, "applySettings");
|
|
509
509
|
|
|
510
510
|
var oComponent = sap.ui.component({
|
|
@@ -515,7 +515,7 @@ sap.ui.define([
|
|
|
515
515
|
component: oComponent
|
|
516
516
|
}).placeAt("content");
|
|
517
517
|
|
|
518
|
-
|
|
518
|
+
await nextUIUpdate();
|
|
519
519
|
|
|
520
520
|
assert.ok(oSpy.calledWith({
|
|
521
521
|
async: true,
|
|
@@ -528,7 +528,7 @@ sap.ui.define([
|
|
|
528
528
|
oSpy.restore();
|
|
529
529
|
});
|
|
530
530
|
|
|
531
|
-
QUnit.test("UIComponent check for not prefixing the views' auto id", function(assert) {
|
|
531
|
+
QUnit.test("UIComponent check for not prefixing the views' auto id", async function(assert) {
|
|
532
532
|
|
|
533
533
|
var oComponent = sap.ui.component({
|
|
534
534
|
name: "my.own.autoid"
|
|
@@ -538,7 +538,7 @@ sap.ui.define([
|
|
|
538
538
|
component: oComponent
|
|
539
539
|
}).placeAt("content");
|
|
540
540
|
|
|
541
|
-
|
|
541
|
+
await nextUIUpdate();
|
|
542
542
|
|
|
543
543
|
var oRootControl = oComponent.getRootControl();
|
|
544
544
|
assert.equal(oRootControl.getViewName(), "my.own.View", "The correct view is displayed!");
|
|
@@ -549,7 +549,7 @@ sap.ui.define([
|
|
|
549
549
|
|
|
550
550
|
});
|
|
551
551
|
|
|
552
|
-
QUnit.test("UIComponent check for not prefixing the views' auto id (manifest first)", function(assert) {
|
|
552
|
+
QUnit.test("UIComponent check for not prefixing the views' auto id (manifest first)", async function(assert) {
|
|
553
553
|
|
|
554
554
|
var oComponent = sap.ui.component({
|
|
555
555
|
manifestUrl: "/anylocation/mf1st/autoid/manifest.json"
|
|
@@ -559,7 +559,7 @@ sap.ui.define([
|
|
|
559
559
|
component: oComponent
|
|
560
560
|
}).placeAt("content");
|
|
561
561
|
|
|
562
|
-
|
|
562
|
+
await nextUIUpdate();
|
|
563
563
|
|
|
564
564
|
var oRootControl = oComponent.getRootControl();
|
|
565
565
|
assert.equal(oRootControl.getViewName(), "my.own.View", "The correct view is displayed!");
|
|
@@ -570,7 +570,7 @@ sap.ui.define([
|
|
|
570
570
|
|
|
571
571
|
});
|
|
572
572
|
|
|
573
|
-
QUnit.test("UIComponent check for prefixing view id", function(assert) {
|
|
573
|
+
QUnit.test("UIComponent check for prefixing view id", async function(assert) {
|
|
574
574
|
|
|
575
575
|
var oComponent = sap.ui.component({
|
|
576
576
|
name: "my.own.prefixid"
|
|
@@ -580,7 +580,7 @@ sap.ui.define([
|
|
|
580
580
|
component: oComponent
|
|
581
581
|
}).placeAt("content");
|
|
582
582
|
|
|
583
|
-
|
|
583
|
+
await nextUIUpdate();
|
|
584
584
|
|
|
585
585
|
var oRootControl = oComponent.getRootControl();
|
|
586
586
|
assert.equal(oRootControl.getViewName(), "my.own.View", "The correct view is displayed!");
|
|
@@ -594,7 +594,7 @@ sap.ui.define([
|
|
|
594
594
|
|
|
595
595
|
});
|
|
596
596
|
|
|
597
|
-
QUnit.test("UIComponent check for prefixing view id (manifest first)", function(assert) {
|
|
597
|
+
QUnit.test("UIComponent check for prefixing view id (manifest first)", async function(assert) {
|
|
598
598
|
|
|
599
599
|
var oComponent = sap.ui.component({
|
|
600
600
|
manifestUrl: "/anylocation/mf1st/prefixid/manifest.json"
|
|
@@ -604,7 +604,7 @@ sap.ui.define([
|
|
|
604
604
|
component: oComponent
|
|
605
605
|
}).placeAt("content");
|
|
606
606
|
|
|
607
|
-
|
|
607
|
+
await nextUIUpdate();
|
|
608
608
|
|
|
609
609
|
var oRootControl = oComponent.getRootControl();
|
|
610
610
|
assert.equal(oRootControl.getViewName(), "my.own.View", "The correct view is displayed!");
|