@openui5/sap.ui.core 1.117.0 → 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/src/ui5loader.js +2 -2
- 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/_checkCoreAndLibraryBooted.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
|
@@ -15,8 +15,9 @@ sap.ui.define([
|
|
|
15
15
|
'sap/m/Panel',
|
|
16
16
|
'./AnyView.qunit',
|
|
17
17
|
'sap/ui/thirdparty/jquery',
|
|
18
|
-
"sap/ui/core/Configuration"
|
|
19
|
-
|
|
18
|
+
"sap/ui/core/Configuration",
|
|
19
|
+
"sap/ui/qunit/utils/nextUIUpdate"
|
|
20
|
+
], function(Log, ResourceBundle, coreLibrary, Controller, View, XMLView, RenderManager, JSONModel, ResourceModel, VerticalLayout, XMLHelper, Button, Panel, testsuite, jQuery, Configuration, nextUIUpdate) {
|
|
20
21
|
"use strict";
|
|
21
22
|
|
|
22
23
|
// shortcut for sap.ui.core.mvc.ViewType
|
|
@@ -254,18 +255,22 @@ sap.ui.define([
|
|
|
254
255
|
type: ViewType.XML,
|
|
255
256
|
async: true
|
|
256
257
|
}).placeAt('content');
|
|
257
|
-
sap.ui.getCore().applyChanges();
|
|
258
258
|
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
259
|
+
oView.onControllerConnected = async () => {
|
|
260
|
+
await nextUIUpdate();
|
|
261
|
+
|
|
262
|
+
// check that placeholder DOM is not marked for preservation
|
|
263
|
+
var oElemView = oView.getDomRef();
|
|
264
|
+
assert.ok(oElemView, "DOM for view must exist");
|
|
265
|
+
assert.ok(oElemView.getAttribute("data-sap-ui-preserve") == null, "DOM must not be marked as 'to be preserved' after construction but before afterInit");
|
|
266
|
+
return XMLView.prototype.onControllerConnected.apply(oView, arguments);
|
|
267
|
+
};
|
|
263
268
|
|
|
264
269
|
// wait for the async load to complete
|
|
265
|
-
oView.attachAfterInit(function() {
|
|
270
|
+
oView.attachAfterInit(async function() {
|
|
266
271
|
|
|
267
272
|
// ensure rendering
|
|
268
|
-
|
|
273
|
+
await nextUIUpdate();
|
|
269
274
|
|
|
270
275
|
// check that DOm now exists and that it is correctly marked for preservation
|
|
271
276
|
var oElemView = oView.getDomRef();
|
|
@@ -280,7 +285,7 @@ sap.ui.define([
|
|
|
280
285
|
|
|
281
286
|
// force a rerendering
|
|
282
287
|
oView.invalidate();
|
|
283
|
-
|
|
288
|
+
await nextUIUpdate();
|
|
284
289
|
|
|
285
290
|
// check that DOM has been preserved
|
|
286
291
|
var oPanel = oView.byId("myPanel");
|
|
@@ -298,10 +303,10 @@ sap.ui.define([
|
|
|
298
303
|
assert.ok(oSubViewDomRef.hasAttribute("data-sap-ui-preserve"), "Dom Element has the preserve attribute set");
|
|
299
304
|
|
|
300
305
|
// complete execution only in next tick as the controller code will execute further QUnit asserts in the current tick
|
|
301
|
-
setTimeout(function() {
|
|
302
|
-
done();
|
|
306
|
+
setTimeout(async function() {
|
|
303
307
|
oView.destroy();
|
|
304
|
-
|
|
308
|
+
await nextUIUpdate();
|
|
309
|
+
done();
|
|
305
310
|
});
|
|
306
311
|
});
|
|
307
312
|
});
|
|
@@ -311,12 +316,12 @@ sap.ui.define([
|
|
|
311
316
|
// load view, embed it in a Panel and force rendering
|
|
312
317
|
return XMLView.create({
|
|
313
318
|
viewName: 'example.mvc.test'
|
|
314
|
-
}).then(function(oView) {
|
|
319
|
+
}).then(async function(oView) {
|
|
315
320
|
var oPanel = new Panel({
|
|
316
321
|
text: "My View",
|
|
317
322
|
content: [oView]
|
|
318
323
|
}).placeAt('content');
|
|
319
|
-
|
|
324
|
+
await nextUIUpdate();
|
|
320
325
|
|
|
321
326
|
// check that DOM exists
|
|
322
327
|
var oElemViewBefore = oView.getDomRef();
|
|
@@ -386,7 +391,7 @@ sap.ui.define([
|
|
|
386
391
|
return XMLView.create({
|
|
387
392
|
id: "xmlview",
|
|
388
393
|
viewName: 'example.mvc.test'
|
|
389
|
-
}).then(function(oView) {
|
|
394
|
+
}).then(async function(oView) {
|
|
390
395
|
xmlview = oView;
|
|
391
396
|
|
|
392
397
|
var iLayoutRendered = 0;
|
|
@@ -405,17 +410,17 @@ sap.ui.define([
|
|
|
405
410
|
});
|
|
406
411
|
oLayout.placeAt('content');
|
|
407
412
|
|
|
408
|
-
|
|
413
|
+
await nextUIUpdate();
|
|
409
414
|
check(true, " (after initial rendering)");
|
|
410
415
|
assert.equal(1, iLayoutRendered, "layout initially should have been rendered once");
|
|
411
416
|
|
|
412
417
|
xmlview.setVisible(false);
|
|
413
|
-
|
|
418
|
+
await nextUIUpdate();
|
|
414
419
|
check(false, " (after becoming invisible)");
|
|
415
420
|
assert.equal(1, iLayoutRendered, "layout still should have been rendered only once (after making the xmlview invisible)");
|
|
416
421
|
|
|
417
422
|
xmlview.setVisible(true);
|
|
418
|
-
|
|
423
|
+
await nextUIUpdate();
|
|
419
424
|
check(true, " (after becoming visible again)");
|
|
420
425
|
assert.equal(1, iLayoutRendered, "layout still should have been rendered only once (after making the xmlview visible again)");
|
|
421
426
|
|
|
@@ -428,17 +433,17 @@ sap.ui.define([
|
|
|
428
433
|
// load and place view, force rendering
|
|
429
434
|
return XMLView.create({
|
|
430
435
|
viewName: "example.mvc.test"
|
|
431
|
-
}).then(function(oView) {
|
|
436
|
+
}).then(async function(oView) {
|
|
432
437
|
oView.placeAt("content");
|
|
433
438
|
var oPanel = oView.byId("myPanel");
|
|
434
|
-
|
|
439
|
+
await nextUIUpdate();
|
|
435
440
|
|
|
436
441
|
// panel should be visible and have normal control DOM
|
|
437
442
|
assert.ok(oPanel.getDomRef() && !isInPreservedArea(oPanel.getDomRef()), "panel rendered (and not part of the preserve area())");
|
|
438
443
|
|
|
439
444
|
// make only the panel invisible, force rendering
|
|
440
445
|
oPanel.setVisible(false);
|
|
441
|
-
|
|
446
|
+
await nextUIUpdate();
|
|
442
447
|
|
|
443
448
|
// there should be no more DOM for the panel, but an invisible placeholder
|
|
444
449
|
assert.notOk(oPanel.getDomRef(), "panel should be hidden");
|
|
@@ -446,7 +451,7 @@ sap.ui.define([
|
|
|
446
451
|
|
|
447
452
|
// hide the view
|
|
448
453
|
oView.setVisible(false);
|
|
449
|
-
|
|
454
|
+
await nextUIUpdate();
|
|
450
455
|
|
|
451
456
|
// this should move it to the preserve area with all child controls incl. the invisible placeholder
|
|
452
457
|
assert.ok(oView.getDomRef() && isPreserved(oView.getDomRef()), "view has DOM and DOM is in preserved area");
|
|
@@ -456,7 +461,7 @@ sap.ui.define([
|
|
|
456
461
|
// restore both, view and child control
|
|
457
462
|
oView.setVisible(true);
|
|
458
463
|
oPanel.setVisible(true);
|
|
459
|
-
|
|
464
|
+
await nextUIUpdate();
|
|
460
465
|
|
|
461
466
|
// both view and child should have DOM, should not be in the preserve area and should have no placeholders
|
|
462
467
|
assert.ok(oView.getDomRef() && !isPreserved(oView.getDomRef()), "view has DOM and DOM is no longer in preserved area");
|
|
@@ -469,9 +474,9 @@ sap.ui.define([
|
|
|
469
474
|
// now make view and child visible in two different renderings
|
|
470
475
|
oView.setVisible(false);
|
|
471
476
|
oPanel.setVisible(false);
|
|
472
|
-
|
|
477
|
+
await nextUIUpdate();
|
|
473
478
|
oView.setVisible(true);
|
|
474
|
-
|
|
479
|
+
await nextUIUpdate();
|
|
475
480
|
|
|
476
481
|
// invisible control should still be invisible and invisible placeholder still should exist
|
|
477
482
|
assert.ok(oView.getDomRef() && !isPreserved(oView.getDomRef()), "view has DOM and DOM is no longer in preserved area");
|
|
@@ -481,7 +486,7 @@ sap.ui.define([
|
|
|
481
486
|
|
|
482
487
|
// making the panel visible should also work
|
|
483
488
|
oPanel.setVisible(true);
|
|
484
|
-
|
|
489
|
+
await nextUIUpdate();
|
|
485
490
|
assert.ok(oPanel.getDomRef(), "panel rendered after making it visible");
|
|
486
491
|
assert.notOk(invisiblePlaceholder(oPanel), "invisible placeholder must not exist for visible panel");
|
|
487
492
|
assert.notOk(dummyPlaceholder(oPanel), "dummy placeholder must not exists for visible panel");
|
|
@@ -496,9 +501,9 @@ sap.ui.define([
|
|
|
496
501
|
// load and place view, force rendering
|
|
497
502
|
return XMLView.create({
|
|
498
503
|
viewName: 'example.mvc.test'
|
|
499
|
-
}).then(function(oView) {
|
|
504
|
+
}).then(async function(oView) {
|
|
500
505
|
oView.placeAt("content");
|
|
501
|
-
|
|
506
|
+
await nextUIUpdate();
|
|
502
507
|
|
|
503
508
|
var oDomRef = oView.getDomRef();
|
|
504
509
|
RenderManager.preserveContent(oDomRef, true);
|
|
@@ -516,9 +521,9 @@ sap.ui.define([
|
|
|
516
521
|
// load and place view, force rendering
|
|
517
522
|
return XMLView.create({
|
|
518
523
|
viewName: 'example.mvc.test'
|
|
519
|
-
}).then(function(oView) {
|
|
524
|
+
}).then(async function(oView) {
|
|
520
525
|
oView.placeAt("content");
|
|
521
|
-
|
|
526
|
+
await nextUIUpdate();
|
|
522
527
|
|
|
523
528
|
var oDomRef = oView.getDomRef();
|
|
524
529
|
|
|
@@ -573,9 +578,9 @@ sap.ui.define([
|
|
|
573
578
|
return XMLView.create({
|
|
574
579
|
id: "outer",
|
|
575
580
|
viewName: "nested.views.outer"
|
|
576
|
-
}).then(function(oView) {
|
|
581
|
+
}).then(async function(oView) {
|
|
577
582
|
oView.placeAt("content");
|
|
578
|
-
|
|
583
|
+
await nextUIUpdate();
|
|
579
584
|
|
|
580
585
|
expectedControls.forEach(function(sId) {
|
|
581
586
|
var oControl = sap.ui.getCore().byId(sId);
|
|
@@ -599,7 +604,7 @@ sap.ui.define([
|
|
|
599
604
|
|
|
600
605
|
// Act: force a re-rerendering of the outer view
|
|
601
606
|
oView.invalidate();
|
|
602
|
-
|
|
607
|
+
await nextUIUpdate();
|
|
603
608
|
|
|
604
609
|
// Assert: everythging has been rendered again
|
|
605
610
|
assert.equal(count, 101 * expectedControls.length, "all controls should have participated in the rendering");
|
|
@@ -647,9 +652,9 @@ sap.ui.define([
|
|
|
647
652
|
|
|
648
653
|
return XMLView.create({
|
|
649
654
|
definition: sXML
|
|
650
|
-
}).then(function (oView) {
|
|
655
|
+
}).then(async function (oView) {
|
|
651
656
|
oView.placeAt("content");
|
|
652
|
-
|
|
657
|
+
await nextUIUpdate();
|
|
653
658
|
|
|
654
659
|
var oButtonDomRef = oView.byId("Jenson").getDomRef();
|
|
655
660
|
assert.ok(oButtonDomRef.parentNode === oView.getDomRef(), "Button is a direct DOM child of the View.");
|
|
@@ -742,9 +747,9 @@ sap.ui.define([
|
|
|
742
747
|
return XMLView.create({
|
|
743
748
|
id: "view",
|
|
744
749
|
definition: xmlWithHTMLFragment
|
|
745
|
-
}).then(function(oView) {
|
|
750
|
+
}).then(async function(oView) {
|
|
746
751
|
oView.placeAt("content");
|
|
747
|
-
|
|
752
|
+
await nextUIUpdate();
|
|
748
753
|
return oView;
|
|
749
754
|
}).then(function(oView) {
|
|
750
755
|
assert.ok(jQuery("#view--valid1").length == 1, "DOM must contain view--valid1 element.");
|
|
@@ -940,9 +945,9 @@ sap.ui.define([
|
|
|
940
945
|
return XMLView.create({
|
|
941
946
|
id: "viewWithNamedAggregations",
|
|
942
947
|
definition: sXmlWithNamedAggregations
|
|
943
|
-
}).then(function(oView) {
|
|
948
|
+
}).then(async function(oView) {
|
|
944
949
|
oView.placeAt("content");
|
|
945
|
-
|
|
950
|
+
await nextUIUpdate();
|
|
946
951
|
|
|
947
952
|
assert.strictEqual(oView.getContent()[0].getId(),"viewWithNamedAggregations--contentButton", "viewWithNamedAggregations: The button was added correctly to content aggregation");
|
|
948
953
|
|
|
@@ -1,21 +1,16 @@
|
|
|
1
1
|
/*global QUnit, sinon */
|
|
2
2
|
sap.ui.define([
|
|
3
|
-
"sap/ui/model/json/JSONModel",
|
|
4
|
-
"sap/ui/core/mvc/View",
|
|
5
3
|
"sap/ui/core/mvc/Controller",
|
|
6
|
-
"sap/ui/core/UIArea",
|
|
7
4
|
"sap/ui/core/UIComponent",
|
|
8
5
|
'sap/ui/core/Component',
|
|
9
|
-
'sap/ui/core/ComponentContainer',
|
|
10
|
-
"sap/m/Label",
|
|
11
6
|
"sap/m/Panel",
|
|
12
7
|
"sap/m/HBox",
|
|
13
8
|
'sap/ui/core/qunit/mvc/viewprocessing/MyGlobal',
|
|
14
9
|
'sap/ui/base/SyncPromise',
|
|
15
10
|
"sap/ui/core/mvc/XMLView",
|
|
16
|
-
"sap/ui/core/
|
|
17
|
-
"sap/ui/
|
|
18
|
-
], function(
|
|
11
|
+
"sap/ui/core/StashedControlSupport",
|
|
12
|
+
"sap/ui/qunit/utils/nextUIUpdate"
|
|
13
|
+
], function(Controller, UIComponent, Component, Panel, HBox, MyGlobal, SyncPromise, XMLView, StashedControlSupport, nextUIUpdate) {
|
|
19
14
|
|
|
20
15
|
"use strict";
|
|
21
16
|
|
|
@@ -96,10 +91,10 @@ sap.ui.define([
|
|
|
96
91
|
});
|
|
97
92
|
this.viewFactory = testViewFactoryFn();
|
|
98
93
|
this._cleanup = [];
|
|
99
|
-
this.
|
|
94
|
+
this.render = async function(ctrl) {
|
|
100
95
|
this._cleanup.push(ctrl);
|
|
101
96
|
ctrl.placeAt("content");
|
|
102
|
-
|
|
97
|
+
await nextUIUpdate();
|
|
103
98
|
};
|
|
104
99
|
|
|
105
100
|
// create fake server for extension point manifests
|
|
@@ -133,8 +128,8 @@ sap.ui.define([
|
|
|
133
128
|
// view
|
|
134
129
|
var pView = this.viewFactory("myViewSimpleAggrs", "sap.ui.core.qunit.mvc.viewprocessing.ViewProcessingSimpleAggregations");
|
|
135
130
|
|
|
136
|
-
return pView.then(function(oView) {
|
|
137
|
-
this.
|
|
131
|
+
return pView.then(async function(oView) {
|
|
132
|
+
await this.render(
|
|
138
133
|
new HBox({
|
|
139
134
|
renderType: "Bare",
|
|
140
135
|
items: pView
|
|
@@ -170,8 +165,8 @@ sap.ui.define([
|
|
|
170
165
|
// view
|
|
171
166
|
var pView = this.viewFactory("myViewAggrs", "sap.ui.core.qunit.mvc.viewprocessing.ViewProcessingManyAggregations");
|
|
172
167
|
|
|
173
|
-
return pView.then(function(oView) {
|
|
174
|
-
this.
|
|
168
|
+
return pView.then(async function(oView) {
|
|
169
|
+
await this.render(
|
|
175
170
|
new HBox({
|
|
176
171
|
renderType: "Bare",
|
|
177
172
|
items: oView
|
|
@@ -232,8 +227,8 @@ sap.ui.define([
|
|
|
232
227
|
return oCtrl.getText();
|
|
233
228
|
};
|
|
234
229
|
|
|
235
|
-
return pView.then(function(oView) {
|
|
236
|
-
this.
|
|
230
|
+
return pView.then(async function(oView) {
|
|
231
|
+
await this.render(
|
|
237
232
|
new HBox({
|
|
238
233
|
renderType: "Bare",
|
|
239
234
|
items: oView
|
|
@@ -286,8 +281,8 @@ sap.ui.define([
|
|
|
286
281
|
// view
|
|
287
282
|
var pView = this.viewFactory("myViewWithController", "sap.ui.core.qunit.mvc.viewprocessing.ViewProcessing", oController);
|
|
288
283
|
|
|
289
|
-
pView.then(function (oView) {
|
|
290
|
-
this.
|
|
284
|
+
pView.then(async function (oView) {
|
|
285
|
+
await this.render(
|
|
291
286
|
new HBox({
|
|
292
287
|
renderType: "Bare",
|
|
293
288
|
items: oView
|
|
@@ -312,8 +307,8 @@ sap.ui.define([
|
|
|
312
307
|
// view
|
|
313
308
|
var pView = this.viewFactory("myViewBadControl", "sap.ui.core.qunit.mvc.viewprocessing.ViewProcessingBadControl");
|
|
314
309
|
|
|
315
|
-
return pView.then(function(oView) {
|
|
316
|
-
this.
|
|
310
|
+
return pView.then(async function(oView) {
|
|
311
|
+
await this.render(oView);
|
|
317
312
|
|
|
318
313
|
var myBadControl = oView.byId("myBadControl");
|
|
319
314
|
assert.ok(myBadControl, "BadControl is present within view");
|
|
@@ -1,20 +1,15 @@
|
|
|
1
1
|
/*global QUnit, sinon */
|
|
2
2
|
sap.ui.define([
|
|
3
|
-
"sap/ui/model/json/JSONModel",
|
|
4
|
-
"sap/ui/core/mvc/View",
|
|
5
|
-
"sap/ui/core/UIArea",
|
|
6
3
|
"sap/ui/core/UIComponent",
|
|
7
4
|
'sap/ui/core/Component',
|
|
8
|
-
'sap/ui/core/ComponentContainer',
|
|
9
|
-
"sap/m/Label",
|
|
10
5
|
"sap/m/Panel",
|
|
11
6
|
"sap/m/HBox",
|
|
12
7
|
'sap/ui/core/qunit/mvc/viewprocessing/MyGlobal',
|
|
13
8
|
'sap/ui/base/SyncPromise',
|
|
14
|
-
"sap/ui/core/mvc/XMLView",
|
|
15
9
|
"sap/ui/core/mvc/XMLProcessingMode",
|
|
16
|
-
"sap/ui/core/StashedControlSupport"
|
|
17
|
-
|
|
10
|
+
"sap/ui/core/StashedControlSupport",
|
|
11
|
+
"sap/ui/qunit/utils/nextUIUpdate"
|
|
12
|
+
], function(UIComponent, Component, Panel, HBox, MyGlobal, SyncPromise, XMLProcessingMode, StashedControlSupport, nextUIUpdate) {
|
|
18
13
|
|
|
19
14
|
"use strict";
|
|
20
15
|
|
|
@@ -93,10 +88,10 @@ sap.ui.define([
|
|
|
93
88
|
});
|
|
94
89
|
this.viewFactory = testViewFactoryFn(bAsyncView, sProcessingMode);
|
|
95
90
|
this._cleanup = [];
|
|
96
|
-
this.
|
|
91
|
+
this.render = async function(ctrl) {
|
|
97
92
|
this._cleanup.push(ctrl);
|
|
98
93
|
ctrl.placeAt("content");
|
|
99
|
-
|
|
94
|
+
await nextUIUpdate();
|
|
100
95
|
};
|
|
101
96
|
|
|
102
97
|
// create fake server for extension point manifests
|
|
@@ -126,7 +121,7 @@ sap.ui.define([
|
|
|
126
121
|
/**
|
|
127
122
|
* check that all aggregations are created in the correct order
|
|
128
123
|
*/
|
|
129
|
-
QUnit.test("Simple Aggregation order with async view", function(assert) {
|
|
124
|
+
QUnit.test("Simple Aggregation order with async view", async function(assert) {
|
|
130
125
|
|
|
131
126
|
// view
|
|
132
127
|
var oView = this.viewFactory("myViewSimpleAggrs", "sap.ui.core.qunit.mvc.viewprocessing.ViewProcessingSimpleAggregations");
|
|
@@ -153,7 +148,7 @@ sap.ui.define([
|
|
|
153
148
|
|
|
154
149
|
});
|
|
155
150
|
|
|
156
|
-
this.
|
|
151
|
+
await this.render(
|
|
157
152
|
new HBox({
|
|
158
153
|
renderType: "Bare",
|
|
159
154
|
items: oView
|
|
@@ -167,7 +162,7 @@ sap.ui.define([
|
|
|
167
162
|
/**
|
|
168
163
|
* check that all aggregations are created in the correct order
|
|
169
164
|
*/
|
|
170
|
-
QUnit.test("Aggregation order with async view", function(assert) {
|
|
165
|
+
QUnit.test("Aggregation order with async view", async function(assert) {
|
|
171
166
|
|
|
172
167
|
// view
|
|
173
168
|
var oView = this.viewFactory("myViewAggrs", "sap.ui.core.qunit.mvc.viewprocessing.ViewProcessingManyAggregations");
|
|
@@ -216,7 +211,7 @@ sap.ui.define([
|
|
|
216
211
|
|
|
217
212
|
});
|
|
218
213
|
|
|
219
|
-
this.
|
|
214
|
+
await this.render(
|
|
220
215
|
new HBox({
|
|
221
216
|
renderType: "Bare",
|
|
222
217
|
items: oView
|
|
@@ -230,7 +225,7 @@ sap.ui.define([
|
|
|
230
225
|
/**
|
|
231
226
|
* check that all aggregations are created in the correct order
|
|
232
227
|
*/
|
|
233
|
-
QUnit.test("ExtensionPoint with async view tests", function(assert) {
|
|
228
|
+
QUnit.test("ExtensionPoint with async view tests", async function(assert) {
|
|
234
229
|
|
|
235
230
|
// view
|
|
236
231
|
var oView = this.viewFactory("myViewEP", "sap.ui.core.qunit.mvc.viewprocessing.ViewProcessingExtensionPoint");
|
|
@@ -263,7 +258,7 @@ sap.ui.define([
|
|
|
263
258
|
|
|
264
259
|
});
|
|
265
260
|
|
|
266
|
-
this.
|
|
261
|
+
await this.render(
|
|
267
262
|
new HBox({
|
|
268
263
|
renderType: "Bare",
|
|
269
264
|
items: oView
|
|
@@ -277,7 +272,7 @@ sap.ui.define([
|
|
|
277
272
|
/**
|
|
278
273
|
* check that all events are properly called within controller and that the view is correctly connected
|
|
279
274
|
*/
|
|
280
|
-
QUnit.test("controller event test", function(assert) {
|
|
275
|
+
QUnit.test("controller event test", async function(assert) {
|
|
281
276
|
|
|
282
277
|
// controller
|
|
283
278
|
var oControllerImpl = testControllerImplFactory(assert, "sap.ui.core.qunit.mvc.viewprocessing.ViewProcessing");
|
|
@@ -304,7 +299,7 @@ sap.ui.define([
|
|
|
304
299
|
// view
|
|
305
300
|
var oView = this.viewFactory("myViewWithController", "sap.ui.core.qunit.mvc.viewprocessing.ViewProcessing", oController);
|
|
306
301
|
|
|
307
|
-
this.
|
|
302
|
+
await this.render(
|
|
308
303
|
new HBox({
|
|
309
304
|
renderType: "Bare",
|
|
310
305
|
items: oView
|
|
@@ -323,12 +318,12 @@ sap.ui.define([
|
|
|
323
318
|
/**
|
|
324
319
|
* Tests parsing of a control which is not properly defined (does not return its class)
|
|
325
320
|
*/
|
|
326
|
-
QUnit.test("Bad control processing", function(assert) {
|
|
321
|
+
QUnit.test("Bad control processing", async function(assert) {
|
|
327
322
|
|
|
328
323
|
// view
|
|
329
324
|
var oView = this.viewFactory("myViewBadControl", "sap.ui.core.qunit.mvc.viewprocessing.ViewProcessingBadControl");
|
|
330
325
|
|
|
331
|
-
this.
|
|
326
|
+
await this.render(oView);
|
|
332
327
|
|
|
333
328
|
return oView.loaded().then(function() {
|
|
334
329
|
var myBadControl = oView.byId("myBadControl");
|
|
@@ -460,7 +455,7 @@ sap.ui.define([
|
|
|
460
455
|
|
|
461
456
|
});
|
|
462
457
|
|
|
463
|
-
QUnit.test("Owner component setting for ExtensionPoints", function(assert) {
|
|
458
|
+
QUnit.test("Owner component setting for ExtensionPoints", async function(assert) {
|
|
464
459
|
var done = assert.async();
|
|
465
460
|
|
|
466
461
|
// responds changed parent manifest
|
|
@@ -537,20 +532,20 @@ sap.ui.define([
|
|
|
537
532
|
name:"sap.ui.core.qunit.mvc.viewprocessing.ExtensionPoints.Child"
|
|
538
533
|
}).then(function(oComponent) {
|
|
539
534
|
oComponent.getRootControl().loaded().then(function(oView) {
|
|
540
|
-
fnAssertions(oComponent, oView);
|
|
535
|
+
return fnAssertions(oComponent, oView);
|
|
541
536
|
});
|
|
542
537
|
});
|
|
543
538
|
} else {
|
|
544
539
|
var oComponent = sap.ui.component({
|
|
545
540
|
name:"sap.ui.core.qunit.mvc.viewprocessing.ExtensionPoints.Child"
|
|
546
541
|
});
|
|
547
|
-
|
|
542
|
+
await nextUIUpdate();
|
|
548
543
|
fnAssertions(oComponent, oComponent.getRootControl());
|
|
549
544
|
}
|
|
550
545
|
|
|
551
546
|
});
|
|
552
547
|
|
|
553
|
-
QUnit.test("Owner component setting for stashed control", function(assert) {
|
|
548
|
+
QUnit.test("Owner component setting for stashed control", async function(assert) {
|
|
554
549
|
var done = assert.async();
|
|
555
550
|
|
|
556
551
|
var sComponentName = "sap.ui.core.qunit.mvc.viewprocessing.StashedControl" + bAsyncView + sProcessingMode;
|
|
@@ -674,7 +669,7 @@ sap.ui.define([
|
|
|
674
669
|
manifest: oManifest,
|
|
675
670
|
async: false
|
|
676
671
|
});
|
|
677
|
-
|
|
672
|
+
await nextUIUpdate();
|
|
678
673
|
fnAssertions(oComponent, oComponent.getRootControl());
|
|
679
674
|
}
|
|
680
675
|
|
|
@@ -6,8 +6,9 @@ sap.ui.define([
|
|
|
6
6
|
"sap/ui/core/mvc/JSView",
|
|
7
7
|
"sap/ui/core/mvc/XMLView",
|
|
8
8
|
"sap/ui/core/mvc/HTMLView",
|
|
9
|
+
"sap/ui/qunit/utils/nextUIUpdate",
|
|
9
10
|
"sap/ui/thirdparty/jquery"
|
|
10
|
-
], function(ObjectPath, View, JSONView, JSView, XMLView, HTMLView, jQuery) {
|
|
11
|
+
], function(ObjectPath, View, JSONView, JSView, XMLView, HTMLView, nextUIUpdate, jQuery) {
|
|
11
12
|
"use strict";
|
|
12
13
|
|
|
13
14
|
// create content div
|
|
@@ -88,26 +89,26 @@ sap.ui.define([
|
|
|
88
89
|
assert.ok(sSource !== undefined, "View content was preloaded synchronously");
|
|
89
90
|
});
|
|
90
91
|
|
|
91
|
-
QUnit.test("Rendering - synchronous resource loading", function (assert) {
|
|
92
|
+
QUnit.test("Rendering - synchronous resource loading", async function (assert) {
|
|
92
93
|
assert.expect(3);
|
|
93
94
|
this.oView = fnFactory();
|
|
94
95
|
this.oView.placeAt("content");
|
|
95
|
-
|
|
96
|
+
await nextUIUpdate();
|
|
96
97
|
|
|
97
98
|
assert.ok(this.oView, "Instance has been created");
|
|
98
99
|
assert.ok(this.oView instanceof View, "Instance is a View");
|
|
99
100
|
assert.ok(this.oView.$().children().length, "View content was rendered synchronously");
|
|
100
101
|
});
|
|
101
102
|
|
|
102
|
-
QUnit.test("Rendering - asynchronous resource loading", function (assert) {
|
|
103
|
-
assert.expect(
|
|
103
|
+
QUnit.test("Rendering - asynchronous resource loading", async function (assert) {
|
|
104
|
+
assert.expect(4);
|
|
104
105
|
var done = assert.async();
|
|
105
106
|
this.oView = fnFactory(true); //true for async
|
|
106
107
|
|
|
107
108
|
// event attachement needs to be done immediately, otherwise the event may be fired beforehands
|
|
108
109
|
var that = this;
|
|
109
|
-
this.oView.attachAfterInit(function() {
|
|
110
|
-
|
|
110
|
+
this.oView.attachAfterInit(async function() {
|
|
111
|
+
await nextUIUpdate();
|
|
111
112
|
assert.ok(that.oView.$().children().length, "View content was rendered");
|
|
112
113
|
done();
|
|
113
114
|
});
|
|
@@ -116,10 +117,8 @@ sap.ui.define([
|
|
|
116
117
|
assert.ok(this.oView, "Instance has been created");
|
|
117
118
|
assert.ok(this.oView instanceof View, "Instance is a View");
|
|
118
119
|
|
|
119
|
-
|
|
120
|
-
assert.ok(
|
|
121
|
-
assert.ok(!this.oView.$().children().length, "View content is not rendered yet");
|
|
122
|
-
|
|
120
|
+
await nextUIUpdate();
|
|
121
|
+
assert.ok(that.oView.$().length, "View was rendered");
|
|
123
122
|
});
|
|
124
123
|
|
|
125
124
|
QUnit.test("Promise - loaded() for sync view", function(assert) {
|
|
@@ -7,8 +7,9 @@ sap.ui.define([
|
|
|
7
7
|
"sap/ui/core/mvc/JSView",
|
|
8
8
|
"sap/ui/core/mvc/XMLView",
|
|
9
9
|
"sap/ui/core/mvc/HTMLView",
|
|
10
|
-
"sap/ui/qunit/QUnitUtils"
|
|
11
|
-
|
|
10
|
+
"sap/ui/qunit/QUnitUtils",
|
|
11
|
+
"sap/ui/qunit/utils/nextUIUpdate"
|
|
12
|
+
], function(ObjectPath, Device, Controller, JSONView, JSView, XMLView, HTMLView, qutils, nextUIUpdate) {
|
|
12
13
|
"use strict";
|
|
13
14
|
|
|
14
15
|
// create content div
|
|
@@ -68,11 +69,11 @@ sap.ui.define([
|
|
|
68
69
|
window.onInitCalled = false;
|
|
69
70
|
});
|
|
70
71
|
|
|
71
|
-
QUnit.test("Lifecycle: onAfterRendering", function(assert) {
|
|
72
|
+
QUnit.test("Lifecycle: onAfterRendering", async function(assert) {
|
|
72
73
|
assert.expect(6);
|
|
73
74
|
window.onAfterRenderingCalled = false;
|
|
74
75
|
view.placeAt("content");
|
|
75
|
-
|
|
76
|
+
await nextUIUpdate();
|
|
76
77
|
|
|
77
78
|
function doCheck() {
|
|
78
79
|
assert.ok(window.onAfterRenderingCalled, "controller.onAfterRendering should be called by now");
|
|
@@ -156,12 +157,12 @@ sap.ui.define([
|
|
|
156
157
|
|
|
157
158
|
});
|
|
158
159
|
|
|
159
|
-
QUnit.test("Re-Rendering", function(assert) {
|
|
160
|
+
QUnit.test("Re-Rendering", async function(assert) {
|
|
160
161
|
assert.expect(5 + oConfig.idsToBeChecked.length);
|
|
161
162
|
window.onBeforeRenderingCalled = false;
|
|
162
163
|
window.onAfterRenderingCalled = false;
|
|
163
164
|
view.invalidate();
|
|
164
|
-
|
|
165
|
+
await nextUIUpdate();
|
|
165
166
|
|
|
166
167
|
function doCheck() {
|
|
167
168
|
for (var i = 0; i < oConfig.idsToBeChecked.length; i++) {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/*global QUnit */
|
|
2
2
|
sap.ui.define([
|
|
3
3
|
'sap/ui/core/library',
|
|
4
|
+
"sap/ui/qunit/utils/nextUIUpdate",
|
|
4
5
|
'./AnyView_legacyAPIs.qunit'
|
|
5
|
-
], function(coreLibrary, testsuite) {
|
|
6
|
+
], function(coreLibrary, nextUIUpdate, testsuite) {
|
|
6
7
|
"use strict";
|
|
7
8
|
|
|
8
9
|
var ViewType = coreLibrary.mvc.ViewType;
|
|
@@ -38,22 +39,22 @@ sap.ui.define([
|
|
|
38
39
|
|
|
39
40
|
QUnit.module("Custom Tests");
|
|
40
41
|
|
|
41
|
-
QUnit.test("Embedded HTML", function(assert) {
|
|
42
|
+
QUnit.test("Embedded HTML", async function(assert) {
|
|
42
43
|
assert.expect(13);
|
|
43
44
|
var oView = sap.ui.view({type:ViewType.HTML,viewName:"example.mvc_legacyAPIs.test", viewData:{test:"testdata"}});
|
|
44
45
|
oView.placeAt("content");
|
|
45
|
-
|
|
46
|
+
await nextUIUpdate();
|
|
46
47
|
assert.equal(document.getElementById("htmlRoot").innerHTML, "THIS IS A TEST" , "HTML at root level rendered");
|
|
47
48
|
assert.equal(document.getElementById("htmlNested").innerHTML, "NESTED WORKS AS WELL", "HTML at nested level rendered");
|
|
48
49
|
assert.ok(document.getElementById("htmlEmbeddedTable"), "HTML at embedded level rendered");
|
|
49
50
|
oView.destroy();
|
|
50
51
|
});
|
|
51
52
|
|
|
52
|
-
QUnit.test("Assocations", function(assert) {
|
|
53
|
+
QUnit.test("Assocations", async function(assert) {
|
|
53
54
|
assert.expect(13);
|
|
54
55
|
var oView = sap.ui.view({type:ViewType.HTML,viewName:"example.mvc_legacyAPIs.test", viewData:{test:"testdata"}});
|
|
55
56
|
oView.placeAt("content");
|
|
56
|
-
|
|
57
|
+
await nextUIUpdate();
|
|
57
58
|
var oLabel = oView.byId("MyLabel");
|
|
58
59
|
assert.equal(oLabel.getLabelFor(), oView.byId("message").getId(), "Assocation id is set right");
|
|
59
60
|
var oCombo = oView.byId("MyComboBox");
|
|
@@ -62,11 +63,11 @@ sap.ui.define([
|
|
|
62
63
|
oView.destroy();
|
|
63
64
|
});
|
|
64
65
|
|
|
65
|
-
QUnit.test("Custom Data", function(assert) {
|
|
66
|
+
QUnit.test("Custom Data", async function(assert) {
|
|
66
67
|
assert.expect(12);
|
|
67
68
|
var oView = sap.ui.view({type:ViewType.HTML,viewName:"example.mvc_legacyAPIs.test", viewData:{test:"testdata"}});
|
|
68
69
|
oView.placeAt("content");
|
|
69
|
-
|
|
70
|
+
await nextUIUpdate();
|
|
70
71
|
assert.equal(oView.byId("Button2").data("myData1"), "myvalue1", "Custom Data set properly");
|
|
71
72
|
assert.equal(oView.byId("Button2").data("myData2"), "formatted-value", "Custom Data Formatter works properly");
|
|
72
73
|
oView.destroy();
|