@openui5/sap.ui.core 1.123.1 → 1.124.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.
Files changed (811) hide show
  1. package/package.json +1 -1
  2. package/src/jquery.sap.global.js +1 -1
  3. package/src/jquery.sap.properties.js +1 -1
  4. package/src/jquery.sap.resources.js +1 -1
  5. package/src/jquery.sap.script.js +1 -1
  6. package/src/jquery.sap.storage.js +3 -3
  7. package/src/sap/base/Event.js +1 -1
  8. package/src/sap/base/Eventing.js +1 -1
  9. package/src/sap/base/config.js +1 -1
  10. package/src/sap/base/future.js +66 -6
  11. package/src/sap/base/i18n/LanguageTag.js +1 -1
  12. package/src/sap/base/i18n/date/TimezoneUtils.js +11 -5
  13. package/src/sap/base/util/LoaderExtensions.js +1 -5
  14. package/src/sap/base/util/Version.js +18 -12
  15. package/src/sap/base/util/defineCoupledProperty.js +4 -1
  16. package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
  17. package/src/sap/base/util/restricted/_castArray.js +1 -1
  18. package/src/sap/base/util/restricted/_compact.js +1 -1
  19. package/src/sap/base/util/restricted/_curry.js +1 -1
  20. package/src/sap/base/util/restricted/_debounce.js +1 -1
  21. package/src/sap/base/util/restricted/_difference.js +1 -1
  22. package/src/sap/base/util/restricted/_differenceBy.js +1 -1
  23. package/src/sap/base/util/restricted/_differenceWith.js +1 -1
  24. package/src/sap/base/util/restricted/_flatMap.js +1 -1
  25. package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
  26. package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
  27. package/src/sap/base/util/restricted/_flatten.js +1 -1
  28. package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
  29. package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
  30. package/src/sap/base/util/restricted/_intersection.js +1 -1
  31. package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
  32. package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
  33. package/src/sap/base/util/restricted/_isEqual.js +1 -1
  34. package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
  35. package/src/sap/base/util/restricted/_isNil.js +1 -1
  36. package/src/sap/base/util/restricted/_max.js +1 -1
  37. package/src/sap/base/util/restricted/_merge.js +1 -1
  38. package/src/sap/base/util/restricted/_mergeWith.js +1 -1
  39. package/src/sap/base/util/restricted/_min.js +1 -1
  40. package/src/sap/base/util/restricted/_omit.js +1 -1
  41. package/src/sap/base/util/restricted/_pick.js +1 -1
  42. package/src/sap/base/util/restricted/_pickBy.js +1 -1
  43. package/src/sap/base/util/restricted/_throttle.js +1 -1
  44. package/src/sap/base/util/restricted/_toArray.js +1 -1
  45. package/src/sap/base/util/restricted/_union.js +1 -1
  46. package/src/sap/base/util/restricted/_unionBy.js +1 -1
  47. package/src/sap/base/util/restricted/_unionWith.js +1 -1
  48. package/src/sap/base/util/restricted/_uniq.js +1 -1
  49. package/src/sap/base/util/restricted/_uniqBy.js +1 -1
  50. package/src/sap/base/util/restricted/_uniqWith.js +1 -1
  51. package/src/sap/base/util/restricted/_without.js +1 -1
  52. package/src/sap/base/util/restricted/_xor.js +1 -1
  53. package/src/sap/base/util/restricted/_xorBy.js +1 -1
  54. package/src/sap/base/util/restricted/_xorWith.js +1 -1
  55. package/src/sap/base/util/restricted/_zipObject.js +1 -1
  56. package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
  57. package/src/sap/ui/Device.js +3 -3
  58. package/src/sap/ui/Global.js +4 -4
  59. package/src/sap/ui/base/Event.js +1 -1
  60. package/src/sap/ui/base/EventProvider.js +1 -2
  61. package/src/sap/ui/base/Interface.js +1 -1
  62. package/src/sap/ui/base/ManagedObject.js +2 -2
  63. package/src/sap/ui/base/ManagedObjectMetadata.js +1 -1
  64. package/src/sap/ui/base/Metadata.js +26 -2
  65. package/src/sap/ui/base/Object.js +1 -1
  66. package/src/sap/ui/base/ObjectPool.js +1 -1
  67. package/src/sap/ui/core/.library +3 -3
  68. package/src/sap/ui/core/BusyIndicator.js +1 -1
  69. package/src/sap/ui/core/Component.js +53 -74
  70. package/src/sap/ui/core/ComponentContainer.js +1 -1
  71. package/src/sap/ui/core/ComponentMetadata.js +33 -21
  72. package/src/sap/ui/core/ComponentSupport.js +4 -4
  73. package/src/sap/ui/core/Configuration.js +1 -1
  74. package/src/sap/ui/core/Control.js +1 -1
  75. package/src/sap/ui/core/Core.js +1 -1
  76. package/src/sap/ui/core/CustomData.js +1 -1
  77. package/src/sap/ui/core/DeclarativeSupport.js +1 -1
  78. package/src/sap/ui/core/Element.js +37 -12
  79. package/src/sap/ui/core/ElementMetadata.js +1 -1
  80. package/src/sap/ui/core/EnabledPropagator.js +1 -1
  81. package/src/sap/ui/core/EventBus.js +1 -1
  82. package/src/sap/ui/core/ExtensionPoint.js +4 -2
  83. package/src/sap/ui/core/Fragment.js +2 -2
  84. package/src/sap/ui/core/HTML.js +1 -1
  85. package/src/sap/ui/core/History.js +1 -1
  86. package/src/sap/ui/core/Icon.js +1 -1
  87. package/src/sap/ui/core/IndicationColorSupport.js +1 -1
  88. package/src/sap/ui/core/IntervalTrigger.js +1 -1
  89. package/src/sap/ui/core/InvisibleMessage.js +1 -1
  90. package/src/sap/ui/core/InvisibleRenderer.js +1 -1
  91. package/src/sap/ui/core/InvisibleText.js +1 -1
  92. package/src/sap/ui/core/Item.js +1 -1
  93. package/src/sap/ui/core/LabelEnablement.js +88 -28
  94. package/src/sap/ui/core/LayoutData.js +1 -1
  95. package/src/sap/ui/core/Lib.js +36 -11
  96. package/src/sap/ui/core/ListItem.js +1 -1
  97. package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
  98. package/src/sap/ui/core/Locale.js +1 -1
  99. package/src/sap/ui/core/LocaleData.js +1 -1
  100. package/src/sap/ui/core/Manifest.js +44 -21
  101. package/src/sap/ui/core/Message.js +1 -1
  102. package/src/sap/ui/core/Popup.js +5 -1
  103. package/src/sap/ui/core/RenderManager.js +1 -1
  104. package/src/sap/ui/core/Renderer.js +1 -1
  105. package/src/sap/ui/core/ResizeHandler.js +1 -1
  106. package/src/sap/ui/core/ScrollBar.js +1 -1
  107. package/src/sap/ui/core/SeparatorItem.js +1 -1
  108. package/src/sap/ui/core/Title.js +1 -1
  109. package/src/sap/ui/core/TooltipBase.js +1 -1
  110. package/src/sap/ui/core/UIArea.js +1 -1
  111. package/src/sap/ui/core/UIComponent.js +94 -42
  112. package/src/sap/ui/core/UIComponentMetadata.js +5 -1
  113. package/src/sap/ui/core/ValueStateSupport.js +1 -1
  114. package/src/sap/ui/core/VariantLayoutData.js +1 -1
  115. package/src/sap/ui/core/XMLComposite.js +1 -1
  116. package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
  117. package/src/sap/ui/core/XMLTemplateProcessor.js +23 -12
  118. package/src/sap/ui/core/date/UI5Date.js +1 -1
  119. package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
  120. package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
  121. package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
  122. package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
  123. package/src/sap/ui/core/dnd/DragInfo.js +1 -1
  124. package/src/sap/ui/core/dnd/DropInfo.js +1 -1
  125. package/src/sap/ui/core/format/FormatUtils.js +1 -1
  126. package/src/sap/ui/core/format/NumberFormat.js +1 -1
  127. package/src/sap/ui/core/format/TimezoneUtil.js +86 -10
  128. package/src/sap/ui/core/getCompatibilityVersion.js +1 -1
  129. package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
  130. package/src/sap/ui/core/library.js +3 -3
  131. package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
  132. package/src/sap/ui/core/message/Message.js +1 -1
  133. package/src/sap/ui/core/message/MessageManager.js +1 -1
  134. package/src/sap/ui/core/message/MessageParser.js +1 -1
  135. package/src/sap/ui/core/message/MessageProcessor.js +1 -1
  136. package/src/sap/ui/core/messagebundle_sh.properties +65 -65
  137. package/src/sap/ui/core/mvc/Controller.js +2 -2
  138. package/src/sap/ui/core/mvc/ControllerExtensionProvider.js +2 -0
  139. package/src/sap/ui/core/mvc/EventHandlerResolver.js +1 -1
  140. package/src/sap/ui/core/mvc/HTMLView.js +1 -1
  141. package/src/sap/ui/core/mvc/JSONView.js +1 -1
  142. package/src/sap/ui/core/mvc/JSView.js +1 -1
  143. package/src/sap/ui/core/mvc/TemplateView.js +1 -1
  144. package/src/sap/ui/core/mvc/View.js +12 -3
  145. package/src/sap/ui/core/mvc/XMLView.js +7 -2
  146. package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
  147. package/src/sap/ui/core/plugin/LessSupport.js +1 -1
  148. package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
  149. package/src/sap/ui/core/postmessage/Bus.js +1 -1
  150. package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
  151. package/src/sap/ui/core/routing/Targets.js +1 -1
  152. package/src/sap/ui/core/rules/App.support.js +11 -11
  153. package/src/sap/ui/core/rules/CoreHelper.support.js +3 -3
  154. package/src/sap/ui/core/rules/Theming.support.js +3 -3
  155. package/src/sap/ui/core/search/OpenSearchProvider.js +1 -1
  156. package/src/sap/ui/core/search/SearchProvider.js +1 -1
  157. package/src/sap/ui/core/service/Service.js +1 -1
  158. package/src/sap/ui/core/service/ServiceFactory.js +1 -1
  159. package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
  160. package/src/sap/ui/core/support/Plugin.js +1 -1
  161. package/src/sap/ui/core/support/Support.js +1 -1
  162. package/src/sap/ui/core/support/plugins/ControlTree.js +1 -1
  163. package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
  164. package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
  165. package/src/sap/ui/core/support/plugins/Performance.js +1 -1
  166. package/src/sap/ui/core/support/plugins/Selector.js +1 -1
  167. package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
  168. package/src/sap/ui/core/support/plugins/Trace.js +1 -1
  169. package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
  170. package/src/sap/ui/core/support/techinfo/moduleTreeHelper.js +1 -1
  171. package/src/sap/ui/core/theming/Parameters.js +21 -25
  172. package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
  173. package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
  174. package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
  175. package/src/sap/ui/core/tmpl/Template.js +1 -1
  176. package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
  177. package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
  178. package/src/sap/ui/core/util/Export.js +1 -1
  179. package/src/sap/ui/core/util/ExportCell.js +1 -1
  180. package/src/sap/ui/core/util/ExportColumn.js +1 -1
  181. package/src/sap/ui/core/util/ExportRow.js +1 -1
  182. package/src/sap/ui/core/util/ExportType.js +1 -1
  183. package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
  184. package/src/sap/ui/core/util/File.js +1 -1
  185. package/src/sap/ui/core/util/LibraryInfo.js +1 -1
  186. package/src/sap/ui/core/util/MockServer.js +1 -1
  187. package/src/sap/ui/core/util/PasteHelper.js +1 -1
  188. package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
  189. package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
  190. package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
  191. package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
  192. package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
  193. package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
  194. package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
  195. package/src/sap/ui/core/webc/WebComponent.js +1 -1
  196. package/src/sap/ui/core/webc/WebComponentMetadata.js +1 -1
  197. package/src/sap/ui/core/ws/ReadyState.js +1 -1
  198. package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
  199. package/src/sap/ui/core/ws/WebSocket.js +1 -1
  200. package/src/sap/ui/debug/ControlTree.js +1 -1
  201. package/src/sap/ui/debug/DebugEnv.js +1 -1
  202. package/src/sap/ui/debug/PropertyList.js +1 -1
  203. package/src/sap/ui/model/ClientModel.js +1 -1
  204. package/src/sap/ui/model/ClientTreeBindingAdapter.js +7 -5
  205. package/src/sap/ui/model/CompositeBinding.js +9 -3
  206. package/src/sap/ui/model/CompositeDataState.js +1 -1
  207. package/src/sap/ui/model/CompositeType.js +1 -1
  208. package/src/sap/ui/model/Context.js +26 -2
  209. package/src/sap/ui/model/DataState.js +1 -1
  210. package/src/sap/ui/model/MetaModel.js +1 -1
  211. package/src/sap/ui/model/Model.js +1 -1
  212. package/src/sap/ui/model/PropertyBinding.js +113 -35
  213. package/src/sap/ui/model/SelectionModel.js +1 -1
  214. package/src/sap/ui/model/SimpleType.js +1 -1
  215. package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
  216. package/src/sap/ui/model/TreeBindingAdapter.js +5 -5
  217. package/src/sap/ui/model/TreeBindingCompatibilityAdapter.js +6 -6
  218. package/src/sap/ui/model/Type.js +1 -1
  219. package/src/sap/ui/model/analytics/AnalyticalBinding.js +2 -0
  220. package/src/sap/ui/model/json/JSONModel.js +1 -1
  221. package/src/sap/ui/model/message/MessageModel.js +1 -1
  222. package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
  223. package/src/sap/ui/model/odata/ODataMessageParser.js +3 -5
  224. package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
  225. package/src/sap/ui/model/odata/ODataMetadata.js +1 -1
  226. package/src/sap/ui/model/odata/ODataModel.js +1 -1
  227. package/src/sap/ui/model/odata/type/Boolean.js +1 -1
  228. package/src/sap/ui/model/odata/type/Byte.js +1 -1
  229. package/src/sap/ui/model/odata/type/Currency.js +24 -1
  230. package/src/sap/ui/model/odata/type/Date.js +1 -1
  231. package/src/sap/ui/model/odata/type/DateTime.js +1 -1
  232. package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
  233. package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
  234. package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -1
  235. package/src/sap/ui/model/odata/type/Decimal.js +1 -1
  236. package/src/sap/ui/model/odata/type/Double.js +1 -1
  237. package/src/sap/ui/model/odata/type/Guid.js +1 -1
  238. package/src/sap/ui/model/odata/type/Int.js +1 -1
  239. package/src/sap/ui/model/odata/type/Int16.js +1 -1
  240. package/src/sap/ui/model/odata/type/Int32.js +1 -1
  241. package/src/sap/ui/model/odata/type/Int64.js +1 -1
  242. package/src/sap/ui/model/odata/type/ODataType.js +1 -1
  243. package/src/sap/ui/model/odata/type/Raw.js +1 -1
  244. package/src/sap/ui/model/odata/type/SByte.js +1 -1
  245. package/src/sap/ui/model/odata/type/Single.js +1 -1
  246. package/src/sap/ui/model/odata/type/Stream.js +1 -1
  247. package/src/sap/ui/model/odata/type/String.js +1 -1
  248. package/src/sap/ui/model/odata/type/Time.js +1 -1
  249. package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
  250. package/src/sap/ui/model/odata/type/Unit.js +24 -1
  251. package/src/sap/ui/model/odata/v2/Context.js +1 -1
  252. package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
  253. package/src/sap/ui/model/odata/v2/ODataModel.js +6 -9
  254. package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +1 -1
  255. package/src/sap/ui/model/odata/v4/Context.js +73 -48
  256. package/src/sap/ui/model/odata/v4/ODataBinding.js +4 -2
  257. package/src/sap/ui/model/odata/v4/ODataContextBinding.js +1 -1
  258. package/src/sap/ui/model/odata/v4/ODataListBinding.js +160 -94
  259. package/src/sap/ui/model/odata/v4/ODataMetaModel.js +1 -1
  260. package/src/sap/ui/model/odata/v4/ODataModel.js +8 -5
  261. package/src/sap/ui/model/odata/v4/ODataParentBinding.js +5 -2
  262. package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +1 -1
  263. package/src/sap/ui/model/odata/v4/lib/_AggregationCache.js +202 -177
  264. package/src/sap/ui/model/odata/v4/lib/_AggregationHelper.js +9 -3
  265. package/src/sap/ui/model/odata/v4/lib/_Cache.js +7 -13
  266. package/src/sap/ui/model/odata/v4/lib/_Requestor.js +6 -3
  267. package/src/sap/ui/model/odata/v4/lib/_TreeState.js +35 -1
  268. package/src/sap/ui/model/resource/ResourceModel.js +1 -1
  269. package/src/sap/ui/model/type/Boolean.js +1 -1
  270. package/src/sap/ui/model/type/Currency.js +1 -1
  271. package/src/sap/ui/model/type/Date.js +1 -1
  272. package/src/sap/ui/model/type/DateInterval.js +1 -1
  273. package/src/sap/ui/model/type/DateTime.js +1 -1
  274. package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
  275. package/src/sap/ui/model/type/FileSize.js +1 -1
  276. package/src/sap/ui/model/type/Float.js +1 -1
  277. package/src/sap/ui/model/type/Integer.js +1 -1
  278. package/src/sap/ui/model/type/String.js +1 -1
  279. package/src/sap/ui/model/type/Time.js +1 -1
  280. package/src/sap/ui/model/type/TimeInterval.js +1 -1
  281. package/src/sap/ui/model/type/Unit.js +1 -1
  282. package/src/sap/ui/model/xml/XMLModel.js +1 -1
  283. package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
  284. package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
  285. package/src/sap/ui/test/ModuleTracking.js +1 -2
  286. package/src/sap/ui/test/autowaiter/_navigationContainerWaiter.js +96 -7
  287. package/src/sap/ui/test/generic/TestBase.js +1 -1
  288. package/src/sap/ui/test/gherkin/opa5TestHarness.js +0 -1
  289. package/src/sap/ui/test/gherkin/qUnitTestHarness.js +0 -1
  290. package/src/sap/ui/test/starter/_utils.js +27 -1
  291. package/src/sap/ui/test/starter/createSuite.js +2 -5
  292. package/src/sap/ui/thirdparty/caja-html-sanitizer.js +1 -1
  293. package/src/sap/ui/thirdparty/jqueryui/jquery-effects-blind.js +4 -0
  294. package/src/sap/ui/thirdparty/jqueryui/jquery-effects-bounce.js +4 -0
  295. package/src/sap/ui/thirdparty/jqueryui/jquery-effects-clip.js +4 -0
  296. package/src/sap/ui/thirdparty/jqueryui/jquery-effects-core.js +4 -0
  297. package/src/sap/ui/thirdparty/jqueryui/jquery-effects-drop.js +4 -0
  298. package/src/sap/ui/thirdparty/jqueryui/jquery-effects-explode.js +4 -0
  299. package/src/sap/ui/thirdparty/jqueryui/jquery-effects-fade.js +4 -0
  300. package/src/sap/ui/thirdparty/jqueryui/jquery-effects-fold.js +4 -0
  301. package/src/sap/ui/thirdparty/jqueryui/jquery-effects-highlight.js +4 -0
  302. package/src/sap/ui/thirdparty/jqueryui/jquery-effects-pulsate.js +4 -0
  303. package/src/sap/ui/thirdparty/jqueryui/jquery-effects-scale.js +4 -0
  304. package/src/sap/ui/thirdparty/jqueryui/jquery-effects-shake.js +4 -0
  305. package/src/sap/ui/thirdparty/jqueryui/jquery-effects-slide.js +4 -0
  306. package/src/sap/ui/thirdparty/jqueryui/jquery-effects-transfer.js +4 -0
  307. package/src/sap/ui/util/Storage.js +1 -1
  308. package/src/ui5loader.js +11 -5
  309. package/test/sap/ui/core/demokit/sample/FieldGroup/Page.view.xml +1 -1
  310. package/test/sap/ui/core/demokit/sample/Messaging/ODataBackendMessagesComp/ui5.yaml +1 -1
  311. package/test/sap/ui/core/demokit/sample/Messaging/ODataBackendMessagesComp/webapp/view/Employee.view.xml +0 -1
  312. package/test/sap/ui/core/demokit/sample/TypeCurrency/Component.js +1 -0
  313. package/test/sap/ui/core/demokit/sample/TypeCurrency/manifest.json +1 -2
  314. package/test/sap/ui/core/demokit/sample/TypeDateAsDate/Component.js +1 -0
  315. package/test/sap/ui/core/demokit/sample/TypeDateAsDate/manifest.json +1 -2
  316. package/test/sap/ui/core/demokit/sample/TypeDateAsString/Component.js +1 -0
  317. package/test/sap/ui/core/demokit/sample/TypeDateAsString/manifest.json +1 -2
  318. package/test/sap/ui/core/demokit/sample/TypeDateTime/Component.js +1 -0
  319. package/test/sap/ui/core/demokit/sample/TypeDateTime/manifest.json +1 -2
  320. package/test/sap/ui/core/demokit/sample/TypeFileSize/Component.js +1 -0
  321. package/test/sap/ui/core/demokit/sample/TypeFileSize/manifest.json +1 -2
  322. package/test/sap/ui/core/demokit/sample/TypeFloat/Component.js +1 -0
  323. package/test/sap/ui/core/demokit/sample/TypeFloat/manifest.json +1 -2
  324. package/test/sap/ui/core/demokit/sample/TypeInteger/Component.js +1 -0
  325. package/test/sap/ui/core/demokit/sample/TypeInteger/manifest.json +1 -2
  326. package/test/sap/ui/core/demokit/sample/TypeTimeAsTime/Component.js +1 -0
  327. package/test/sap/ui/core/demokit/sample/TypeTimeAsTime/manifest.json +1 -2
  328. package/test/sap/ui/core/demokit/sample/ViewTemplate/types/Opa.qunit.js +3 -3
  329. package/test/sap/ui/core/demokit/sample/ViewTemplate/types/TemplateV2.view.xml +3 -2
  330. package/test/sap/ui/core/demokit/sample/matcher/BindingPath/ui5.yaml +1 -1
  331. package/test/sap/ui/core/demokit/sample/matcher/Descendant/ui5.yaml +1 -1
  332. package/test/sap/ui/core/demokit/sample/matcher/I18NText/ui5.yaml +1 -1
  333. package/test/sap/ui/core/demokit/sample/matcher/LabelFor/ui5.yaml +1 -1
  334. package/test/sap/ui/core/demokit/sample/matcher/LabelFor/webapp/view/Main.view.xml +0 -1
  335. package/test/sap/ui/core/demokit/sample/odata/v4/Draft/Error.view.xml +1 -1
  336. package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/Main.controller.js +30 -7
  337. package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/Main.view.xml +28 -4
  338. package/test/sap/ui/core/demokit/sample/odata/v4/HierarchyBindAction/data/metadata.xml +38 -52
  339. package/test/sap/ui/core/demokit/sample/odata/v4/MultipleInlineCreationRowsGrid/Main.controller.js +13 -13
  340. package/test/sap/ui/core/demokit/sample/odata/v4/MultipleInlineCreationRowsGrid/Opa.qunit.js +2 -4
  341. package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/Component.js +3 -3
  342. package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/Main.controller.js +2 -3
  343. package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/tests/MessageHandling.js +3 -3
  344. package/test/sap/ui/core/demokit/sample/odata/v4/SalesOrders/tests/additionalTargets.js +3 -3
  345. package/test/sap/ui/core/demokit/tutorial/databinding/01/ui5.yaml +1 -1
  346. package/test/sap/ui/core/demokit/tutorial/databinding/02/ui5.yaml +1 -1
  347. package/test/sap/ui/core/demokit/tutorial/databinding/03/ui5.yaml +1 -1
  348. package/test/sap/ui/core/demokit/tutorial/databinding/04/ui5.yaml +1 -1
  349. package/test/sap/ui/core/demokit/tutorial/databinding/05/ui5.yaml +1 -1
  350. package/test/sap/ui/core/demokit/tutorial/databinding/06/ui5.yaml +1 -1
  351. package/test/sap/ui/core/demokit/tutorial/databinding/07/ui5.yaml +1 -1
  352. package/test/sap/ui/core/demokit/tutorial/databinding/08/ui5.yaml +1 -1
  353. package/test/sap/ui/core/demokit/tutorial/databinding/09/ui5.yaml +1 -1
  354. package/test/sap/ui/core/demokit/tutorial/databinding/10/ui5.yaml +1 -1
  355. package/test/sap/ui/core/demokit/tutorial/databinding/11/ui5.yaml +1 -1
  356. package/test/sap/ui/core/demokit/tutorial/databinding/12/ui5.yaml +1 -1
  357. package/test/sap/ui/core/demokit/tutorial/databinding/13/ui5.yaml +1 -1
  358. package/test/sap/ui/core/demokit/tutorial/databinding/14/ui5.yaml +1 -1
  359. package/test/sap/ui/core/demokit/tutorial/databinding/15/ui5.yaml +1 -1
  360. package/test/sap/ui/core/demokit/tutorial/mockserver/01/package.json +3 -0
  361. package/test/sap/ui/core/demokit/tutorial/mockserver/01/ui5.yaml +1 -1
  362. package/test/sap/ui/core/demokit/tutorial/mockserver/01/webapp/Component.js +1 -0
  363. package/test/sap/ui/core/demokit/tutorial/mockserver/01/webapp/test/mockServer.html +1 -1
  364. package/test/sap/ui/core/demokit/tutorial/mockserver/02/package.json +3 -0
  365. package/test/sap/ui/core/demokit/tutorial/mockserver/02/ui5.yaml +1 -1
  366. package/test/sap/ui/core/demokit/tutorial/mockserver/02/webapp/Component.js +1 -0
  367. package/test/sap/ui/core/demokit/tutorial/mockserver/02/webapp/test/mockServer.html +1 -1
  368. package/test/sap/ui/core/demokit/tutorial/mockserver/03/package.json +3 -0
  369. package/test/sap/ui/core/demokit/tutorial/mockserver/03/ui5.yaml +1 -1
  370. package/test/sap/ui/core/demokit/tutorial/mockserver/03/webapp/Component.js +1 -0
  371. package/test/sap/ui/core/demokit/tutorial/mockserver/03/webapp/test/mockServer.html +1 -1
  372. package/test/sap/ui/core/demokit/tutorial/mockserver/04/package.json +3 -0
  373. package/test/sap/ui/core/demokit/tutorial/mockserver/04/ui5.yaml +1 -1
  374. package/test/sap/ui/core/demokit/tutorial/mockserver/04/webapp/Component.js +1 -0
  375. package/test/sap/ui/core/demokit/tutorial/mockserver/04/webapp/test/mockServer.html +1 -1
  376. package/test/sap/ui/core/demokit/tutorial/navigation/01/ui5.yaml +1 -1
  377. package/test/sap/ui/core/demokit/tutorial/navigation/02/ui5.yaml +1 -1
  378. package/test/sap/ui/core/demokit/tutorial/navigation/03/ui5.yaml +1 -1
  379. package/test/sap/ui/core/demokit/tutorial/navigation/04/ui5.yaml +1 -1
  380. package/test/sap/ui/core/demokit/tutorial/navigation/05/ui5.yaml +1 -1
  381. package/test/sap/ui/core/demokit/tutorial/navigation/06/ui5.yaml +1 -1
  382. package/test/sap/ui/core/demokit/tutorial/navigation/07/ui5.yaml +1 -1
  383. package/test/sap/ui/core/demokit/tutorial/navigation/08/ui5.yaml +1 -1
  384. package/test/sap/ui/core/demokit/tutorial/navigation/09/ui5.yaml +1 -1
  385. package/test/sap/ui/core/demokit/tutorial/navigation/10/ui5.yaml +1 -1
  386. package/test/sap/ui/core/demokit/tutorial/navigation/11/ui5.yaml +1 -1
  387. package/test/sap/ui/core/demokit/tutorial/navigation/12/ui5.yaml +1 -1
  388. package/test/sap/ui/core/demokit/tutorial/navigation/13/ui5.yaml +1 -1
  389. package/test/sap/ui/core/demokit/tutorial/navigation/14/ui5.yaml +1 -1
  390. package/test/sap/ui/core/demokit/tutorial/navigation/15/ui5.yaml +1 -1
  391. package/test/sap/ui/core/demokit/tutorial/navigation/16/ui5.yaml +1 -1
  392. package/test/sap/ui/core/demokit/tutorial/navigation/17/ui5.yaml +1 -1
  393. package/test/sap/ui/core/demokit/tutorial/odatav4/01/ui5.yaml +1 -1
  394. package/test/sap/ui/core/demokit/tutorial/odatav4/02/ui5.yaml +1 -1
  395. package/test/sap/ui/core/demokit/tutorial/odatav4/03/ui5.yaml +1 -1
  396. package/test/sap/ui/core/demokit/tutorial/odatav4/04/ui5.yaml +1 -1
  397. package/test/sap/ui/core/demokit/tutorial/odatav4/05/ui5.yaml +1 -1
  398. package/test/sap/ui/core/demokit/tutorial/odatav4/06/ui5.yaml +1 -1
  399. package/test/sap/ui/core/demokit/tutorial/odatav4/07/ui5.yaml +1 -1
  400. package/test/sap/ui/core/demokit/tutorial/odatav4/08/ui5.yaml +1 -1
  401. package/test/sap/ui/core/demokit/tutorial/odatav4/09/ui5.yaml +1 -1
  402. package/test/sap/ui/core/demokit/tutorial/odatav4/10/ui5.yaml +1 -1
  403. package/test/sap/ui/core/demokit/tutorial/odatav4/11/ui5.yaml +1 -1
  404. package/test/sap/ui/core/demokit/tutorial/troubleshooting/01/ui5.yaml +1 -1
  405. package/test/sap/ui/core/demokit/tutorial/troubleshooting/01/webapp/controller/App.controller.js +2 -3
  406. package/test/sap/ui/core/internal/samples/odata/v2/SalesOrders/Component.js +3 -4
  407. package/test/sap/ui/core/internal/samples/odata/v2/SalesOrders/Main.controller.js +4 -5
  408. package/test/sap/ui/core/qunit/BindingParser.qunit.js +68 -5
  409. package/test/sap/ui/core/qunit/CacheManager.qunit.js +2 -2
  410. package/test/sap/ui/core/qunit/CommandExecution.qunit.js +1 -1
  411. package/test/sap/ui/core/qunit/CompositeBinding.qunit.js +173 -7
  412. package/test/sap/ui/core/qunit/Core.qunit.js +92 -65
  413. package/test/sap/ui/core/qunit/CustomStyleClassSupport.qunit.js +8 -6
  414. package/test/sap/ui/core/qunit/Element_closestTo.qunit.js +26 -5
  415. package/test/sap/ui/core/qunit/Element_data.qunit.js +86 -3
  416. package/test/sap/ui/core/qunit/Fragment.qunit.js +1 -1
  417. package/test/sap/ui/core/qunit/HTML.qunit.js +13 -0
  418. package/test/sap/ui/core/qunit/Lib.qunit.js +160 -42
  419. package/test/sap/ui/core/qunit/ManagedObjectModel.qunit.js +2 -2
  420. package/test/sap/ui/core/qunit/ThemeManager.qunit.js +1 -0
  421. package/test/sap/ui/core/qunit/ThemeParameters.qunit.js +63 -4
  422. package/test/sap/ui/core/qunit/analytics/AnalyticalBinding.qunit.js +1 -0
  423. package/test/sap/ui/core/qunit/bootstrap/Configuration.qunit.js +4 -4
  424. package/test/sap/ui/core/qunit/bootstrap/ThemeVersion.qunit.js +3 -0
  425. package/test/sap/ui/core/qunit/component/Component.qunit.js +88 -16
  426. package/test/sap/ui/core/qunit/component/ComponentContainer.qunit.js +26 -2
  427. package/test/sap/ui/core/qunit/component/ComponentSupport.qunit.js +62 -59
  428. package/test/sap/ui/core/qunit/component/Component_keepAlive.qunit.js +75 -7
  429. package/test/sap/ui/core/qunit/component/ExtensionPoint.qunit.js +128 -117
  430. package/test/sap/ui/core/qunit/component/Manifest.qunit.js +57 -5
  431. package/test/sap/ui/core/qunit/component/Metadata.qunit.js +72 -7
  432. package/test/sap/ui/core/qunit/component/Metadata_unavoidablySync.qunit.js +62 -17
  433. package/test/sap/ui/core/qunit/component/Models.qunit.js +573 -237
  434. package/test/sap/ui/core/qunit/component/UIComponent.qunit.js +211 -33
  435. package/test/sap/ui/core/qunit/component/testdata/async/lib2/library-preload.js +2 -0
  436. package/test/sap/ui/core/qunit/component/testdata/async/lib2/library-preload.json +1 -1
  437. package/test/sap/ui/core/qunit/component/testdata/async/lib2/library.js +1 -0
  438. package/test/sap/ui/core/qunit/component/testdata/async/lib3/library-preload.js +2 -0
  439. package/test/sap/ui/core/qunit/component/testdata/async/lib3/library-preload.json +1 -1
  440. package/test/sap/ui/core/qunit/component/testdata/async/lib3/library.js +1 -0
  441. package/test/sap/ui/core/qunit/component/testdata/async/lib4/library-preload.js +2 -0
  442. package/test/sap/ui/core/qunit/component/testdata/async/lib4/library-preload.json +1 -1
  443. package/test/sap/ui/core/qunit/component/testdata/async/lib4/library.js +1 -0
  444. package/test/sap/ui/core/qunit/component/testdata/async/manifestcomp/Component-preload.js +1 -0
  445. package/test/sap/ui/core/qunit/component/testdata/async/mycomp/Component-preload.js +1 -0
  446. package/test/sap/ui/core/qunit/component/testdata/async/mysubcomp/Component-preload.js +1 -0
  447. package/test/sap/ui/core/qunit/component/testdata/customizing/customer/Component.js +1 -2
  448. package/test/sap/ui/core/qunit/component/testdata/customizing_legacyAPIs/customer/Component.js +1 -2
  449. package/test/sap/ui/core/qunit/component/testdata/inherit/manifest.json +3 -5
  450. package/test/sap/ui/core/qunit/component/testdata/inherit/parent/manifest.json +2 -2
  451. package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3OnActivateReturns/App.view.xml +3 -0
  452. package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3OnActivateReturns/Component.js +15 -0
  453. package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3OnActivateReturns/Home.view.xml +5 -0
  454. package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3OnActivateReturns/Other.view.xml +5 -0
  455. package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3OnActivateReturns/manifest.json +54 -0
  456. package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3OnDeactivateReturns/App.view.xml +3 -0
  457. package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3OnDeactivateReturns/Component.js +17 -0
  458. package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3OnDeactivateReturns/Home.view.xml +5 -0
  459. package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3OnDeactivateReturns/Other.view.xml +5 -0
  460. package/test/sap/ui/core/qunit/component/testdata/keepAlive/child3OnDeactivateReturns/manifest.json +54 -0
  461. package/test/sap/ui/core/qunit/component/testdata/minUI5Version/Component.js +18 -0
  462. package/test/sap/ui/core/qunit/component/testdata/minUI5Version/Main.controller.js +6 -0
  463. package/test/sap/ui/core/qunit/component/testdata/minUI5Version/Main.view.xml +6 -0
  464. package/test/sap/ui/core/qunit/component/testdata/minUI5Version/manifest.json +12 -0
  465. package/test/sap/ui/core/qunit/component/testdata/mixed/Component.js +3 -1
  466. package/test/sap/ui/core/qunit/component/testdata/mixed/manifest.json +3 -11
  467. package/test/sap/ui/core/qunit/component/testdata/mixed_legacyAPIs/Component.js +16 -0
  468. package/test/sap/ui/core/qunit/component/testdata/{mixed → mixed_legacyAPIs}/component.json +3 -3
  469. package/test/sap/ui/core/qunit/component/testdata/mixed_legacyAPIs/i18n/i18n.properties +3 -0
  470. package/test/sap/ui/core/qunit/component/testdata/mixed_legacyAPIs/manifest.json +139 -0
  471. package/test/sap/ui/core/qunit/component/testdata/mixed_legacyAPIs/style.css +0 -0
  472. package/test/sap/ui/core/qunit/component/testdata/routerClass/Component.js +33 -0
  473. package/test/sap/ui/core/qunit/component/testdata/routerClass/Main.view.xml +8 -0
  474. package/test/sap/ui/core/qunit/component/testdata/routerClass/manifest.json +38 -0
  475. package/test/sap/ui/core/qunit/component/testdata/v1/component.json +2 -2
  476. package/test/sap/ui/core/qunit/component/testdata/v1inline/Component.js +2 -2
  477. package/test/sap/ui/core/qunit/component/testdata/v2/manifest.json +3 -5
  478. package/test/sap/ui/core/qunit/component/testdata/v2asyncRootView/manifest.json +2 -4
  479. package/test/sap/ui/core/qunit/component/testdata/v2inline/Component.js +2 -4
  480. package/test/sap/ui/core/qunit/component/testdata/v2models/empty/Component.js +1 -1
  481. package/test/sap/ui/core/qunit/component/testdata/v2models/extension/Component.js +1 -1
  482. package/test/sap/ui/core/qunit/component/testdata/v2models/parentValid/Component.js +286 -0
  483. package/test/sap/ui/core/qunit/component/testdata/v2models/parentValid/i18n.properties +2 -0
  484. package/test/sap/ui/core/qunit/component/testdata/v2models/parentValid/i18n_de.properties +2 -0
  485. package/test/sap/ui/core/qunit/i18n/LocaleData.qunit.js +5 -5
  486. package/test/sap/ui/core/qunit/{types/TimezoneUtil.qunit.js → i18n/TimezoneUtils.qunit.js} +85 -87
  487. package/test/sap/ui/core/qunit/i18n/testsuite.i18n.qunit.js +6 -0
  488. package/test/sap/ui/core/qunit/internal/1RingModels.qunit.js +2 -2
  489. package/test/sap/ui/core/qunit/json/JSONModel.qunit.js +117 -85
  490. package/test/sap/ui/core/qunit/messages/Message.qunit.js +7 -5
  491. package/test/sap/ui/core/qunit/messages/messagesDataBinding.qunit.js +3 -5
  492. package/test/sap/ui/core/qunit/messages/messagesGeneral.qunit.js +41 -4
  493. package/test/sap/ui/core/qunit/messages/messagesUsage.qunit.js +3 -2
  494. package/test/sap/ui/core/qunit/model/Context.qunit.js +29 -0
  495. package/test/sap/ui/core/qunit/model/PropertyBinding.qunit.js +490 -5
  496. package/test/sap/ui/core/qunit/mvc/Controller.qunit.js +164 -12
  497. package/test/sap/ui/core/qunit/mvc/EventHandlerResolver.qunit.js +144 -6
  498. package/test/sap/ui/core/qunit/mvc/View.qunit.js +2 -2
  499. package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessor.qunit.js +60 -5
  500. package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessorAsync.qunit.js +58 -3
  501. package/test/sap/ui/core/qunit/mvc/XMLTemplateProcessorRequireXML.qunit.js +127 -10
  502. package/test/sap/ui/core/qunit/mvc/XMLView.qunit.js +108 -10
  503. package/test/sap/ui/core/qunit/mvc/extensions/ControllerMetadata.qunit.js +74 -7
  504. package/test/sap/ui/core/qunit/mvc/extensions/Controllerextensions.qunit.js +0 -6
  505. package/test/sap/ui/core/qunit/mvc/extensions/Controllerextensions_legacy.qunit.js +0 -6
  506. package/test/sap/ui/core/qunit/mvc/extensions/testdata/ExtendMainLegacy.controller.js +15 -0
  507. package/test/sap/ui/core/qunit/mvc/extensions/testdata/MainContext.controller.js +0 -3
  508. package/test/sap/ui/core/qunit/mvc/extensions/testdata/MainMemberExtLegacyFinal.controller.js +38 -0
  509. package/test/sap/ui/core/qunit/mvc/extensions/testdata/ReuseExtension.js +0 -3
  510. package/test/sap/ui/core/qunit/mvc/extensions/testdata/ReuseExtensionContext.js +0 -3
  511. package/test/sap/ui/core/qunit/mvc/extensions/testdata/ReuseExtensionFinal.js +47 -0
  512. package/test/sap/ui/core/qunit/mvc/testdata/HtmlOnRoot.view.xml +8 -0
  513. package/test/sap/ui/core/qunit/mvc/testdata/XMLViewWithTypes.view.xml +1 -1
  514. package/test/sap/ui/core/qunit/mvc/testdata/XMLViewWithTypesFailure.view.xml +41 -0
  515. package/test/sap/ui/core/qunit/mvc/testdata/asyncHooks.view.xml +1 -1
  516. package/test/sap/ui/core/qunit/mvc/testdata/test.controller.js +4 -0
  517. package/test/sap/ui/core/qunit/mvc/testdata/test.view.xml +1 -1
  518. package/test/sap/ui/core/qunit/mvc/testsuite.mvc.qunit.js +12 -2
  519. package/test/sap/ui/core/qunit/mvc/viewprocessing/ViewProcessing.qunit.js +23 -4
  520. package/test/sap/ui/core/qunit/mvc_legacyAPIs/XMLTemplateProcessorRequireXML_legacyAPIs.qunit.js +1 -1
  521. package/test/sap/ui/core/qunit/odata/ODataMessageParser.qunit.js +3 -5
  522. package/test/sap/ui/core/qunit/odata/ODataMessageParserNoFakeService.qunit.js +3 -5
  523. package/test/sap/ui/core/qunit/odata/v2/ODataModel.integration.qunit.js +169 -5
  524. package/test/sap/ui/core/qunit/odata/v2/V2ODataModel.qunit.js +3 -5
  525. package/test/sap/ui/core/qunit/odata/v2/V2ODataModelDataState.qunit.js +3 -6
  526. package/test/sap/ui/core/qunit/odata/v4/Context.qunit.js +145 -91
  527. package/test/sap/ui/core/qunit/odata/v4/ODataBinding.qunit.js +5 -1
  528. package/test/sap/ui/core/qunit/odata/v4/ODataListBinding.qunit.js +338 -169
  529. package/test/sap/ui/core/qunit/odata/v4/ODataModel.integration.qunit.js +6061 -2815
  530. package/test/sap/ui/core/qunit/odata/v4/ODataModel.qunit.js +2 -4
  531. package/test/sap/ui/core/qunit/odata/v4/ODataParentBinding.qunit.js +11 -4
  532. package/test/sap/ui/core/qunit/odata/v4/data/metadata.json +24 -0
  533. package/test/sap/ui/core/qunit/odata/v4/data/metadata.xml +14 -2
  534. package/test/sap/ui/core/qunit/odata/v4/data/metadata_special_cases.xml +16 -0
  535. package/test/sap/ui/core/qunit/odata/v4/lib/_AggregationCache.qunit.js +407 -403
  536. package/test/sap/ui/core/qunit/odata/v4/lib/_AggregationHelper.qunit.js +11 -1
  537. package/test/sap/ui/core/qunit/odata/v4/lib/_Cache.qunit.js +14 -15
  538. package/test/sap/ui/core/qunit/odata/v4/lib/_Requestor.qunit.js +68 -59
  539. package/test/sap/ui/core/qunit/odata/v4/lib/_TreeState.qunit.js +91 -2
  540. package/test/sap/ui/core/qunit/opa/autowaiter/_navigationContainerWaiter.js +62 -15
  541. package/test/sap/ui/core/qunit/routing/async/Router.qunit.js +91 -19
  542. package/test/sap/ui/core/qunit/routing/async/Target.qunit.js +1 -1
  543. package/test/sap/ui/core/qunit/routing/async/Targets.qunit.js +131 -16
  544. package/test/sap/ui/core/qunit/routing/async/TitleHistory.qunit.js +111 -3
  545. package/test/sap/ui/core/qunit/routing/async/Views.qunit.js +3 -0
  546. package/test/sap/ui/core/qunit/routing/fixture/Async1.view.xml +2 -2
  547. package/test/sap/ui/core/qunit/routing/fixture/Async2.view.xml +2 -2
  548. package/test/sap/ui/core/qunit/routing/fixture/Async3.view.xml +2 -2
  549. package/test/sap/ui/core/qunit/routing/fixture/router/component/titleChanged/Parent/manifest.json +2 -1
  550. package/test/sap/ui/core/qunit/rule/testsuite.rule.qunit.js +3 -0
  551. package/test/sap/ui/core/qunit/testdata/fragments/XMLTestFragmentWithXMLView.fragment.xml +1 -1
  552. package/test/sap/ui/core/qunit/testdata/libraries/customCss/lib1/library.js +4 -11
  553. package/test/sap/ui/core/qunit/testdata/libraries/make.js +8 -1
  554. package/test/sap/ui/core/qunit/testdata/libraries/myGlobalLib/library.js +1 -0
  555. package/test/sap/ui/core/qunit/testdata/libraries/resourcebundle/lib1/library.js +1 -0
  556. package/test/sap/ui/core/qunit/testdata/libraries/resourcebundle/lib2/intentionally_no_manifest_here.txt +7 -0
  557. package/test/sap/ui/core/qunit/testdata/libraries/resourcebundle/lib2/library.js +1 -0
  558. package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib1/library-preload.js +2 -0
  559. package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib1/library.js +1 -0
  560. package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib2/library-preload.json +1 -1
  561. package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib2/library.js +1 -0
  562. package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib3/library-preload.js +2 -0
  563. package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib3/library.js +1 -0
  564. package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib4/library-preload.js +2 -0
  565. package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib4/library-preload.json +1 -1
  566. package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib4/library.js +1 -0
  567. package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib5/library-preload.json +1 -1
  568. package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib5/library.js +1 -0
  569. package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib6/library-preload.js +2 -0
  570. package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib6/library.js +1 -0
  571. package/test/sap/ui/core/qunit/testdata/libraries/scenario1/lib7/library.js +1 -0
  572. package/test/sap/ui/core/qunit/testdata/libraries/scenario11/lib1/library.js +6 -4
  573. package/test/sap/ui/core/qunit/testdata/libraries/scenario11/lib1/manifest.json +7 -0
  574. package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib1/library-preload.js +2 -0
  575. package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib1/library.js +1 -0
  576. package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib2/library-preload.json +1 -1
  577. package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib2/library.js +1 -0
  578. package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib3/library-preload.js +2 -0
  579. package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib3/library.js +1 -0
  580. package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib4/library-preload.js +2 -0
  581. package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib4/library-preload.json +1 -1
  582. package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib4/library.js +1 -0
  583. package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib5/library-preload.json +1 -1
  584. package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib5/library.js +1 -0
  585. package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib6/library-preload.js +2 -0
  586. package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib6/library.js +1 -0
  587. package/test/sap/ui/core/qunit/testdata/libraries/scenario13/lib7/library.js +1 -0
  588. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib1/library-preload.js +2 -0
  589. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib1/library.js +1 -0
  590. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib2/library-preload.js +2 -0
  591. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib2/library.js +1 -0
  592. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib3/library-preload.js +2 -0
  593. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib3/library.js +1 -0
  594. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib4/library-preload.js +2 -0
  595. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib4/library.js +1 -0
  596. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib5/library-preload.js +2 -0
  597. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib5/library.js +1 -0
  598. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib6/library-preload.js +2 -0
  599. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib6/library.js +1 -0
  600. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib7/library-preload.js +2 -0
  601. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib7/library.js +1 -0
  602. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib8/library-preload.js +2 -0
  603. package/test/sap/ui/core/qunit/testdata/libraries/scenario14/lib8/library.js +1 -0
  604. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib1/library-preload.js +2 -0
  605. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib1/library.js +1 -0
  606. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib10/library-preload.js +2 -0
  607. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib10/library.js +1 -0
  608. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib2/library-preload.json +1 -1
  609. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib2/library.js +1 -0
  610. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib3/library-preload.js +2 -0
  611. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib3/library.js +1 -0
  612. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib4/library-preload.js +2 -0
  613. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib4/library-preload.json +1 -1
  614. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib4/library.js +1 -0
  615. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib5/library-preload.json +1 -1
  616. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib5/library.js +1 -0
  617. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib6/library-preload.js +2 -0
  618. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib6/library.js +1 -0
  619. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib7/library-preload.js +2 -0
  620. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib7/library.js +1 -0
  621. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib8/library-preload.js +2 -0
  622. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib8/library.js +1 -0
  623. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib9/library-preload.js +2 -0
  624. package/test/sap/ui/core/qunit/testdata/libraries/scenario15/lib9/library.js +1 -0
  625. package/test/sap/ui/core/qunit/testdata/libraries/scenario16/embeddingLib/library-preload.js +2 -0
  626. package/test/sap/ui/core/qunit/testdata/libraries/scenario16/embeddingLib/library.js +1 -0
  627. package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib1/library-preload.js +2 -0
  628. package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib1/library.js +1 -0
  629. package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib2/library-preload.json +1 -1
  630. package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib2/library.js +1 -0
  631. package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib3/library-preload.js +2 -0
  632. package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib3/library.js +1 -0
  633. package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib4/library-preload.js +2 -0
  634. package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib4/library-preload.json +1 -1
  635. package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib4/library.js +1 -0
  636. package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib5/library-preload.json +1 -1
  637. package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib5/library.js +1 -0
  638. package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib6/library-preload.js +2 -0
  639. package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib6/library.js +1 -0
  640. package/test/sap/ui/core/qunit/testdata/libraries/scenario2/lib7/library.js +1 -0
  641. package/test/sap/ui/core/qunit/testdata/libraries/scenario3/lib1/library-preload.js +2 -0
  642. package/test/sap/ui/core/qunit/testdata/libraries/scenario3/lib1/library.js +1 -0
  643. package/test/sap/ui/core/qunit/testdata/libraries/scenario3/lib2/library-preload.json +1 -1
  644. package/test/sap/ui/core/qunit/testdata/libraries/scenario3/lib2/library.js +1 -0
  645. package/test/sap/ui/core/qunit/testdata/libraries/scenario3/lib3/library-preload.js +2 -0
  646. package/test/sap/ui/core/qunit/testdata/libraries/scenario3/lib3/library.js +1 -0
  647. package/test/sap/ui/core/qunit/testdata/libraries/scenario4/lib1/library-preload.js +2 -0
  648. package/test/sap/ui/core/qunit/testdata/libraries/scenario4/lib1/library.js +1 -0
  649. package/test/sap/ui/core/qunit/testdata/libraries/scenario4/lib2/library-preload.json +1 -1
  650. package/test/sap/ui/core/qunit/testdata/libraries/scenario4/lib2/library.js +1 -0
  651. package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib1/library-preload.js +2 -0
  652. package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib1/library.js +1 -0
  653. package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib2/library-preload.js +2 -0
  654. package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib2/library.js +1 -0
  655. package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib3/library-preload.js +2 -0
  656. package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib3/library.js +1 -0
  657. package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib4/library-preload.js +2 -0
  658. package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib4/library-preload.json +1 -1
  659. package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib4/library.js +1 -0
  660. package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib5/library-preload.json +1 -1
  661. package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib5/library.js +1 -0
  662. package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib6/library-preload.js +2 -0
  663. package/test/sap/ui/core/qunit/testdata/libraries/scenario5/lib6/library.js +1 -0
  664. package/test/sap/ui/core/qunit/testdata/libraries/scenario6/lib1/library-preload.json +1 -1
  665. package/test/sap/ui/core/qunit/testdata/libraries/scenario6/lib1/library.js +1 -0
  666. package/test/sap/ui/core/qunit/testdata/libraries/scenario6/lib2/library-preload.json +1 -1
  667. package/test/sap/ui/core/qunit/testdata/libraries/scenario6/lib2/library.js +1 -0
  668. package/test/sap/ui/core/qunit/testdata/libraries/scenario7/lib1/library-preload.js +2 -0
  669. package/test/sap/ui/core/qunit/testdata/libraries/scenario7/lib1/library-preload.json +1 -1
  670. package/test/sap/ui/core/qunit/testdata/libraries/scenario7/lib1/library.js +1 -0
  671. package/test/sap/ui/core/qunit/testdata/libraries/scenario7/lib2/library-preload.json +1 -1
  672. package/test/sap/ui/core/qunit/testdata/libraries/scenario7/lib2/library.js +1 -0
  673. package/test/sap/ui/core/qunit/testdata/libraries/scenario7/lib3/library-preload.js +2 -0
  674. package/test/sap/ui/core/qunit/testdata/libraries/scenario7/lib3/library.js +1 -0
  675. package/test/sap/ui/core/qunit/testdata/libraries/scenario7/lib4/library-preload.json +1 -1
  676. package/test/sap/ui/core/qunit/testdata/libraries/scenario7/lib4/library.js +1 -0
  677. package/test/sap/ui/core/qunit/testdata/libraries/scenario7/lib5/library-preload.js +2 -0
  678. package/test/sap/ui/core/qunit/testdata/libraries/scenario7/lib5/library.js +1 -0
  679. package/test/sap/ui/core/qunit/testdata/libraries/scenario8/lib1/library-preload.js +2 -0
  680. package/test/sap/ui/core/qunit/testdata/libraries/scenario8/lib1/library-preload.json +1 -1
  681. package/test/sap/ui/core/qunit/testdata/libraries/scenario8/lib1/library.js +1 -0
  682. package/test/sap/ui/core/qunit/testdata/libraries/scenario8/lib2/library-preload.json +1 -1
  683. package/test/sap/ui/core/qunit/testdata/libraries/scenario8/lib2/library.js +1 -0
  684. package/test/sap/ui/core/qunit/testdata/libraries/scenario8/lib3/library-preload.js +2 -0
  685. package/test/sap/ui/core/qunit/testdata/libraries/scenario8/lib3/library.js +1 -0
  686. package/test/sap/ui/core/qunit/testdata/libraries/scenario8/lib4/library-preload.json +1 -1
  687. package/test/sap/ui/core/qunit/testdata/libraries/scenario8/lib4/library.js +1 -0
  688. package/test/sap/ui/core/qunit/testdata/libraries/scenario8/lib5/library-preload.js +2 -0
  689. package/test/sap/ui/core/qunit/testdata/libraries/scenario8/lib5/library.js +1 -0
  690. package/test/sap/ui/core/qunit/testdata/libraries/scenario9/lib1/library-preload.js +2 -0
  691. package/test/sap/ui/core/qunit/testdata/libraries/scenario9/lib1/library.js +1 -0
  692. package/test/sap/ui/core/qunit/testdata/libraries/terminologies/absoluteBundleUrl/library-preload.js +2 -0
  693. package/test/sap/ui/core/qunit/testdata/libraries/terminologies/integration/application/Component-preload.js +1 -1
  694. package/test/sap/ui/core/qunit/testdata/libraries/terminologies/integration/lib/library-preload.js +2 -2
  695. package/test/sap/ui/core/qunit/testdata/libraries/terminologies/notLoadedYet/library-preload.js +2 -0
  696. package/test/sap/ui/core/qunit/testdata/libraries/terminologies/simple/library-preload.js +2 -0
  697. package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib1/library.js +1 -0
  698. package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib10/library.js +1 -0
  699. package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib11/library.js +1 -0
  700. package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib12/library.js +1 -0
  701. package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib13/library.js +1 -0
  702. package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib14/library.js +1 -0
  703. package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib15/library.js +1 -0
  704. package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib16/library.js +1 -0
  705. package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib17/library.js +1 -0
  706. package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib2/library.js +1 -0
  707. package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib3/library.js +1 -0
  708. package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib4/library.js +1 -0
  709. package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib5/library.js +1 -0
  710. package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib6/library.js +1 -0
  711. package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib7/library.js +1 -0
  712. package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib8/library.js +1 -0
  713. package/test/sap/ui/core/qunit/testdata/libraries/themeParameters/lib9/library.js +1 -0
  714. package/test/sap/ui/core/qunit/testdata/routing/scenario1/RootView.view.xml +1 -2
  715. package/test/sap/ui/core/qunit/testdata/uilib/library.js +1 -0
  716. package/test/sap/ui/core/qunit/testdata/uilib/themes/test_theme_scoped/library-parameters.json +25 -0
  717. package/test/sap/ui/core/qunit/testdata/uilib/themes/test_theme_scoped/library.css +28 -0
  718. package/test/sap/ui/core/qunit/testdata/uilib-custom-theme-fallback/library.js +1 -0
  719. package/test/sap/ui/core/qunit/testdata/uilib-failing-css-import/library.js +1 -0
  720. package/test/sap/ui/core/qunit/testdata/xml-require/view/XMLTemplateProcessorAsync_require_expression.view.xml +0 -1
  721. package/test/sap/ui/core/qunit/testdata/xml-require/view/XMLTemplateProcessorAsync_require_expressionFaulty.view.xml +40 -0
  722. package/test/sap/ui/core/qunit/testsuites/testsuite.control.framework.qunit.js +11 -1
  723. package/test/sap/ui/core/qunit/testsuites/testsuite.eventing.qunit.js +3 -0
  724. package/test/sap/ui/core/qunit/testsuites/testsuite.foundation.enablement.qunit.js +3 -0
  725. package/test/sap/ui/core/qunit/types/Date.qunit.js +62 -25
  726. package/test/sap/ui/core/qunit/types/DateInterval.qunit.js +79 -12
  727. package/test/sap/ui/core/qunit/types/Types.qunit.js +100 -32
  728. package/test/sap/ui/core/qunit/types/testsuite.types.qunit.js +0 -6
  729. package/test/sap/ui/core/qunit/ui5classes/DataType.qunit.js +10 -1
  730. package/test/sap/ui/core/qunit/ui5classes/ManagedObject.qunit.js +102 -19
  731. package/test/sap/ui/core/qunit/ui5classes/Object.qunit.js +116 -124
  732. package/test/sap/ui/core/qunit/util/LabelEnablement.qunit.js +122 -3
  733. package/test/sap/ui/core/qunit/util/reflection/JsControlTreeModifier.qunit.js +79 -4
  734. package/test/sap/ui/core/qunit/util/reflection/XmlTreeModifier.qunit.js +0 -1
  735. package/test/sap/ui/core/relnotes/changes-1.124.json +32 -0
  736. package/test/sap/ui/core/samples/databinding/UnitTable/README.md +18 -0
  737. package/test/sap/ui/core/samples/databinding/UnitTable/package.json +13 -0
  738. package/test/sap/ui/core/samples/databinding/UnitTable/ui5.yaml +12 -0
  739. package/test/sap/ui/core/samples/databinding/UnitTable/webapp/Component.js +29 -0
  740. package/test/sap/ui/core/samples/databinding/UnitTable/webapp/controller/UnitTable.controller.js +58 -0
  741. package/test/sap/ui/core/samples/databinding/{UnitTable.meters.json → UnitTable/webapp/data/UnitTable.meters.json} +42 -42
  742. package/test/sap/ui/core/samples/databinding/UnitTable/webapp/index.html +28 -0
  743. package/test/sap/ui/core/samples/databinding/UnitTable/webapp/manifest.json +40 -0
  744. package/test/sap/ui/core/samples/databinding/UnitTable/webapp/view/UnitTable.view.xml +206 -0
  745. package/test/sap/ui/core/samples/draganddrop/DragAndDrop.html +2 -2
  746. package/test/sap/ui/core/samples/draganddrop/dragBetweenLists.html +10 -5
  747. package/test/sap/ui/core/samples/draganddrop/dragWithinList.html +0 -2
  748. package/test/sap/ui/core/visual/images/ContextMenuSupport/windows/1600x1200/chrome/horizon/ltr/cozy/firstItem-contextMenu.ref.lnk +1 -1
  749. package/test/sap/ui/core/visual/images/ContextMenuSupport/windows/1600x1200/chrome/horizon/ltr/cozy/initial.ref.lnk +1 -1
  750. package/test/sap/ui/core/visual/images/ContextMenuSupport/windows/1600x1200/chrome/horizon/ltr/cozy/lastItem-contextMenu.ref.lnk +1 -1
  751. package/test/sap/ui/core/visual/images/ContextMenuSupport/windows/1600x1200/chrome/horizon/ltr/cozy/leftDownBtn-contextMenu.ref.lnk +1 -1
  752. package/test/sap/ui/core/visual/images/ContextMenuSupport/windows/1600x1200/chrome/horizon/ltr/cozy/myButtonSample-contextMenu.ref.lnk +1 -1
  753. package/test/sap/ui/core/visual/images/ContextMenuSupport/windows/1600x1200/chrome/horizon/ltr/cozy/rightDownBtn-contextMenu.ref.lnk +1 -1
  754. package/test/sap/ui/core/CurrenciesIndia.html +0 -182
  755. package/test/sap/ui/core/CurrenciesRTL.html +0 -312
  756. package/test/sap/ui/core/CustomData.html +0 -161
  757. package/test/sap/ui/core/DataTypeNormalizer.html +0 -44
  758. package/test/sap/ui/core/Formats.html +0 -384
  759. package/test/sap/ui/core/Strings.controller.js +0 -90
  760. package/test/sap/ui/core/Strings.css +0 -8
  761. package/test/sap/ui/core/Strings.html +0 -25
  762. package/test/sap/ui/core/Strings.js +0 -20
  763. package/test/sap/ui/core/Strings.view.xml +0 -86
  764. package/test/sap/ui/core/Timezones.html +0 -23
  765. package/test/sap/ui/core/qunit/ODataModelRefresh.qunit.html +0 -236
  766. package/test/sap/ui/core/qunit/ODataModelThreshold.qunit.html +0 -164
  767. package/test/sap/ui/core/samples/databinding/DataBindingAsyncType.html +0 -85
  768. package/test/sap/ui/core/samples/databinding/DataBindingDeclarativeSyntax.js +0 -65
  769. package/test/sap/ui/core/samples/databinding/DataBindingFragment.html +0 -21
  770. package/test/sap/ui/core/samples/databinding/DatabindingDeclarativeSyntax.html +0 -38
  771. package/test/sap/ui/core/samples/databinding/DatabindingMessages.html +0 -193
  772. package/test/sap/ui/core/samples/databinding/ODatabindingMessages.html +0 -305
  773. package/test/sap/ui/core/samples/databinding/UnitTable.controller.js +0 -202
  774. package/test/sap/ui/core/samples/databinding/UnitTable.html +0 -25
  775. package/test/sap/ui/core/samples/databinding/UnitTable.view.xml +0 -337
  776. package/test/sap/ui/core/samples/databinding/UnitTableMain.js +0 -21
  777. package/test/sap/ui/core/samples/databinding/fragment/Fragment.fragment.xml +0 -6
  778. package/test/sap/ui/core/samples/databinding/fragment/NamedFragment.fragment.xml +0 -6
  779. package/test/sap/ui/core/samples/databinding/fragment/View.controller.js +0 -36
  780. package/test/sap/ui/core/samples/databinding/fragment/View.view.xml +0 -12
  781. package/test/sap/ui/core/samples/databinding/message/Component.js +0 -185
  782. package/test/sap/ui/core/samples/databinding/message/component.json +0 -12
  783. package/test/sap/ui/core/samples/databinding/message/comptree/Component.js +0 -186
  784. package/test/sap/ui/core/samples/databinding/message/comptree/component.json +0 -12
  785. package/test/sap/ui/core/samples/databinding/message/disabled/Component.js +0 -186
  786. package/test/sap/ui/core/samples/databinding/message/disabled/component.json +0 -12
  787. package/test/sap/ui/core/samples/databinding/message/enabled/Component.js +0 -186
  788. package/test/sap/ui/core/samples/databinding/message/enabled/component.json +0 -12
  789. package/test/sap/ui/core/samples/databinding/testdata/ComplexSyntax.js +0 -38
  790. package/test/sap/ui/core/samples/databinding/testdata/complexsyntax.controller.js +0 -26
  791. package/test/sap/ui/core/samples/databinding/testdata/complexsyntax.view.xml +0 -26
  792. package/test/sap/ui/core/samples/databinding/testdata/team.xml +0 -12
  793. package/test/sap/ui/core/samples/databinding/testdata/test.controller.js +0 -39
  794. package/test/sap/ui/core/samples/databinding/testdata/text.properties +0 -5
  795. package/test/sap/ui/core/samples/databinding/testdata/text_de.properties +0 -5
  796. package/test/sap/ui/core/samples/formatting/Component.js +0 -21
  797. package/test/sap/ui/core/samples/formatting/controller/ChooseFormatOptions.controller.js +0 -96
  798. package/test/sap/ui/core/samples/formatting/controller/Main.controller.js +0 -9
  799. package/test/sap/ui/core/samples/formatting/index.html +0 -28
  800. package/test/sap/ui/core/samples/formatting/manifest.json +0 -68
  801. package/test/sap/ui/core/samples/formatting/model/Customizing.js +0 -35
  802. package/test/sap/ui/core/samples/formatting/model/data.json +0 -17
  803. package/test/sap/ui/core/samples/formatting/types/CustomCurrency.js +0 -14
  804. package/test/sap/ui/core/samples/formatting/types/CustomUnit.js +0 -14
  805. package/test/sap/ui/core/samples/formatting/view/App.view.xml +0 -6
  806. package/test/sap/ui/core/samples/formatting/view/ChooseFormatOptions.view.xml +0 -71
  807. package/test/sap/ui/core/samples/formatting/view/InputFields.fragment.xml +0 -118
  808. package/test/sap/ui/core/samples/formatting/view/Main.view.xml +0 -15
  809. package/test/sap/ui/core/timezones.js +0 -92
  810. package/test/sap/ui/core/timezones.view.xml +0 -23
  811. /package/test/sap/ui/core/qunit/component/testdata/{mixed → mixed_legacyAPIs}/script.js +0 -0
@@ -1,5 +1,6 @@
1
1
  sap.ui.define([
2
2
  "sap/base/config",
3
+ "sap/base/future",
3
4
  "sap/base/Log",
4
5
  "sap/base/i18n/Localization",
5
6
  "sap/base/i18n/ResourceBundle",
@@ -11,6 +12,7 @@ sap.ui.define([
11
12
  "sap/ui/core/UIComponentMetadata"
12
13
  ], function(
13
14
  BaseConfig,
15
+ future,
14
16
  Log,
15
17
  Localization,
16
18
  ResourceBundle,
@@ -272,7 +274,11 @@ sap.ui.define([
272
274
  }
273
275
  });
274
276
 
275
- QUnit.test("metadata v2 with dataSources", function(assert) {
277
+ /**
278
+ * @deprecated
279
+ */
280
+ QUnit.test("metadata v2 with dataSources (future=false)", function(assert) {
281
+ future.active = false;
276
282
  this.stubGetUriParameters();
277
283
 
278
284
  return Component.create({
@@ -495,30 +501,557 @@ sap.ui.define([
495
501
  // check if internal models references were removed
496
502
  assert.ok(!this.oComponent._mManifestModels, "Component should not have internal model references anymore");
497
503
 
504
+ future.active = undefined;
505
+ }.bind(this));
506
+ });
507
+
508
+ QUnit.test("metadata v2 with dataSources (future=true)", function (assert) {
509
+ future.active = true;
510
+ this.stubGetUriParameters();
511
+
512
+ return Component.create({
513
+ name: "sap.ui.test.v2models.parentValid",
514
+ manifest: false
515
+ }).then(function (oComponent) {
516
+
517
+ this.oComponent = oComponent;
518
+
519
+ // sap.ui.model.odata.v2.ODataModel
520
+ sinon.assert.callCount(this.modelSpy.odataV2, 7);
521
+
522
+ // model: "default-with-annotations"
523
+ sinon.assert.calledWithExactly(this.modelSpy.odataV2, {
524
+ serviceUrl: '/path/to/default/datasource?sap-client=foo&sap-server=bar',
525
+ annotationURI: [
526
+ 'test-resources/sap/ui/core/qunit/component/testdata/v2models/parentValid/path/to/local/odata/annotations/2?sap-language=EN&sap-client=foo',
527
+ '/path/to/odata/annotations/1?sap-language=EN&sap-client=foo'
528
+ ],
529
+ headers: { "Cache-Control": "max-age=500" },
530
+ metadataUrlParams: { "sap-language": "EN" }
531
+ });
532
+
533
+ // model: "old-uri-syntax"
534
+ sinon.assert.calledWithExactly(this.modelSpy.odataV2, {
535
+ serviceUrl: '/path/to/odata/service'
536
+ });
537
+
538
+ // model: ""
539
+ sinon.assert.calledWithExactly(this.modelSpy.odataV2, {
540
+ serviceUrl: '/path/to/default/datasource?sap-client=foo&sap-server=bar',
541
+ metadataUrlParams: { "sap-language": "EN" }
542
+ });
543
+
544
+ // model: "v2-ODataModel"
545
+ sinon.assert.calledWithExactly(this.modelSpy.odataV2, {
546
+ serviceUrl: '/path/to/odata/service',
547
+ useBatch: true,
548
+ refreshAfterChange: true
549
+ });
550
+
551
+ // model: "v2-ODataModel" with multi origin annotations
552
+ sinon.assert.calledWithExactly(this.modelSpy.odataV2, {
553
+ serviceUrl: '/path/to/odata/service/with/multi/origin/annotations/?sap-client=foo&sap-server=bar',
554
+ annotationURI: ["/path/to/other/odata/service/Annotations(TechnicalName='%2FIWBEP%2FTEA_TEST_ANNOTATION_FILE',Version='0001')/$value?sap-language=EN&sap-client=foo",
555
+ "test-resources/sap/ui/core/qunit/component/testdata/v2models/parentValid/path/to/other/odata/service/Annotations%28TechnicalName=%27%2FIWBEP%2FTEA_TEST_ANNOTATION_FILE%27,Version=%270001%27%29/$value?sap-language=EN&sap-client=foo",
556
+ "/path/to/other/odata/service/other2/Annotations(TechnicalName='%2FIWBEP%2FTEA_TEST_ANNOTATION_FILE',Version='0001')/?sap-language=EN&sap-client=foo",
557
+ "/path/to/other3/odata/service/;o=sid(G1Y.400)/Annotations(TechnicalName='%2FIWBEP%2FTEA_TEST_ANNOTATION_FILE',Version='0001')/$value?sap-language=EN&sap-client=foo"
558
+ ],
559
+ metadataUrlParams: { "sap-language": "EN" }
560
+ });
561
+
562
+ // model: "v2-ODataModel-SAPClient" with SAP client
563
+ sinon.assert.calledWithExactly(this.modelSpy.odataV2, {
564
+ serviceUrl: '/path/to/odata/service/with/sapclient/?sap-client=100&sap-server=bar',
565
+ annotationURI: ['/path/to/odata/annotations/with/sapclient/?sap-client=200&sap-language=EN'],
566
+ metadataUrlParams: { "sap-language": "EN" }
567
+ });
568
+
569
+ // sap.ui.model.odata.v4.ODataModel
570
+ sinon.assert.callCount(this.modelSpy.odataV4, 1);
571
+
572
+ // model: "default-with-annotations"
573
+ sinon.assert.calledWithExactly(this.modelSpy.odataV4, {
574
+ odataVersion: "4.0",
575
+ serviceUrl: '/path/to/odata/service/?sap-client=foo&sap-server=bar',
576
+ metadataUrlParams: { "sap-language": "EN" }
577
+ });
578
+
579
+
580
+ // sap.ui.model.json.JSONModel
581
+ sinon.assert.callCount(this.modelSpy.json, 3);
582
+
583
+ // model: "json"
584
+ sinon.assert.calledWithExactly(this.modelSpy.json, '/path/to/data.json?sap-client=foo&sap-server=bar');
585
+
586
+ // model: "json-relative"
587
+ sinon.assert.calledWithExactly(this.modelSpy.json, 'test-resources/sap/ui/core/qunit/component/testdata/v2models/parentValid/path/to/local/data.json?sap-client=foo&sap-server=bar');
588
+
589
+ // model: "json-relative-2"
590
+ sinon.assert.calledWithExactly(this.modelSpy.json, 'test-resources/sap/ui/core/qunit/component/testdata/path/to/other/data.json?sap-client=foo&sap-server=bar');
591
+
592
+
593
+ // sap.ui.model.xml.XMLModel
594
+ sinon.assert.callCount(this.modelSpy.xml, 2);
595
+
596
+ // model: "xml"
597
+ sinon.assert.calledWithExactly(this.modelSpy.xml, '/path/to/data.xml?sap-client=foo&sap-server=bar');
598
+
599
+ // model: "xml-relative"
600
+ sinon.assert.calledWithExactly(this.modelSpy.xml, 'test-resources/sap/ui/core/qunit/component/testdata/v2models/parentValid/path/to/local/data.xml?sap-client=foo&sap-server=bar');
601
+
602
+
603
+ // sap.ui.model.resource.ResourceModel
604
+ sinon.assert.callCount(this.modelSpy.resource, 2);
605
+
606
+ // model: "resourceBundle-name"
607
+ sinon.assert.calledWithExactly(this.modelSpy.resource, {
608
+ bundleName: "sap.ui.test.v2models.parent.i18n"
609
+ });
610
+
611
+ // model: "resourceBundle-legacy-uri"
612
+ sinon.assert.calledWithExactly(this.modelSpy.resource, {
613
+ bundleUrl: "test-resources/sap/ui/core/qunit/component/testdata/v2models/parentValid/i18n.properties"
614
+ });
615
+
616
+
617
+ // sap.ui.test.v2models.parent.CustomModel
618
+ sinon.assert.callCount(this.modelSpy.custom, 7);
619
+
620
+ // model: "custom-uri-string"
621
+ sinon.assert.calledWithExactly(this.modelSpy.custom, '/path/to/custom.datatype?sap-client=foo&sap-server=bar');
622
+
623
+ // model: "custom-uri-relative-string"
624
+ sinon.assert.calledWithExactly(this.modelSpy.custom, 'test-resources/sap/ui/core/qunit/component/testdata/v2models/parentValid/path/to/local/custom.datatype?sap-client=foo&sap-server=bar');
625
+
626
+ // model: "custom-uri-string-with-settings"
627
+ sinon.assert.calledWithExactly(this.modelSpy.custom, '/path/to/custom.datatype?sap-client=foo&sap-server=bar', {
628
+ foo: 'bar'
629
+ });
630
+
631
+ // model: "custom-without-args"
632
+ sinon.assert.calledWithExactly(this.modelSpy.custom);
633
+
634
+ // model: "custom-uri-setting-name"
635
+ sinon.assert.calledWithExactly(this.modelSpy.custom, {
636
+ myUri: '/path/to/custom.datatype?sap-client=foo&sap-server=bar'
637
+ });
638
+
639
+ // model: "custom-uri-setting-merge"
640
+ sinon.assert.calledWithExactly(this.modelSpy.custom, {
641
+ uri: '/path/to/custom.datatype?sap-client=foo&sap-server=bar',
642
+ foo: 'bar'
643
+ });
644
+
645
+ // model: "custom-uri-setting-already-defined"
646
+ sinon.assert.calledWithExactly(this.modelSpy.custom, {
647
+ uri: 'foo'
648
+ });
649
+
650
+ // check if models are set on component (and save them internally)
651
+ this.assertModelInstances({
652
+ "": this.modelSpy.odataV2,
653
+ "default-with-annotations": this.modelSpy.odataV2,
654
+ "old-uri-syntax": this.modelSpy.odataV2,
655
+ "v2-ODataModel": this.modelSpy.odataV2,
656
+ "v2-ODataModel-OtherOrigins": this.modelSpy.odataV2,
657
+ "ODataV4Model": this.modelSpy.odataV4,
658
+ "json": this.modelSpy.json,
659
+ "json-relative": this.modelSpy.json,
660
+ "json-relative-2": this.modelSpy.json,
661
+ "xml": this.modelSpy.xml,
662
+ "xml-relative": this.modelSpy.xml,
663
+ "resourceBundle-name": this.modelSpy.resource,
664
+ "resourceBundle-legacy-uri": this.modelSpy.resource,
665
+ "custom-uri-string": this.modelSpy.custom,
666
+ "custom-relative-uri-string": this.modelSpy.custom,
667
+ "custom-uri-string-with-settings": this.modelSpy.custom,
668
+ "custom-without-args": this.modelSpy.custom,
669
+ "custom-uri-setting-name": this.modelSpy.custom,
670
+ "custom-uri-setting-merge": this.modelSpy.custom,
671
+ "custom-uri-setting-already-defined": this.modelSpy.custom
672
+ });
673
+
674
+ // destroy the component
675
+ this.oComponent.destroy();
676
+
677
+ // check if all models got destroyed (uses the models from #assertModelInstances)
678
+ this.assertModelsDestroyed();
679
+
680
+ // check if internal models references were removed
681
+ assert.ok(!this.oComponent._mManifestModels, "Component should not have internal model references anymore");
682
+
683
+ future.active = undefined;
498
684
  }.bind(this));
499
685
  });
500
686
 
687
+ QUnit.test("metadata v2 with dataSources - Invalid ODataAnnotation (future=true)", function(assert) {
688
+ future.active = true;
689
+
690
+ const oManifestJson = {
691
+ "_version": "1.0.0",
692
+
693
+ "sap.app": {
694
+ "_version": "1.0.0",
695
+ "id": "sap.ui.test.v2models.parent",
696
+ "type": "application",
697
+ "applicationVersion": {
698
+ "version": "1.0.0"
699
+ },
700
+ "i18n": "i18n.properties",
701
+ "title": "{{title}}",
702
+ "description": "{{description}}",
703
+ "dataSources": {
704
+ "default": {
705
+ "uri": "/path/to/default/datasource"
706
+ },
707
+ "odata-invalid-annotations": {
708
+ "type": "OData",
709
+ "uri": "/path/to/odata/service",
710
+ "settings": {
711
+ "annotations": [ "undefined", "annotations1", "annotation-without-uri", "json" ]
712
+ }
713
+ }
714
+ }
715
+ },
716
+ "sap.ui": {
717
+ "_version": "1.0.0",
718
+ "technology": "UI5"
719
+ },
720
+ "sap.ui5": {
721
+ "_version": "1.0.0",
722
+ "dependencies": {
723
+ "minUI5Version": "1.28.0",
724
+ "libs": {
725
+ "sap.ui.core": {
726
+ "minVersion": "1.28.0"
727
+ }
728
+ }
729
+ },
730
+ "models": {
731
+ "": "default",
732
+ "invalid-annotations": {
733
+ "dataSource": "odata-invalid-annotations"
734
+ }
735
+ }
736
+ }
737
+ };
738
+
739
+ return Component.create({
740
+ name: "sap.ui.test.v2models.parent",
741
+ manifest: oManifestJson
742
+ }).catch((error) => {
743
+ assert.ok(error.message.includes(`Component Manifest: ODataAnnotation "undefined" for dataSource "odata-invalid-annotations" could not be found in manifest`),
744
+ "Error thrown because of invalid odata annotations.");
745
+
746
+ future.active = undefined;
747
+ });
748
+ });
749
+
750
+ QUnit.test("metadata v2 with dataSources - Invalid dataSource (future=true)", function(assert) {
751
+ future.active = true;
752
+
753
+ const oManifestJson = {
754
+ "_version": "1.0.0",
755
+
756
+ "sap.app": {
757
+ "_version": "1.0.0",
758
+ "id": "sap.ui.test.v2models.parent",
759
+ "type": "application",
760
+ "applicationVersion": {
761
+ "version": "1.0.0"
762
+ },
763
+ "i18n": "i18n.properties",
764
+ "title": "{{title}}",
765
+ "description": "{{description}}",
766
+ "dataSources": {
767
+ "default": {
768
+ "uri": "/path/to/default/datasource"
769
+ },
770
+ "invalid": true
771
+ }
772
+ },
773
+ "sap.ui": {
774
+ "_version": "1.0.0",
775
+ "technology": "UI5"
776
+ },
777
+ "sap.ui5": {
778
+ "_version": "1.0.0",
779
+ "dependencies": {
780
+ "minUI5Version": "1.28.0",
781
+ "libs": {
782
+ "sap.ui.core": {
783
+ "minVersion": "1.28.0"
784
+ }
785
+ }
786
+ },
787
+ "models": {
788
+ "": "default",
789
+ "dataSource-invalid": {
790
+ "type": "sap.ui.model.odata.v2.ODataModel",
791
+ "dataSource": "invalid"
792
+ }
793
+ }
794
+ }
795
+ };
796
+
797
+ return Component.create({
798
+ name: "sap.ui.test.v2models.parent",
799
+ manifest: oManifestJson
800
+ }).catch((error) => {
801
+ assert.ok(error.message.includes(`Component Manifest: dataSource "invalid" for model "dataSource-invalid" not found or invalid`),
802
+ "Error thrown because invalid dataSource defined.");
803
+
804
+ future.active = undefined;
805
+ });
806
+ });
807
+
808
+ QUnit.test("metadata v2 with dataSources - dataSource not found (future=true)", function(assert) {
809
+ future.active = true;
810
+
811
+ const oManifestJson = {
812
+ "_version": "1.0.0",
813
+
814
+ "sap.app": {
815
+ "_version": "1.0.0",
816
+ "id": "sap.ui.test.v2models.parent",
817
+ "type": "application",
818
+ "applicationVersion": {
819
+ "version": "1.0.0"
820
+ },
821
+ "i18n": "i18n.properties",
822
+ "title": "{{title}}",
823
+ "description": "{{description}}",
824
+ "dataSources": {
825
+ "default": {
826
+ "uri": "/path/to/default/datasource"
827
+ }
828
+ }
829
+ },
830
+ "sap.ui": {
831
+ "_version": "1.0.0",
832
+ "technology": "UI5"
833
+ },
834
+ "sap.ui5": {
835
+ "_version": "1.0.0",
836
+ "dependencies": {
837
+ "minUI5Version": "1.28.0",
838
+ "libs": {
839
+ "sap.ui.core": {
840
+ "minVersion": "1.28.0"
841
+ }
842
+ }
843
+ },
844
+ "models": {
845
+ "": "default",
846
+ "dataSource-not-found": {
847
+ "type": "sap.ui.model.odata.v2.ODataModel",
848
+ "dataSource": "does-not-exist"
849
+ }
850
+ }
851
+ }
852
+ };
853
+
854
+ return Component.create({
855
+ name: "sap.ui.test.v2models.parent",
856
+ manifest: oManifestJson
857
+ }).catch((error) => {
858
+ assert.ok(error.message.includes(`Component Manifest: dataSource "does-not-exist" for model "dataSource-not-found" not found or invalid`),
859
+ "Error thrown because dataSource not found.");
860
+
861
+ future.active = undefined;
862
+ });
863
+ });
864
+
865
+ QUnit.test("metadata v2 with dataSources - Model not found (future=true)", function(assert) {
866
+ future.active = true;
867
+
868
+ const oManifestJson = {
869
+ "_version": "1.0.0",
870
+
871
+ "sap.app": {
872
+ "_version": "1.0.0",
873
+ "id": "sap.ui.test.v2models.parent",
874
+ "type": "application",
875
+ "applicationVersion": {
876
+ "version": "1.0.0"
877
+ },
878
+ "i18n": "i18n.properties",
879
+ "title": "{{title}}",
880
+ "description": "{{description}}",
881
+ "dataSources": {
882
+ "default": {
883
+ "uri": "/path/to/default/datasource"
884
+ }
885
+ }
886
+ },
887
+ "sap.ui": {
888
+ "_version": "1.0.0",
889
+ "technology": "UI5"
890
+ },
891
+ "sap.ui5": {
892
+ "_version": "1.0.0",
893
+ "dependencies": {
894
+ "minUI5Version": "1.28.0",
895
+ "libs": {
896
+ "sap.ui.core": {
897
+ "minVersion": "1.28.0"
898
+ }
899
+ }
900
+ },
901
+ "models": {
902
+ "": "default",
903
+ "model-not-found": {
904
+ "type": "sap.ui.test.v2models.parent.ModelNotDefined"
905
+ }
906
+ }
907
+ }
908
+ };
909
+
910
+ return Component.create({
911
+ name: "sap.ui.test.v2models.parent",
912
+ manifest: oManifestJson
913
+ }).catch((error) => {
914
+ assert.ok(error.message.includes(`Component Manifest: Class "sap.ui.test.v2models.parent.ModelNotDefined" for model "model-not-found" could not be found`),
915
+ "Error thrown because model is not found.");
916
+
917
+ future.active = undefined;
918
+ });
919
+
920
+ });
921
+ QUnit.test("metadata v2 with dataSources - Missing model class (future=true)", function(assert) {
922
+ future.active = true;
923
+
924
+ const oManifestJson = {
925
+ "_version": "1.0.0",
926
+
927
+ "sap.app": {
928
+ "_version": "1.0.0",
929
+ "id": "sap.ui.test.v2models.parent",
930
+ "type": "application",
931
+ "applicationVersion": {
932
+ "version": "1.0.0"
933
+ },
934
+ "i18n": "i18n.properties",
935
+ "title": "{{title}}",
936
+ "description": "{{description}}",
937
+ "dataSources": {
938
+ "default": {
939
+ "uri": "/path/to/default/datasource"
940
+ }
941
+ }
942
+ },
943
+ "sap.ui": {
944
+ "_version": "1.0.0",
945
+ "technology": "UI5"
946
+ },
947
+ "sap.ui5": {
948
+ "_version": "1.0.0",
949
+ "dependencies": {
950
+ "minUI5Version": "1.28.0",
951
+ "libs": {
952
+ "sap.ui.core": {
953
+ "minVersion": "1.28.0"
954
+ }
955
+ }
956
+ },
957
+ "models": {
958
+ "": "default",
959
+ "missing-model-class": {
960
+ "type": "sap.ui.not.defined.Model"
961
+ }
962
+ }
963
+ }
964
+ };
965
+
966
+ return Component.create({
967
+ name: "sap.ui.test.v2models.parent",
968
+ manifest: oManifestJson
969
+ }).catch((error) => {
970
+ assert.ok(error.message.includes(`Cannot load module 'sap/ui/not/defined/Model'.`),
971
+ "Error thrown because defined model class is not found.");
972
+
973
+ future.active = undefined;
974
+ });
975
+
976
+ });
977
+
978
+ QUnit.test("metadata v2 with dataSources - unknown-odataVersion (future=true)", function(assert) {
979
+ future.active = true;
980
+
981
+ const oManifestJson = {
982
+ "_version": "1.0.0",
983
+
984
+ "sap.app": {
985
+ "_version": "1.0.0",
986
+ "id": "sap.ui.test.v2models.parent1",
987
+ "type": "application",
988
+ "applicationVersion": {
989
+ "version": "1.0.0"
990
+ },
991
+ "i18n": "i18n.properties",
992
+ "title": "{{title}}",
993
+ "description": "{{description}}",
994
+ "dataSources": {
995
+ "default": {
996
+ "uri": "/path/to/default/datasource"
997
+ },
998
+
999
+ "unknown-odataVersion": {
1000
+ "uri": "/path/to/unknown/odataVersion",
1001
+ "settings": {
1002
+ "odataVersion": "3.0"
1003
+ }
1004
+ },
1005
+ "invalid": true
1006
+ }
1007
+ },
1008
+ "sap.ui": {
1009
+ "_version": "1.0.0",
1010
+ "technology": "UI5"
1011
+ },
1012
+ "sap.ui5": {
1013
+ "_version": "1.0.0",
1014
+ "dependencies": {
1015
+ "minUI5Version": "1.28.0",
1016
+ "libs": {
1017
+ "sap.ui.core": {
1018
+ "minVersion": "1.28.0"
1019
+ }
1020
+ }
1021
+ },
1022
+ "models": {
1023
+ "": "default",
1024
+ "v2-ODataModel-unknown-odataVersion": {
1025
+ "dataSource": "unknown-odataVersion"
1026
+ },
1027
+ "dataSource-invalid": {
1028
+ "type": "sap.ui.model.odata.v2.ODataModel",
1029
+ "dataSource": "invalid"
1030
+ }
1031
+ }
1032
+ }
1033
+ };
1034
+
1035
+ return Component.create({
1036
+ name: "sap.ui.test.v2models.parent",
1037
+ manifest: oManifestJson
1038
+ }).catch((error) => {
1039
+ assert.ok(error.message.includes(`Component Manifest: Provided OData version "3.0" in dataSource "unknown-odataVersion" for model "v2-ODataModel-unknown-odataVersion" is unknown.`),
1040
+ "Error thrown because unknown dataSource defined in Component Manifest.");
1041
+
1042
+ future.active = undefined;
1043
+ });
1044
+ });
1045
+
501
1046
  QUnit.test("metadata v2 with sap-system URL parameter", function(assert) {
502
1047
  this.stubGetUriParameters({ sapSystem: "BLA_123" });
503
1048
 
504
1049
  return Component.create({
505
- name: "sap.ui.test.v2models.parent",
1050
+ name: "sap.ui.test.v2models.parentValid",
506
1051
  manifest: false
507
1052
  }).then(function(oComponent) {
508
1053
  this.oComponent = oComponent;
509
1054
 
510
- /**
511
- * @deprecated As of version 1.48
512
- */
513
- // model: "ODataModel"
514
- sinon.assert.calledWithExactly(this.modelSpy.odata, {
515
- serviceUrl: '/path/to/odata/service;o=BLA_123?sap-client=foo&sap-server=bar',
516
- annotationURI: [ '/path/to/odata/annotations/1', 'test-resources/sap/ui/core/qunit/component/testdata/v2models/parent/path/to/local/odata/annotations/2'],
517
- useBatch: false,
518
- refreshAfterChange: false,
519
- json: true
520
- });
521
-
522
1055
  // model: "v2-ODataModel"
523
1056
  sinon.assert.calledWithExactly(this.modelSpy.odataV2, {
524
1057
  serviceUrl: '/path/to/odata/service;o=BLA_123',
@@ -531,7 +1064,7 @@ sap.ui.define([
531
1064
  serviceUrl: '/path/to/odata/service/with/trailing/slash;o=BLA_123/?sap-client=foo&sap-server=bar',
532
1065
  annotationURI: [
533
1066
  '/path/to/odata/service/with/trailing/slash;o=BLA_123/annotations.xml?sap-language=EN&sap-client=foo',
534
- 'test-resources/sap/ui/core/qunit/component/testdata/v2models/parent/path/to/local/odata/annotations/2?sap-language=EN&sap-client=foo'
1067
+ 'test-resources/sap/ui/core/qunit/component/testdata/v2models/parentValid/path/to/local/odata/annotations/2?sap-language=EN&sap-client=foo'
535
1068
  ],
536
1069
  useBatch: true,
537
1070
  refreshAfterChange: true,
@@ -542,7 +1075,7 @@ sap.ui.define([
542
1075
  sinon.assert.calledWithExactly(this.modelSpy.odataV2, {
543
1076
  serviceUrl: '/path/to/odata/service/with/multi/origin/annotations;o=BLA_123/?sap-client=foo&sap-server=bar',
544
1077
  annotationURI: ["/path/to/other/odata/service;o=BLA_123/Annotations(TechnicalName='%2FIWBEP%2FTEA_TEST_ANNOTATION_FILE',Version='0001')/$value?sap-language=EN&sap-client=foo",
545
- "test-resources/sap/ui/core/qunit/component/testdata/v2models/parent/path/to/other/odata/service;o=BLA_123/Annotations%28TechnicalName=%27%2FIWBEP%2FTEA_TEST_ANNOTATION_FILE%27,Version=%270001%27%29/$value?sap-language=EN&sap-client=foo",
1078
+ "test-resources/sap/ui/core/qunit/component/testdata/v2models/parentValid/path/to/other/odata/service;o=BLA_123/Annotations%28TechnicalName=%27%2FIWBEP%2FTEA_TEST_ANNOTATION_FILE%27,Version=%270001%27%29/$value?sap-language=EN&sap-client=foo",
546
1079
  "/path/to/other/odata/service/other2/Annotations(TechnicalName='%2FIWBEP%2FTEA_TEST_ANNOTATION_FILE',Version='0001')/?sap-language=EN&sap-client=foo",
547
1080
  "/path/to/other3/odata/service/;o=sid(G1Y.400)/Annotations(TechnicalName='%2FIWBEP%2FTEA_TEST_ANNOTATION_FILE',Version='0001')/$value?sap-language=EN&sap-client=foo"
548
1081
  ],
@@ -575,7 +1108,7 @@ sap.ui.define([
575
1108
  this.stubGetUriParameters();
576
1109
 
577
1110
  return Component.create({
578
- name: "sap.ui.test.v2models.parent",
1111
+ name: "sap.ui.test.v2models.parentValid",
579
1112
  manifest: false,
580
1113
  componentData: {
581
1114
  startupParameters: {
@@ -585,18 +1118,6 @@ sap.ui.define([
585
1118
  }).then(function(oComponent) {
586
1119
  this.oComponent = oComponent;
587
1120
 
588
- /**
589
- * @deprecated As of version 1.48
590
- */
591
- // model: "ODataModel"
592
- sinon.assert.calledWithExactly(this.modelSpy.odata, {
593
- serviceUrl: '/path/to/odata/service;o=STARTUP456?sap-client=foo&sap-server=bar',
594
- annotationURI: [ '/path/to/odata/annotations/1', 'test-resources/sap/ui/core/qunit/component/testdata/v2models/parent/path/to/local/odata/annotations/2'],
595
- useBatch: false,
596
- refreshAfterChange: false,
597
- json: true
598
- });
599
-
600
1121
  // model: "v2-ODataModel"
601
1122
  sinon.assert.calledWithExactly(this.modelSpy.odataV2, {
602
1123
  serviceUrl: '/path/to/odata/service;o=STARTUP456',
@@ -609,7 +1130,7 @@ sap.ui.define([
609
1130
  serviceUrl: '/path/to/odata/service/with/trailing/slash;o=STARTUP456/?sap-client=foo&sap-server=bar',
610
1131
  annotationURI: [
611
1132
  '/path/to/odata/service/with/trailing/slash;o=STARTUP456/annotations.xml?sap-language=EN&sap-client=foo',
612
- 'test-resources/sap/ui/core/qunit/component/testdata/v2models/parent/path/to/local/odata/annotations/2?sap-language=EN&sap-client=foo'
1133
+ 'test-resources/sap/ui/core/qunit/component/testdata/v2models/parentValid/path/to/local/odata/annotations/2?sap-language=EN&sap-client=foo'
613
1134
  ],
614
1135
  useBatch: true,
615
1136
  refreshAfterChange: true,
@@ -620,7 +1141,7 @@ sap.ui.define([
620
1141
  sinon.assert.calledWithExactly(this.modelSpy.odataV2, {
621
1142
  serviceUrl: '/path/to/odata/service/with/multi/origin/annotations;o=STARTUP456/?sap-client=foo&sap-server=bar',
622
1143
  annotationURI: ["/path/to/other/odata/service;o=STARTUP456/Annotations(TechnicalName='%2FIWBEP%2FTEA_TEST_ANNOTATION_FILE',Version='0001')/$value?sap-language=EN&sap-client=foo",
623
- "test-resources/sap/ui/core/qunit/component/testdata/v2models/parent/path/to/other/odata/service;o=STARTUP456/Annotations%28TechnicalName=%27%2FIWBEP%2FTEA_TEST_ANNOTATION_FILE%27,Version=%270001%27%29/$value?sap-language=EN&sap-client=foo",
1144
+ "test-resources/sap/ui/core/qunit/component/testdata/v2models/parentValid/path/to/other/odata/service;o=STARTUP456/Annotations%28TechnicalName=%27%2FIWBEP%2FTEA_TEST_ANNOTATION_FILE%27,Version=%270001%27%29/$value?sap-language=EN&sap-client=foo",
624
1145
  "/path/to/other/odata/service/other2/Annotations(TechnicalName='%2FIWBEP%2FTEA_TEST_ANNOTATION_FILE',Version='0001')/?sap-language=EN&sap-client=foo",
625
1146
  "/path/to/other3/odata/service/;o=sid(G1Y.400)/Annotations(TechnicalName='%2FIWBEP%2FTEA_TEST_ANNOTATION_FILE',Version='0001')/$value?sap-language=EN&sap-client=foo"
626
1147
  ],
@@ -652,7 +1173,7 @@ sap.ui.define([
652
1173
  QUnit.test("metadata v2 with cacheTokens", function(assert) {
653
1174
 
654
1175
  return Component.create({
655
- name: "sap.ui.test.v2models.parent",
1176
+ name: "sap.ui.test.v2models.parentValid",
656
1177
  manifest: false,
657
1178
  asyncHints: {
658
1179
  cacheTokens: {
@@ -668,19 +1189,6 @@ sap.ui.define([
668
1189
  }).then(function(oComponent) {
669
1190
  this.oComponent = oComponent;
670
1191
 
671
- /**
672
- * @deprecated As of version 1.48
673
- */
674
- // V1 ODataModel should not be affected by cache tokens
675
- // model: "ODataModel"
676
- sinon.assert.calledWithExactly(this.modelSpy.odata, {
677
- serviceUrl: '/path/to/odata/service',
678
- annotationURI: [ '/path/to/odata/annotations/1', 'test-resources/sap/ui/core/qunit/component/testdata/v2models/parent/path/to/local/odata/annotations/2'],
679
- useBatch: false,
680
- refreshAfterChange: false,
681
- json: true
682
- });
683
-
684
1192
  // Model without "dataSource" reference should not be affected by cache tokens
685
1193
  // model: "v2-ODataModel"
686
1194
  sinon.assert.calledWithExactly(this.modelSpy.odataV2, {
@@ -697,14 +1205,14 @@ sap.ui.define([
697
1205
  },
698
1206
  annotationURI: [
699
1207
  '/path/to/odata/service/with/trailing/slash/annotations.xml?sap-language=EN',
700
- 'test-resources/sap/ui/core/qunit/component/testdata/v2models/parent/path/to/local/odata/annotations/2?sap-language=EN'
1208
+ 'test-resources/sap/ui/core/qunit/component/testdata/v2models/parentValid/path/to/local/odata/annotations/2?sap-language=EN'
701
1209
  ],
702
1210
  useBatch: true,
703
1211
  refreshAfterChange: true
704
1212
  });
705
1213
 
706
1214
  // model: "v2-ODataModel-SAPClient" with SAP client
707
- sinon.assert.calledWithExactly(this.modelSpy.odataV2.getCall(7), {
1215
+ sinon.assert.calledWithExactly(this.modelSpy.odataV2.getCall(6), {
708
1216
  serviceUrl: '/path/to/odata/service/with/sapclient/?sap-client=100',
709
1217
  annotationURI: [ '/path/to/odata/annotations/with/sapclient/?sap-client=200&sap-language=EN' ],
710
1218
  metadataUrlParams: { 'sap-language': 'EN' }
@@ -736,7 +1244,7 @@ sap.ui.define([
736
1244
  this.stubGetUriParameters();
737
1245
 
738
1246
  return Component.create({
739
- name: "sap.ui.test.v2models.parent",
1247
+ name: "sap.ui.test.v2models.parentValid",
740
1248
  manifest: false,
741
1249
  asyncHints: {
742
1250
  cacheTokens: {
@@ -751,22 +1259,6 @@ sap.ui.define([
751
1259
  }).then(function(oComponent) {
752
1260
  this.oComponent = oComponent;
753
1261
 
754
- /**
755
- * @deprecated As of version 1.48
756
- */
757
- // V1 ODataModel should not be affected by cache tokens
758
- // model: "ODataModel"
759
- sinon.assert.calledWithExactly(this.modelSpy.odata, {
760
- serviceUrl: '/path/to/odata/service?sap-client=foo&sap-server=bar',
761
- annotationURI: [
762
- '/path/to/odata/annotations/1',
763
- 'test-resources/sap/ui/core/qunit/component/testdata/v2models/parent/path/to/local/odata/annotations/2'
764
- ],
765
- useBatch: false,
766
- refreshAfterChange: false,
767
- json: true
768
- });
769
-
770
1262
  // Model without "dataSource" reference should not be affected by cache tokens
771
1263
  // model: "v2-ODataModel"
772
1264
  sinon.assert.calledWithExactly(this.modelSpy.odataV2, {
@@ -784,7 +1276,7 @@ sap.ui.define([
784
1276
  },
785
1277
  annotationURI: [
786
1278
  '/path/to/odata/service/with/trailing/slash/annotations.xml?sap-language=EN&sap-client=foo&sap-context-token=1476971136',
787
- 'test-resources/sap/ui/core/qunit/component/testdata/v2models/parent/path/to/local/odata/annotations/2?sap-language=EN&sap-client=foo&sap-context-token=1476971160'
1279
+ 'test-resources/sap/ui/core/qunit/component/testdata/v2models/parentValid/path/to/local/odata/annotations/2?sap-language=EN&sap-client=foo&sap-context-token=1476971160'
788
1280
  ],
789
1281
  useBatch: true,
790
1282
  refreshAfterChange: true
@@ -868,33 +1360,14 @@ sap.ui.define([
868
1360
  }).then(function(oComponent) {
869
1361
  this.oComponent = oComponent;
870
1362
 
871
- /**
872
- * @deprecated As of version 1.48
873
- */
874
- if ( this.modelSpy.odata ) {
875
- // sap.ui.model.odata.ODataModel
876
- sinon.assert.callCount(this.modelSpy.odata, 1);
877
-
878
- // model: "ODataModel"
879
- sinon.assert.calledWithExactly(this.modelSpy.odata, {
880
- serviceUrl: '/path/to/odata/service?sap-client=foo&sap-server=bar',
881
- annotationURI: [ '/path/to/odata/annotations/1', 'test-resources/sap/ui/core/qunit/component/testdata/v2models/parent/path/to/local/odata/annotations/2' ],
882
- useBatch: true,
883
- skipMetadataAnnotationParsing: true,
884
- refreshAfterChange: false,
885
- json: true
886
- });
887
- }
888
-
889
-
890
1363
  // sap.ui.model.odata.v2.ODataModel
891
- sinon.assert.callCount(this.modelSpy.odataV2, 9);
1364
+ sinon.assert.callCount(this.modelSpy.odataV2, 7);
892
1365
 
893
1366
  // model: "default-with-annotations"
894
1367
  sinon.assert.calledWithExactly(this.modelSpy.odataV2, {
895
1368
  serviceUrl: '/path/to/default/datasource?sap-client=foo&sap-server=bar',
896
1369
  annotationURI: [
897
- 'test-resources/sap/ui/core/qunit/component/testdata/v2models/parent/path/to/local/odata/annotations/2?sap-language=EN&sap-client=foo',
1370
+ 'test-resources/sap/ui/core/qunit/component/testdata/v2models/parentValid/path/to/local/odata/annotations/2?sap-language=EN&sap-client=foo',
898
1371
  '/path/to/odata/annotations/1?sap-language=EN&sap-client=foo',
899
1372
  'test-resources/sap/ui/core/qunit/component/testdata/v2models/extension/path/to/local/extension/annotation?sap-language=EN&sap-client=foo'
900
1373
  ],
@@ -917,33 +1390,21 @@ sap.ui.define([
917
1390
  sinon.assert.calledWithExactly(this.modelSpy.odataV2, {
918
1391
  serviceUrl: '/path/to/odata/service',
919
1392
  useBatch: true,
920
- refreshAfterChange: true
921
- });
922
-
923
- // model: "invalid-annotations"
924
- sinon.assert.calledWithExactly(this.modelSpy.odataV2, {
925
- serviceUrl: '/path/to/odata/service?sap-client=foo&sap-server=bar',
926
- annotationURI: [ '/path/to/odata/annotations/1?sap-language=EN&sap-client=foo' ],
927
- metadataUrlParams: { "sap-language": "EN" }
1393
+ refreshAfterChange: true,
1394
+ skipMetadataAnnotationParsing: true
928
1395
  });
929
1396
 
930
1397
  // model: "v2-ODataModel" with multi origin annotations
931
1398
  sinon.assert.calledWithExactly(this.modelSpy.odataV2, {
932
1399
  serviceUrl: '/path/to/odata/service/with/multi/origin/annotations/?sap-client=foo&sap-server=bar',
933
1400
  annotationURI: ["/path/to/other/odata/service/Annotations(TechnicalName='%2FIWBEP%2FTEA_TEST_ANNOTATION_FILE',Version='0001')/$value?sap-language=EN&sap-client=foo",
934
- "test-resources/sap/ui/core/qunit/component/testdata/v2models/parent/path/to/other/odata/service/Annotations%28TechnicalName=%27%2FIWBEP%2FTEA_TEST_ANNOTATION_FILE%27,Version=%270001%27%29/$value?sap-language=EN&sap-client=foo",
1401
+ "test-resources/sap/ui/core/qunit/component/testdata/v2models/parentValid/path/to/other/odata/service/Annotations%28TechnicalName=%27%2FIWBEP%2FTEA_TEST_ANNOTATION_FILE%27,Version=%270001%27%29/$value?sap-language=EN&sap-client=foo",
935
1402
  "/path/to/other/odata/service/other2/Annotations(TechnicalName='%2FIWBEP%2FTEA_TEST_ANNOTATION_FILE',Version='0001')/?sap-language=EN&sap-client=foo",
936
1403
  "/path/to/other3/odata/service/;o=sid(G1Y.400)/Annotations(TechnicalName='%2FIWBEP%2FTEA_TEST_ANNOTATION_FILE',Version='0001')/$value?sap-language=EN&sap-client=foo"
937
1404
  ],
938
1405
  metadataUrlParams: { "sap-language": "EN" }
939
1406
  });
940
1407
 
941
- // model: "v2-ODataModel-unknown-odataVersion"
942
- sinon.assert.calledWithExactly(this.modelSpy.odataV2, {
943
- serviceUrl: '/path/to/unknown/odataVersion?sap-client=foo&sap-server=bar',
944
- metadataUrlParams: { "sap-language": "EN" }
945
- });
946
-
947
1408
  // sap.ui.model.json.JSONModel
948
1409
  sinon.assert.callCount(this.modelSpy.json, 3);
949
1410
 
@@ -964,7 +1425,7 @@ sap.ui.define([
964
1425
  sinon.assert.calledWithExactly(this.modelSpy.xml, '/path/to/data.xml?sap-client=foo&sap-server=bar');
965
1426
 
966
1427
  // model: "xml-relative"
967
- sinon.assert.calledWithExactly(this.modelSpy.xml, 'test-resources/sap/ui/core/qunit/component/testdata/v2models/parent/path/to/local/data.xml?sap-client=foo&sap-server=bar');
1428
+ sinon.assert.calledWithExactly(this.modelSpy.xml, 'test-resources/sap/ui/core/qunit/component/testdata/v2models/parentValid/path/to/local/data.xml?sap-client=foo&sap-server=bar');
968
1429
 
969
1430
  // model: "xml-extension"
970
1431
  sinon.assert.calledWithExactly(this.modelSpy.xml, 'test-resources/sap/ui/core/qunit/component/testdata/v2models/extension/path/to/local/data.xml?sap-client=foo&sap-server=bar');
@@ -980,10 +1441,9 @@ sap.ui.define([
980
1441
 
981
1442
  // model: "resourceBundle-legacy-uri"
982
1443
  sinon.assert.calledWithExactly(this.modelSpy.resource, {
983
- bundleUrl: "test-resources/sap/ui/core/qunit/component/testdata/v2models/parent/i18n.properties"
1444
+ bundleUrl: "test-resources/sap/ui/core/qunit/component/testdata/v2models/parentValid/i18n.properties"
984
1445
  });
985
1446
 
986
-
987
1447
  // sap.ui.test.v2models.parent.CustomModel
988
1448
  sinon.assert.callCount(this.modelSpy.custom, 7);
989
1449
 
@@ -991,7 +1451,7 @@ sap.ui.define([
991
1451
  sinon.assert.calledWithExactly(this.modelSpy.custom, '/path/to/custom.datatype?sap-client=foo&sap-server=bar');
992
1452
 
993
1453
  // model: "custom-uri-relative-string"
994
- sinon.assert.calledWithExactly(this.modelSpy.custom, 'test-resources/sap/ui/core/qunit/component/testdata/v2models/parent/path/to/local/custom.datatype?sap-client=foo&sap-server=bar');
1454
+ sinon.assert.calledWithExactly(this.modelSpy.custom, 'test-resources/sap/ui/core/qunit/component/testdata/v2models/parentValid/path/to/local/custom.datatype?sap-client=foo&sap-server=bar');
995
1455
 
996
1456
  // model: "custom-uri-string-with-settings"
997
1457
  sinon.assert.calledWithExactly(this.modelSpy.custom, '/path/to/custom.datatype?sap-client=foo&sap-server=bar', {
@@ -1017,29 +1477,12 @@ sap.ui.define([
1017
1477
  uri: 'foo'
1018
1478
  });
1019
1479
 
1020
- // Log.error
1021
- sinon.assert.calledWithExactly(this.oLogSpy, sinon.match(/Component Manifest: Missing \"type\" for model \"no-model-type\"/), "[\"sap.ui5\"][\"models\"][\"no-model-type\"]", this.oComponent.getMetadata().getComponentName());
1022
- sinon.assert.calledWithExactly(this.oLogSpy, sinon.match(/Class \"sap.ui.not.defined.Model\" for model \"missing-model-class\" could not be loaded./), "[\"sap.ui5\"][\"models\"][\"missing-model-class\"]", this.oComponent.getMetadata().getComponentName());
1023
- sinon.assert.calledWithExactly(this.oLogSpy, sinon.match(/Component Manifest: Class \"sap.ui.test.v2models.parent.ModelNotDefined\" for model \"model-not-found\" could not be found/), "[\"sap.ui5\"][\"models\"][\"model-not-found\"]", this.oComponent.getMetadata().getComponentName());
1024
- sinon.assert.calledWithExactly(this.oLogSpy, sinon.match(/Component Manifest: ODataAnnotation \"undefined\" for dataSource \"odata-invalid-annotations\" could not be found in manifest/), "[\"sap.app\"][\"dataSources\"][\"undefined\"]", this.oComponent.getMetadata().getComponentName());
1025
- sinon.assert.calledWithExactly(this.oLogSpy, sinon.match(/Component Manifest: Missing \"uri\" for ODataAnnotation \"annotation-without-uri\"/), "[\"sap.app\"][\"dataSources\"][\"annotation-without-uri\"]", this.oComponent.getMetadata().getComponentName());
1026
- sinon.assert.calledWithExactly(this.oLogSpy, sinon.match(/Component Manifest: dataSource \"json\" was expected to have type \"ODataAnnotation\" but was \"JSON\"/), "[\"sap.app\"][\"dataSources\"][\"json\"]", this.oComponent.getMetadata().getComponentName());
1027
- sinon.assert.calledWithExactly(this.oLogSpy, sinon.match(/Component Manifest: dataSource \"invalid\" for model \"dataSource-invalid\" not found or invalid/), "[\"sap.app\"][\"dataSources\"][\"invalid\"]", this.oComponent.getMetadata().getComponentName());
1028
- sinon.assert.calledWithExactly(this.oLogSpy, sinon.match(/Component Manifest: dataSource \"does-not-exist\" for model \"dataSource-not-found\" not found or invalid/), "[\"sap.app\"][\"dataSources\"][\"does-not-exist\"]", this.oComponent.getMetadata().getComponentName());
1029
- sinon.assert.calledWithExactly(this.oLogSpy, sinon.match(/Component Manifest: Provided OData version \"3.0\" in dataSource \"unknown-odataVersion\" for model \"v2-ODataModel-unknown-odataVersion\" is unknown. Falling back to default model type \"sap.ui.model.odata.v2.ODataModel\"./), "[\"sap.app\"][\"dataSources\"][\"unknown-odataVersion\"]", this.oComponent.getMetadata().getComponentName());
1030
-
1031
-
1032
1480
  // check if models are set on component (and save them internally)
1033
1481
  this.assertModelInstances({
1034
1482
  "": this.modelSpy.odataV2,
1035
1483
  "default-with-annotations": this.modelSpy.odataV2,
1036
1484
  "old-uri-syntax": this.modelSpy.odataV2,
1037
- /**
1038
- * @deprecated As of version 1.48
1039
- */
1040
- "ODataModel": this.modelSpy.odata,
1041
1485
  "v2-ODataModel": this.modelSpy.odataV2,
1042
- "invalid-annotations": this.modelSpy.odataV2,
1043
1486
  "json": this.modelSpy.json,
1044
1487
  "json-relative": this.modelSpy.json,
1045
1488
  "json-relative-2": this.modelSpy.json,
@@ -1075,12 +1518,6 @@ sap.ui.define([
1075
1518
  }).then(function(oComponent) {
1076
1519
  this.oComponent = oComponent;
1077
1520
 
1078
- /**
1079
- * @deprecated As of version 1.48
1080
- */
1081
- // sap.ui.model.odata.ODataModel
1082
- sinon.assert.callCount(this.modelSpy.odata, 0);
1083
-
1084
1521
  // sap.ui.model.odata.v2.ODataModel
1085
1522
  sinon.assert.callCount(this.modelSpy.odataV2, 0);
1086
1523
  // sap.ui.model.json.JSONModel
@@ -1111,21 +1548,6 @@ sap.ui.define([
1111
1548
  }).then(function(oComponent) {
1112
1549
  this.oComponent = oComponent;
1113
1550
 
1114
- /**
1115
- * @deprecated As of version 1.48
1116
- */
1117
- if ( this.modelSpy.odata ) {
1118
- // sap.ui.model.odata.ODataModel
1119
- sinon.assert.callCount(this.modelSpy.odata, 1);
1120
-
1121
- // model: "sfapi"
1122
- sinon.assert.calledWithExactly(this.modelSpy.odata, {
1123
- serviceUrl: 'test-resources/sap/ui/core/qunit/component/testdata/v1/some/odata/service',
1124
- json: true
1125
- });
1126
- }
1127
-
1128
-
1129
1551
  // sap.ui.model.resource.ResourceModel
1130
1552
  sinon.assert.callCount(this.modelSpy.resource, 1);
1131
1553
 
@@ -1137,10 +1559,7 @@ sap.ui.define([
1137
1559
  // check if models are set on component (and save them internally)
1138
1560
  this.assertModelInstances({
1139
1561
  "i18n": this.modelSpy.resource,
1140
- /**
1141
- * @deprecated As of version 1.48
1142
- */
1143
- "sfapi": this.modelSpy.odata
1562
+ "sfapi": this.modelSpy.odataV2
1144
1563
  });
1145
1564
 
1146
1565
  // destroy the component
@@ -1391,31 +1810,14 @@ sap.ui.define([
1391
1810
  noSyncTest_afterEach.call(this, assert);
1392
1811
  },
1393
1812
  assertAll: function(assert) {
1394
- /**
1395
- * @deprecated As of version 1.48
1396
- */
1397
- if ( this.modelSpy.odata ) {
1398
- // sap.ui.model.odata.ODataModel
1399
- sinon.assert.callCount(this.modelSpy.odata, 1);
1400
-
1401
- // model: "ODataModel"
1402
- sinon.assert.calledWithExactly(this.modelSpy.odata, {
1403
- serviceUrl: '/path/to/odata/service?sap-client=foo&sap-server=bar',
1404
- annotationURI: [ '/path/to/odata/annotations/1', 'test-resources/sap/ui/core/qunit/component/testdata/v2models/parent/path/to/local/odata/annotations/2' ],
1405
- useBatch: false,
1406
- refreshAfterChange: false,
1407
- json: true
1408
- });
1409
- }
1410
-
1411
1813
  // sap.ui.model.odata.v2.ODataModel
1412
- sinon.assert.callCount(this.modelSpy.odataV2, 9);
1814
+ sinon.assert.callCount(this.modelSpy.odataV2, 7);
1413
1815
 
1414
1816
  // model: "default-with-annotations"
1415
1817
  sinon.assert.calledWithExactly(this.modelSpy.odataV2, {
1416
1818
  serviceUrl: '/path/to/default/datasource?sap-client=foo&sap-server=bar',
1417
1819
  annotationURI: [
1418
- 'test-resources/sap/ui/core/qunit/component/testdata/v2models/parent/path/to/local/odata/annotations/2?sap-language=EN&sap-client=foo',
1820
+ 'test-resources/sap/ui/core/qunit/component/testdata/v2models/parentValid/path/to/local/odata/annotations/2?sap-language=EN&sap-client=foo',
1419
1821
  '/path/to/odata/annotations/1?sap-language=EN&sap-client=foo'
1420
1822
  ],
1421
1823
  headers: { "Cache-Control": "max-age=500" },
@@ -1440,31 +1842,17 @@ sap.ui.define([
1440
1842
  refreshAfterChange: true
1441
1843
  });
1442
1844
 
1443
- // model: "invalid-annotations"
1444
- sinon.assert.calledWithExactly(this.modelSpy.odataV2, {
1445
- serviceUrl: '/path/to/odata/service?sap-client=foo&sap-server=bar',
1446
- annotationURI: [ '/path/to/odata/annotations/1?sap-language=EN&sap-client=foo' ],
1447
- metadataUrlParams: { "sap-language": "EN" }
1448
- });
1449
-
1450
1845
  // model: "v2-ODataModel" with multi origin annotations
1451
1846
  sinon.assert.calledWithExactly(this.modelSpy.odataV2, {
1452
1847
  serviceUrl: '/path/to/odata/service/with/multi/origin/annotations/?sap-client=foo&sap-server=bar',
1453
1848
  annotationURI: ["/path/to/other/odata/service/Annotations(TechnicalName='%2FIWBEP%2FTEA_TEST_ANNOTATION_FILE',Version='0001')/$value?sap-language=EN&sap-client=foo",
1454
- "test-resources/sap/ui/core/qunit/component/testdata/v2models/parent/path/to/other/odata/service/Annotations%28TechnicalName=%27%2FIWBEP%2FTEA_TEST_ANNOTATION_FILE%27,Version=%270001%27%29/$value?sap-language=EN&sap-client=foo",
1849
+ "test-resources/sap/ui/core/qunit/component/testdata/v2models/parentValid/path/to/other/odata/service/Annotations%28TechnicalName=%27%2FIWBEP%2FTEA_TEST_ANNOTATION_FILE%27,Version=%270001%27%29/$value?sap-language=EN&sap-client=foo",
1455
1850
  "/path/to/other/odata/service/other2/Annotations(TechnicalName='%2FIWBEP%2FTEA_TEST_ANNOTATION_FILE',Version='0001')/?sap-language=EN&sap-client=foo",
1456
1851
  "/path/to/other3/odata/service/;o=sid(G1Y.400)/Annotations(TechnicalName='%2FIWBEP%2FTEA_TEST_ANNOTATION_FILE',Version='0001')/$value?sap-language=EN&sap-client=foo"
1457
1852
  ],
1458
1853
  metadataUrlParams: { "sap-language": "EN" }
1459
1854
  });
1460
1855
 
1461
- // model: "v2-ODataModel-unknown-odataVersion"
1462
- sinon.assert.calledWithExactly(this.modelSpy.odataV2, {
1463
- serviceUrl: '/path/to/unknown/odataVersion?sap-client=foo&sap-server=bar',
1464
- metadataUrlParams: { "sap-language": "EN" }
1465
- });
1466
-
1467
-
1468
1856
  // sap.ui.model.json.JSONModel
1469
1857
  sinon.assert.callCount(this.modelSpy.json, 3);
1470
1858
 
@@ -1472,7 +1860,7 @@ sap.ui.define([
1472
1860
  sinon.assert.calledWithExactly(this.modelSpy.json, '/path/to/data.json?sap-client=foo&sap-server=bar');
1473
1861
 
1474
1862
  // model: "json-relative"
1475
- sinon.assert.calledWithExactly(this.modelSpy.json, 'test-resources/sap/ui/core/qunit/component/testdata/v2models/parent/path/to/local/data.json?sap-client=foo&sap-server=bar');
1863
+ sinon.assert.calledWithExactly(this.modelSpy.json, 'test-resources/sap/ui/core/qunit/component/testdata/v2models/parentValid/path/to/local/data.json?sap-client=foo&sap-server=bar');
1476
1864
 
1477
1865
  // model: "json-relative-2"
1478
1866
  sinon.assert.calledWithExactly(this.modelSpy.json, 'test-resources/sap/ui/core/qunit/component/testdata/path/to/other/data.json?sap-client=foo&sap-server=bar');
@@ -1485,7 +1873,7 @@ sap.ui.define([
1485
1873
  sinon.assert.calledWithExactly(this.modelSpy.xml, '/path/to/data.xml?sap-client=foo&sap-server=bar');
1486
1874
 
1487
1875
  // model: "xml-relative"
1488
- sinon.assert.calledWithExactly(this.modelSpy.xml, 'test-resources/sap/ui/core/qunit/component/testdata/v2models/parent/path/to/local/data.xml?sap-client=foo&sap-server=bar');
1876
+ sinon.assert.calledWithExactly(this.modelSpy.xml, 'test-resources/sap/ui/core/qunit/component/testdata/v2models/parentValid/path/to/local/data.xml?sap-client=foo&sap-server=bar');
1489
1877
 
1490
1878
 
1491
1879
  // sap.ui.model.resource.ResourceModel
@@ -1498,7 +1886,7 @@ sap.ui.define([
1498
1886
 
1499
1887
  // model: "resourceBundle-legacy-uri"
1500
1888
  sinon.assert.calledWithExactly(this.modelSpy.resource, {
1501
- bundleUrl: "test-resources/sap/ui/core/qunit/component/testdata/v2models/parent/i18n.properties"
1889
+ bundleUrl: "test-resources/sap/ui/core/qunit/component/testdata/v2models/parentValid/i18n.properties"
1502
1890
  });
1503
1891
 
1504
1892
 
@@ -1509,7 +1897,7 @@ sap.ui.define([
1509
1897
  sinon.assert.calledWithExactly(this.modelSpy.custom, '/path/to/custom.datatype?sap-client=foo&sap-server=bar');
1510
1898
 
1511
1899
  // model: "custom-uri-relative-string"
1512
- sinon.assert.calledWithExactly(this.modelSpy.custom, 'test-resources/sap/ui/core/qunit/component/testdata/v2models/parent/path/to/local/custom.datatype?sap-client=foo&sap-server=bar');
1900
+ sinon.assert.calledWithExactly(this.modelSpy.custom, 'test-resources/sap/ui/core/qunit/component/testdata/v2models/parentValid/path/to/local/custom.datatype?sap-client=foo&sap-server=bar');
1513
1901
 
1514
1902
  // model: "custom-uri-string-with-settings"
1515
1903
  sinon.assert.calledWithExactly(this.modelSpy.custom, '/path/to/custom.datatype?sap-client=foo&sap-server=bar', {
@@ -1535,30 +1923,12 @@ sap.ui.define([
1535
1923
  uri: 'foo'
1536
1924
  });
1537
1925
 
1538
-
1539
- // Log.error
1540
- sinon.assert.calledWithExactly(this.oLogSpy, sinon.match(/Component Manifest: Missing \"type\" for model \"no-model-type\"/), "[\"sap.ui5\"][\"models\"][\"no-model-type\"]", this.oComponent.getMetadata().getComponentName());
1541
- sinon.assert.calledWithExactly(this.oLogSpy, sinon.match(/Class \"sap.ui.not.defined.Model\" for model \"missing-model-class\" could not be loaded./), "[\"sap.ui5\"][\"models\"][\"missing-model-class\"]", this.oComponent.getMetadata().getComponentName());
1542
- sinon.assert.calledWithExactly(this.oLogSpy, sinon.match(/Component Manifest: Class \"sap.ui.test.v2models.parent.ModelNotDefined\" for model \"model-not-found\" could not be found/), "[\"sap.ui5\"][\"models\"][\"model-not-found\"]", this.oComponent.getMetadata().getComponentName());
1543
- sinon.assert.calledWithExactly(this.oLogSpy, sinon.match(/Component Manifest: ODataAnnotation \"undefined\" for dataSource \"odata-invalid-annotations\" could not be found in manifest/), "[\"sap.app\"][\"dataSources\"][\"undefined\"]", this.oComponent.getMetadata().getComponentName());
1544
- sinon.assert.calledWithExactly(this.oLogSpy, sinon.match(/Component Manifest: Missing \"uri\" for ODataAnnotation \"annotation-without-uri\"/), "[\"sap.app\"][\"dataSources\"][\"annotation-without-uri\"]", this.oComponent.getMetadata().getComponentName());
1545
- sinon.assert.calledWithExactly(this.oLogSpy, sinon.match(/Component Manifest: dataSource \"json\" was expected to have type \"ODataAnnotation\" but was \"JSON\"/), "[\"sap.app\"][\"dataSources\"][\"json\"]", this.oComponent.getMetadata().getComponentName());
1546
- sinon.assert.calledWithExactly(this.oLogSpy, sinon.match(/Component Manifest: dataSource \"invalid\" for model \"dataSource-invalid\" not found or invalid/), "[\"sap.app\"][\"dataSources\"][\"invalid\"]", this.oComponent.getMetadata().getComponentName());
1547
- sinon.assert.calledWithExactly(this.oLogSpy, sinon.match(/Component Manifest: dataSource \"does-not-exist\" for model \"dataSource-not-found\" not found or invalid/), "[\"sap.app\"][\"dataSources\"][\"does-not-exist\"]", this.oComponent.getMetadata().getComponentName());
1548
- sinon.assert.calledWithExactly(this.oLogSpy, sinon.match(/Component Manifest: Provided OData version \"3.0\" in dataSource \"unknown-odataVersion\" for model \"v2-ODataModel-unknown-odataVersion\" is unknown. Falling back to default model type \"sap.ui.model.odata.v2.ODataModel\"./), "[\"sap.app\"][\"dataSources\"][\"unknown-odataVersion\"]", this.oComponent.getMetadata().getComponentName());
1549
-
1550
-
1551
1926
  // check if models are set on component (and save them internally)
1552
1927
  this.assertModelInstances({
1553
1928
  "": this.modelSpy.odataV2,
1554
1929
  "default-with-annotations": this.modelSpy.odataV2,
1555
1930
  "old-uri-syntax": this.modelSpy.odataV2,
1556
- /**
1557
- * @deprecated As of version 1.48
1558
- */
1559
- "ODataModel": this.modelSpy.odata,
1560
1931
  "v2-ODataModel": this.modelSpy.odataV2,
1561
- "invalid-annotations": this.modelSpy.odataV2,
1562
1932
  "json": this.modelSpy.json,
1563
1933
  "json-relative": this.modelSpy.json,
1564
1934
  "json-relative-2": this.modelSpy.json,
@@ -1710,16 +2080,7 @@ sap.ui.define([
1710
2080
  "i18n2": {
1711
2081
  "type": "sap.ui.model.resource.ResourceModel",
1712
2082
  "uri": "./i18n.properties"
1713
- },
1714
-
1715
- // This model should not get preloaded as the class is not declared and a warning should get logged
1716
- // When creating the model on component init an error should get logged
1717
- // but all other models should still be created
1718
- "class-not-loaded": {
1719
- "type": "sap.ui.sample.model.MyModel",
1720
- "preload": true
1721
2083
  }
1722
-
1723
2084
  }
1724
2085
  }
1725
2086
  };
@@ -1813,12 +2174,6 @@ sap.ui.define([
1813
2174
  assert.ok(this.modelSpy.resource.getCall(1).returnValue.getResourceBundle() instanceof ResourceBundle,
1814
2175
  "ResourceBundle should be available");
1815
2176
 
1816
- // check error log for "class-not-loaded" model
1817
- sinon.assert.calledWithExactly(this.oLogErrorSpy,
1818
- sinon.match(/Component Manifest: Class \"sap.ui.sample.model.MyModel\" for model \"class-not-loaded\" could not be loaded./),
1819
- "[\"sap.ui5\"][\"models\"][\"class-not-loaded\"]",
1820
- this.oComponent.getMetadata().getComponentName());
1821
-
1822
2177
  assert.ok(this.oComponent.getMetadata() instanceof UIComponentMetadata, "The metadata is instance of UIComponentMetadata");
1823
2178
  assert.ok(this.oComponent.getManifest(), "Manifest is available");
1824
2179
  assert.deepEqual(this.oComponent.getManifest(), this.oManifest, "Manifest matches the manifest behind manifestUrl");
@@ -1933,11 +2288,6 @@ sap.ui.define([
1933
2288
  // sap.ui.model.resource.ResourceModel
1934
2289
  sinon.assert.callCount(this.modelSpy.resource, 2);
1935
2290
 
1936
- // check error log for "class-not-loaded" model
1937
- sinon.assert.calledWithExactly(this.oLogErrorSpy,
1938
- sinon.match(/Component Manifest: Class \"sap.ui.sample.model.MyModel\" for model \"class-not-loaded\" could not be loaded./),
1939
- "[\"sap.ui5\"][\"models\"][\"class-not-loaded\"]",
1940
- this.oComponent.getMetadata().getComponentName());
1941
2291
 
1942
2292
  assert.ok(this.oComponent.getMetadata() instanceof UIComponentMetadata, "The metadata is instance of UIComponentMetadata");
1943
2293
  assert.ok(this.oComponent.getManifest(), "Manifest is available");
@@ -2112,13 +2462,6 @@ sap.ui.define([
2112
2462
 
2113
2463
  var oResourceModel2 = this.modelSpy.resource.getCall(1).returnValue;
2114
2464
  assert.ok(oResourceModel2.bDestroyed, "ResourceModel should have been destroyed.");
2115
-
2116
- // check warning log for "class-not-loaded" model
2117
- sinon.assert.calledWithExactly(this.oLogWarningSpy,
2118
- "Can not preload model \"class-not-loaded\" as required class has not been loaded: \"sap.ui.sample.model.MyModel\"",
2119
- this.oManifest["sap.app"]["id"],
2120
- "sap.ui.core.Component");
2121
-
2122
2465
  }.bind(this));
2123
2466
  });
2124
2467
 
@@ -2172,13 +2515,6 @@ sap.ui.define([
2172
2515
 
2173
2516
  var oResourceModel2 = this.modelSpy.resource.getCall(1).returnValue;
2174
2517
  assert.ok(oResourceModel2.bDestroyed, "ResourceModel should have been destroyed.");
2175
-
2176
- // check warning log for "class-not-loaded" model
2177
- sinon.assert.calledWithExactly(this.oLogWarningSpy,
2178
- "Can not preload model \"class-not-loaded\" as required class has not been loaded: \"sap.ui.sample.model.MyModel\"",
2179
- this.oManifest["sap.app"]["id"],
2180
- "sap.ui.core.Component");
2181
-
2182
2518
  }.bind(this));
2183
2519
  });
2184
2520