@openui5/sap.ui.core 1.120.0 → 1.120.1

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 (464) 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 +2 -2
  8. package/src/sap/base/Eventing.js +1 -1
  9. package/src/sap/base/config.js +1 -1
  10. package/src/sap/base/i18n/Formatting.js +30 -14
  11. package/src/sap/base/i18n/LanguageTag.js +1 -1
  12. package/src/sap/base/i18n/Localization.js +1 -2
  13. package/src/sap/base/i18n/date/TimezoneUtils.js +1 -1
  14. package/src/sap/base/util/restricted/_CancelablePromise.js +1 -1
  15. package/src/sap/base/util/restricted/_castArray.js +1 -1
  16. package/src/sap/base/util/restricted/_compact.js +1 -1
  17. package/src/sap/base/util/restricted/_curry.js +1 -1
  18. package/src/sap/base/util/restricted/_debounce.js +1 -1
  19. package/src/sap/base/util/restricted/_difference.js +1 -1
  20. package/src/sap/base/util/restricted/_differenceBy.js +1 -1
  21. package/src/sap/base/util/restricted/_differenceWith.js +1 -1
  22. package/src/sap/base/util/restricted/_flatMap.js +1 -1
  23. package/src/sap/base/util/restricted/_flatMapDeep.js +1 -1
  24. package/src/sap/base/util/restricted/_flatMapDepth.js +1 -1
  25. package/src/sap/base/util/restricted/_flatten.js +1 -1
  26. package/src/sap/base/util/restricted/_flattenDeep.js +1 -1
  27. package/src/sap/base/util/restricted/_flattenDepth.js +1 -1
  28. package/src/sap/base/util/restricted/_intersection.js +1 -1
  29. package/src/sap/base/util/restricted/_intersectionBy.js +1 -1
  30. package/src/sap/base/util/restricted/_intersectionWith.js +1 -1
  31. package/src/sap/base/util/restricted/_isEqual.js +1 -1
  32. package/src/sap/base/util/restricted/_isEqualWith.js +1 -1
  33. package/src/sap/base/util/restricted/_isNil.js +1 -1
  34. package/src/sap/base/util/restricted/_max.js +1 -1
  35. package/src/sap/base/util/restricted/_merge.js +1 -1
  36. package/src/sap/base/util/restricted/_mergeWith.js +1 -1
  37. package/src/sap/base/util/restricted/_min.js +1 -1
  38. package/src/sap/base/util/restricted/_omit.js +1 -1
  39. package/src/sap/base/util/restricted/_pick.js +1 -1
  40. package/src/sap/base/util/restricted/_pickBy.js +1 -1
  41. package/src/sap/base/util/restricted/_throttle.js +1 -1
  42. package/src/sap/base/util/restricted/_toArray.js +1 -1
  43. package/src/sap/base/util/restricted/_union.js +1 -1
  44. package/src/sap/base/util/restricted/_unionBy.js +1 -1
  45. package/src/sap/base/util/restricted/_unionWith.js +1 -1
  46. package/src/sap/base/util/restricted/_uniq.js +1 -1
  47. package/src/sap/base/util/restricted/_uniqBy.js +1 -1
  48. package/src/sap/base/util/restricted/_uniqWith.js +1 -1
  49. package/src/sap/base/util/restricted/_without.js +1 -1
  50. package/src/sap/base/util/restricted/_xor.js +1 -1
  51. package/src/sap/base/util/restricted/_xorBy.js +1 -1
  52. package/src/sap/base/util/restricted/_xorWith.js +1 -1
  53. package/src/sap/base/util/restricted/_zipObject.js +1 -1
  54. package/src/sap/base/util/restricted/_zipObjectDeep.js +1 -1
  55. package/src/sap/ui/Device.js +3 -3
  56. package/src/sap/ui/Global.js +4 -4
  57. package/src/sap/ui/base/Event.js +1 -1
  58. package/src/sap/ui/base/EventProvider.js +1 -1
  59. package/src/sap/ui/base/Interface.js +1 -1
  60. package/src/sap/ui/base/ManagedObject.js +1 -57
  61. package/src/sap/ui/base/ManagedObjectMetadata.js +25 -1
  62. package/src/sap/ui/base/Metadata.js +1 -1
  63. package/src/sap/ui/base/Object.js +1 -1
  64. package/src/sap/ui/base/ObjectPool.js +1 -1
  65. package/src/sap/ui/core/.library +1 -1
  66. package/src/sap/ui/core/BusyIndicator.js +1 -1
  67. package/src/sap/ui/core/Component.js +27 -8
  68. package/src/sap/ui/core/ComponentContainer.js +3 -3
  69. package/src/sap/ui/core/ComponentMetadata.js +1 -1
  70. package/src/sap/ui/core/ComponentSupport.js +1 -1
  71. package/src/sap/ui/core/Configuration.js +9 -7
  72. package/src/sap/ui/core/Control.js +1 -1
  73. package/src/sap/ui/core/Core.js +14 -68
  74. package/src/sap/ui/core/CustomData.js +1 -1
  75. package/src/sap/ui/core/DeclarativeSupport.js +1 -1
  76. package/src/sap/ui/core/Element.js +7 -3
  77. package/src/sap/ui/core/ElementMetadata.js +1 -1
  78. package/src/sap/ui/core/EnabledPropagator.js +1 -1
  79. package/src/sap/ui/core/EventBus.js +1 -1
  80. package/src/sap/ui/core/Fragment.js +3 -3
  81. package/src/sap/ui/core/HTML.js +1 -1
  82. package/src/sap/ui/core/History.js +1 -1
  83. package/src/sap/ui/core/Icon.js +1 -1
  84. package/src/sap/ui/core/IndicationColorSupport.js +1 -1
  85. package/src/sap/ui/core/IntervalTrigger.js +1 -1
  86. package/src/sap/ui/core/InvisibleMessage.js +1 -1
  87. package/src/sap/ui/core/InvisibleRenderer.js +1 -1
  88. package/src/sap/ui/core/InvisibleText.js +1 -1
  89. package/src/sap/ui/core/Item.js +1 -1
  90. package/src/sap/ui/core/LabelEnablement.js +1 -1
  91. package/src/sap/ui/core/LayoutData.js +1 -1
  92. package/src/sap/ui/core/Lib.js +59 -29
  93. package/src/sap/ui/core/ListItem.js +1 -1
  94. package/src/sap/ui/core/LocalBusyIndicator.js +1 -1
  95. package/src/sap/ui/core/Locale.js +1 -1
  96. package/src/sap/ui/core/LocaleData.js +1 -1
  97. package/src/sap/ui/core/Manifest.js +1 -1
  98. package/src/sap/ui/core/Message.js +1 -1
  99. package/src/sap/ui/core/RenderManager.js +1 -1
  100. package/src/sap/ui/core/Renderer.js +1 -1
  101. package/src/sap/ui/core/ResizeHandler.js +1 -1
  102. package/src/sap/ui/core/ScrollBar.js +1 -1
  103. package/src/sap/ui/core/SeparatorItem.js +1 -1
  104. package/src/sap/ui/core/Title.js +1 -1
  105. package/src/sap/ui/core/TooltipBase.js +1 -1
  106. package/src/sap/ui/core/UIArea.js +5 -1
  107. package/src/sap/ui/core/UIComponent.js +1 -1
  108. package/src/sap/ui/core/UIComponentMetadata.js +1 -1
  109. package/src/sap/ui/core/ValueStateSupport.js +1 -1
  110. package/src/sap/ui/core/VariantLayoutData.js +1 -1
  111. package/src/sap/ui/core/XMLComposite.js +1 -1
  112. package/src/sap/ui/core/XMLCompositeMetadata.js +1 -1
  113. package/src/sap/ui/core/date/Islamic.js +4 -4
  114. package/src/sap/ui/core/date/UI5Date.js +1 -1
  115. package/src/sap/ui/core/delegate/ItemNavigation.js +1 -1
  116. package/src/sap/ui/core/delegate/ScrollEnablement.js +1 -1
  117. package/src/sap/ui/core/dnd/DragDropBase.js +1 -1
  118. package/src/sap/ui/core/dnd/DragDropInfo.js +1 -1
  119. package/src/sap/ui/core/dnd/DragInfo.js +1 -1
  120. package/src/sap/ui/core/dnd/DropInfo.js +1 -1
  121. package/src/sap/ui/core/format/TimezoneUtil.js +1 -1
  122. package/src/sap/ui/core/getCompatibilityVersion.js +1 -1
  123. package/src/sap/ui/core/hyphenation/Hyphenation.js +1 -1
  124. package/src/sap/ui/core/library.js +3 -3
  125. package/src/sap/ui/core/message/ControlMessageProcessor.js +1 -1
  126. package/src/sap/ui/core/message/Message.js +1 -1
  127. package/src/sap/ui/core/message/MessageManager.js +1 -1
  128. package/src/sap/ui/core/message/MessageParser.js +1 -1
  129. package/src/sap/ui/core/message/MessageProcessor.js +1 -1
  130. package/src/sap/ui/core/mvc/ControllerExtensionProvider.js +1 -1
  131. package/src/sap/ui/core/mvc/HTMLView.js +1 -1
  132. package/src/sap/ui/core/mvc/JSONView.js +1 -1
  133. package/src/sap/ui/core/mvc/JSView.js +1 -1
  134. package/src/sap/ui/core/mvc/TemplateView.js +1 -1
  135. package/src/sap/ui/core/mvc/View.js +2 -2
  136. package/src/sap/ui/core/mvc/XMLView.js +1 -1
  137. package/src/sap/ui/core/plugin/DeclarativeSupport.js +1 -1
  138. package/src/sap/ui/core/plugin/LessSupport.js +1 -1
  139. package/src/sap/ui/core/plugin/TemplatingSupport.js +1 -1
  140. package/src/sap/ui/core/postmessage/Bus.js +1 -1
  141. package/src/sap/ui/core/postmessage/confirmationDialog.js +1 -1
  142. package/src/sap/ui/core/search/OpenSearchProvider.js +2 -1
  143. package/src/sap/ui/core/search/SearchProvider.js +2 -1
  144. package/src/sap/ui/core/service/Service.js +1 -1
  145. package/src/sap/ui/core/service/ServiceFactory.js +1 -1
  146. package/src/sap/ui/core/service/ServiceFactoryRegistry.js +1 -1
  147. package/src/sap/ui/core/support/Plugin.js +1 -1
  148. package/src/sap/ui/core/support/Support.js +1 -1
  149. package/src/sap/ui/core/support/plugins/ControlTree.js +2 -2
  150. package/src/sap/ui/core/support/plugins/Interaction.js +1 -1
  151. package/src/sap/ui/core/support/plugins/LocalStorage.js +1 -1
  152. package/src/sap/ui/core/support/plugins/Performance.js +1 -1
  153. package/src/sap/ui/core/support/plugins/Selector.js +1 -1
  154. package/src/sap/ui/core/support/plugins/TechInfo.js +1 -1
  155. package/src/sap/ui/core/support/plugins/Trace.js +1 -1
  156. package/src/sap/ui/core/support/plugins/ViewInfo.js +1 -1
  157. package/src/sap/ui/core/tmpl/DOMAttribute.js +1 -1
  158. package/src/sap/ui/core/tmpl/DOMElement.js +1 -1
  159. package/src/sap/ui/core/tmpl/HandlebarsTemplate.js +1 -1
  160. package/src/sap/ui/core/tmpl/Template.js +1 -1
  161. package/src/sap/ui/core/tmpl/TemplateControl.js +1 -1
  162. package/src/sap/ui/core/util/AsyncHintsHelper.js +1 -1
  163. package/src/sap/ui/core/util/Export.js +1 -1
  164. package/src/sap/ui/core/util/ExportCell.js +1 -1
  165. package/src/sap/ui/core/util/ExportColumn.js +1 -1
  166. package/src/sap/ui/core/util/ExportRow.js +1 -1
  167. package/src/sap/ui/core/util/ExportType.js +1 -1
  168. package/src/sap/ui/core/util/ExportTypeCSV.js +1 -1
  169. package/src/sap/ui/core/util/File.js +1 -1
  170. package/src/sap/ui/core/util/LibraryInfo.js +1 -1
  171. package/src/sap/ui/core/util/MockServer.js +1 -1
  172. package/src/sap/ui/core/util/PasteHelper.js +1 -1
  173. package/src/sap/ui/core/util/_LocalizationHelper.js +122 -0
  174. package/src/sap/ui/core/util/serializer/HTMLViewSerializer.js +1 -1
  175. package/src/sap/ui/core/util/serializer/Serializer.js +1 -1
  176. package/src/sap/ui/core/util/serializer/ViewSerializer.js +1 -1
  177. package/src/sap/ui/core/util/serializer/XMLViewSerializer.js +1 -1
  178. package/src/sap/ui/core/util/serializer/delegate/Delegate.js +1 -1
  179. package/src/sap/ui/core/util/serializer/delegate/HTML.js +1 -1
  180. package/src/sap/ui/core/util/serializer/delegate/XML.js +1 -1
  181. package/src/sap/ui/core/webc/WebComponent.js +1 -1
  182. package/src/sap/ui/core/webc/WebComponentMetadata.js +1 -1
  183. package/src/sap/ui/core/ws/ReadyState.js +1 -1
  184. package/src/sap/ui/core/ws/SapPcpWebSocket.js +1 -1
  185. package/src/sap/ui/core/ws/WebSocket.js +1 -1
  186. package/src/sap/ui/debug/ControlTree.js +1 -1
  187. package/src/sap/ui/debug/DebugEnv.js +1 -1
  188. package/src/sap/ui/debug/PropertyList.js +1 -1
  189. package/src/sap/ui/model/ClientListBinding.js +6 -3
  190. package/src/sap/ui/model/ClientModel.js +1 -1
  191. package/src/sap/ui/model/ClientTreeBinding.js +6 -3
  192. package/src/sap/ui/model/CompositeDataState.js +1 -1
  193. package/src/sap/ui/model/CompositeType.js +1 -1
  194. package/src/sap/ui/model/DataState.js +1 -1
  195. package/src/sap/ui/model/FilterProcessor.js +17 -17
  196. package/src/sap/ui/model/MetaModel.js +1 -1
  197. package/src/sap/ui/model/Model.js +10 -8
  198. package/src/sap/ui/model/SelectionModel.js +1 -1
  199. package/src/sap/ui/model/SimpleType.js +1 -1
  200. package/src/sap/ui/model/TreeAutoExpandMode.js +1 -1
  201. package/src/sap/ui/model/Type.js +1 -1
  202. package/src/sap/ui/model/json/JSONModel.js +1 -1
  203. package/src/sap/ui/model/message/MessageModel.js +1 -1
  204. package/src/sap/ui/model/odata/ODataAnnotations.js +1 -1
  205. package/src/sap/ui/model/odata/ODataListBinding.js +5 -2
  206. package/src/sap/ui/model/odata/ODataMessageParser.js +1 -1
  207. package/src/sap/ui/model/odata/ODataMetaModel.js +1 -1
  208. package/src/sap/ui/model/odata/ODataMetadata.js +1 -1
  209. package/src/sap/ui/model/odata/ODataModel.js +1 -1
  210. package/src/sap/ui/model/odata/type/Boolean.js +1 -1
  211. package/src/sap/ui/model/odata/type/Byte.js +1 -1
  212. package/src/sap/ui/model/odata/type/Currency.js +1 -1
  213. package/src/sap/ui/model/odata/type/Date.js +1 -1
  214. package/src/sap/ui/model/odata/type/DateTime.js +1 -1
  215. package/src/sap/ui/model/odata/type/DateTimeBase.js +1 -1
  216. package/src/sap/ui/model/odata/type/DateTimeOffset.js +1 -1
  217. package/src/sap/ui/model/odata/type/DateTimeWithTimezone.js +1 -1
  218. package/src/sap/ui/model/odata/type/Decimal.js +1 -1
  219. package/src/sap/ui/model/odata/type/Double.js +1 -1
  220. package/src/sap/ui/model/odata/type/Guid.js +1 -1
  221. package/src/sap/ui/model/odata/type/Int.js +1 -1
  222. package/src/sap/ui/model/odata/type/Int16.js +1 -1
  223. package/src/sap/ui/model/odata/type/Int32.js +1 -1
  224. package/src/sap/ui/model/odata/type/Int64.js +1 -1
  225. package/src/sap/ui/model/odata/type/ODataType.js +1 -1
  226. package/src/sap/ui/model/odata/type/Raw.js +1 -1
  227. package/src/sap/ui/model/odata/type/SByte.js +1 -1
  228. package/src/sap/ui/model/odata/type/Single.js +1 -1
  229. package/src/sap/ui/model/odata/type/Stream.js +1 -1
  230. package/src/sap/ui/model/odata/type/String.js +1 -1
  231. package/src/sap/ui/model/odata/type/Time.js +1 -1
  232. package/src/sap/ui/model/odata/type/TimeOfDay.js +1 -1
  233. package/src/sap/ui/model/odata/type/Unit.js +1 -1
  234. package/src/sap/ui/model/odata/v2/Context.js +1 -1
  235. package/src/sap/ui/model/odata/v2/ODataAnnotations.js +1 -1
  236. package/src/sap/ui/model/odata/v2/ODataListBinding.js +5 -2
  237. package/src/sap/ui/model/odata/v2/ODataModel.js +6 -55
  238. package/src/sap/ui/model/odata/v2/ODataTreeBinding.js +6 -3
  239. package/src/sap/ui/model/odata/v4/Context.js +1 -1
  240. package/src/sap/ui/model/odata/v4/ODataBinding.js +3 -0
  241. package/src/sap/ui/model/odata/v4/ODataContextBinding.js +1 -1
  242. package/src/sap/ui/model/odata/v4/ODataListBinding.js +1 -1
  243. package/src/sap/ui/model/odata/v4/ODataMetaModel.js +2 -2
  244. package/src/sap/ui/model/odata/v4/ODataModel.js +1 -1
  245. package/src/sap/ui/model/odata/v4/ODataPropertyBinding.js +1 -1
  246. package/src/sap/ui/model/resource/ResourceModel.js +1 -1
  247. package/src/sap/ui/model/type/Boolean.js +1 -1
  248. package/src/sap/ui/model/type/Currency.js +1 -1
  249. package/src/sap/ui/model/type/Date.js +1 -1
  250. package/src/sap/ui/model/type/DateInterval.js +1 -1
  251. package/src/sap/ui/model/type/DateTime.js +1 -1
  252. package/src/sap/ui/model/type/DateTimeInterval.js +1 -1
  253. package/src/sap/ui/model/type/FileSize.js +1 -1
  254. package/src/sap/ui/model/type/Float.js +1 -1
  255. package/src/sap/ui/model/type/Integer.js +1 -1
  256. package/src/sap/ui/model/type/String.js +1 -1
  257. package/src/sap/ui/model/type/Time.js +1 -1
  258. package/src/sap/ui/model/type/TimeInterval.js +1 -1
  259. package/src/sap/ui/model/type/Unit.js +1 -1
  260. package/src/sap/ui/model/xml/XMLModel.js +1 -1
  261. package/src/sap/ui/performance/trace/Interaction.js +20 -16
  262. package/src/sap/ui/qunit/utils/ControlIterator.js +1 -1
  263. package/src/sap/ui/qunit/utils/MemoryLeakCheck.js +1 -1
  264. package/src/sap/ui/test/actions/EnterText.js +4 -0
  265. package/src/sap/ui/test/generic/TestBase.js +1 -1
  266. package/src/sap/ui/util/Storage.js +1 -1
  267. package/test/sap/ui/core/demokit/sample/MessageManager/ODataBackendMessagesComp/manifest.json +3 -10
  268. package/test/sap/ui/core/demokit/sample/MessageManager/ODataBackendMessagesComp/package.json +13 -0
  269. package/test/sap/ui/core/demokit/sample/MessageManager/ODataBackendMessagesComp/ui5.yaml +11 -0
  270. package/test/sap/ui/core/demokit/sample/matcher/BindingPath/manifest.json +3 -11
  271. package/test/sap/ui/core/demokit/sample/matcher/BindingPath/package.json +13 -0
  272. package/test/sap/ui/core/demokit/sample/matcher/BindingPath/ui5.yaml +11 -0
  273. package/test/sap/ui/core/demokit/sample/matcher/Descendant/Component.js +1 -1
  274. package/test/sap/ui/core/demokit/sample/matcher/Descendant/manifest.json +3 -11
  275. package/test/sap/ui/core/demokit/sample/matcher/Descendant/package.json +13 -0
  276. package/test/sap/ui/core/demokit/sample/matcher/Descendant/ui5.yaml +11 -0
  277. package/test/sap/ui/core/demokit/sample/matcher/I18NText/manifest.json +3 -11
  278. package/test/sap/ui/core/demokit/sample/matcher/I18NText/package.json +13 -0
  279. package/test/sap/ui/core/demokit/sample/matcher/I18NText/ui5.yaml +11 -0
  280. package/test/sap/ui/core/demokit/sample/matcher/LabelFor/manifest.json +3 -11
  281. package/test/sap/ui/core/demokit/sample/matcher/LabelFor/package.json +13 -0
  282. package/test/sap/ui/core/demokit/sample/matcher/LabelFor/ui5.yaml +11 -0
  283. package/test/sap/ui/core/demokit/tutorial/databinding/01/Component.js +9 -25
  284. package/test/sap/ui/core/demokit/tutorial/databinding/01/manifest.json +20 -0
  285. package/test/sap/ui/core/demokit/tutorial/databinding/01/ui5.yaml +1 -1
  286. package/test/sap/ui/core/demokit/tutorial/databinding/01/webapp/manifest.json +5 -0
  287. package/test/sap/ui/core/demokit/tutorial/databinding/02/Component.js +9 -25
  288. package/test/sap/ui/core/demokit/tutorial/databinding/02/manifest.json +20 -0
  289. package/test/sap/ui/core/demokit/tutorial/databinding/02/ui5.yaml +1 -1
  290. package/test/sap/ui/core/demokit/tutorial/databinding/02/webapp/manifest.json +5 -0
  291. package/test/sap/ui/core/demokit/tutorial/databinding/03/Component.js +9 -25
  292. package/test/sap/ui/core/demokit/tutorial/databinding/03/manifest.json +20 -0
  293. package/test/sap/ui/core/demokit/tutorial/databinding/03/ui5.yaml +1 -1
  294. package/test/sap/ui/core/demokit/tutorial/databinding/03/webapp/manifest.json +5 -0
  295. package/test/sap/ui/core/demokit/tutorial/databinding/04/Component.js +9 -26
  296. package/test/sap/ui/core/demokit/tutorial/databinding/04/manifest.json +21 -0
  297. package/test/sap/ui/core/demokit/tutorial/databinding/04/ui5.yaml +1 -1
  298. package/test/sap/ui/core/demokit/tutorial/databinding/04/webapp/manifest.json +5 -0
  299. package/test/sap/ui/core/demokit/tutorial/databinding/05/Component.js +9 -26
  300. package/test/sap/ui/core/demokit/tutorial/databinding/05/manifest.json +21 -0
  301. package/test/sap/ui/core/demokit/tutorial/databinding/05/ui5.yaml +1 -1
  302. package/test/sap/ui/core/demokit/tutorial/databinding/05/webapp/manifest.json +5 -0
  303. package/test/sap/ui/core/demokit/tutorial/databinding/06/Component.js +9 -27
  304. package/test/sap/ui/core/demokit/tutorial/databinding/06/manifest.json +22 -0
  305. package/test/sap/ui/core/demokit/tutorial/databinding/06/ui5.yaml +1 -1
  306. package/test/sap/ui/core/demokit/tutorial/databinding/06/webapp/manifest.json +5 -0
  307. package/test/sap/ui/core/demokit/tutorial/databinding/07/Component.js +9 -28
  308. package/test/sap/ui/core/demokit/tutorial/databinding/07/manifest.json +23 -0
  309. package/test/sap/ui/core/demokit/tutorial/databinding/07/ui5.yaml +1 -1
  310. package/test/sap/ui/core/demokit/tutorial/databinding/07/webapp/manifest.json +5 -0
  311. package/test/sap/ui/core/demokit/tutorial/databinding/08/Component.js +9 -28
  312. package/test/sap/ui/core/demokit/tutorial/databinding/08/manifest.json +23 -0
  313. package/test/sap/ui/core/demokit/tutorial/databinding/08/ui5.yaml +1 -1
  314. package/test/sap/ui/core/demokit/tutorial/databinding/08/webapp/manifest.json +5 -0
  315. package/test/sap/ui/core/demokit/tutorial/databinding/09/Component.js +9 -29
  316. package/test/sap/ui/core/demokit/tutorial/databinding/09/manifest.json +24 -0
  317. package/test/sap/ui/core/demokit/tutorial/databinding/09/ui5.yaml +1 -1
  318. package/test/sap/ui/core/demokit/tutorial/databinding/09/webapp/manifest.json +5 -0
  319. package/test/sap/ui/core/demokit/tutorial/databinding/10/Component.js +9 -29
  320. package/test/sap/ui/core/demokit/tutorial/databinding/10/manifest.json +24 -0
  321. package/test/sap/ui/core/demokit/tutorial/databinding/10/ui5.yaml +1 -1
  322. package/test/sap/ui/core/demokit/tutorial/databinding/10/webapp/manifest.json +5 -0
  323. package/test/sap/ui/core/demokit/tutorial/databinding/11/Component.js +9 -29
  324. package/test/sap/ui/core/demokit/tutorial/databinding/11/manifest.json +24 -0
  325. package/test/sap/ui/core/demokit/tutorial/databinding/11/ui5.yaml +1 -1
  326. package/test/sap/ui/core/demokit/tutorial/databinding/11/webapp/manifest.json +5 -0
  327. package/test/sap/ui/core/demokit/tutorial/databinding/12/Component.js +9 -30
  328. package/test/sap/ui/core/demokit/tutorial/databinding/12/manifest.json +25 -0
  329. package/test/sap/ui/core/demokit/tutorial/databinding/12/ui5.yaml +1 -1
  330. package/test/sap/ui/core/demokit/tutorial/databinding/12/webapp/manifest.json +5 -0
  331. package/test/sap/ui/core/demokit/tutorial/databinding/13/Component.js +9 -30
  332. package/test/sap/ui/core/demokit/tutorial/databinding/13/manifest.json +25 -0
  333. package/test/sap/ui/core/demokit/tutorial/databinding/13/ui5.yaml +1 -1
  334. package/test/sap/ui/core/demokit/tutorial/databinding/13/webapp/manifest.json +5 -0
  335. package/test/sap/ui/core/demokit/tutorial/databinding/14/Component.js +9 -30
  336. package/test/sap/ui/core/demokit/tutorial/databinding/14/manifest.json +25 -0
  337. package/test/sap/ui/core/demokit/tutorial/databinding/14/ui5.yaml +1 -1
  338. package/test/sap/ui/core/demokit/tutorial/databinding/14/webapp/manifest.json +5 -0
  339. package/test/sap/ui/core/demokit/tutorial/databinding/15/Component.js +9 -32
  340. package/test/sap/ui/core/demokit/tutorial/databinding/15/manifest.json +27 -0
  341. package/test/sap/ui/core/demokit/tutorial/databinding/15/ui5.yaml +1 -1
  342. package/test/sap/ui/core/demokit/tutorial/databinding/15/webapp/manifest.json +5 -0
  343. package/test/sap/ui/core/demokit/tutorial/mockserver/01/Component.js +9 -30
  344. package/test/sap/ui/core/demokit/tutorial/mockserver/01/manifest.json +24 -0
  345. package/test/sap/ui/core/demokit/tutorial/mockserver/01/ui5.yaml +1 -1
  346. package/test/sap/ui/core/demokit/tutorial/mockserver/02/Component.js +9 -33
  347. package/test/sap/ui/core/demokit/tutorial/mockserver/02/manifest.json +27 -0
  348. package/test/sap/ui/core/demokit/tutorial/mockserver/02/ui5.yaml +1 -1
  349. package/test/sap/ui/core/demokit/tutorial/mockserver/03/Component.js +9 -33
  350. package/test/sap/ui/core/demokit/tutorial/mockserver/03/manifest.json +27 -0
  351. package/test/sap/ui/core/demokit/tutorial/mockserver/03/ui5.yaml +1 -1
  352. package/test/sap/ui/core/demokit/tutorial/mockserver/04/Component.js +9 -33
  353. package/test/sap/ui/core/demokit/tutorial/mockserver/04/manifest.json +27 -0
  354. package/test/sap/ui/core/demokit/tutorial/mockserver/04/ui5.yaml +1 -1
  355. package/test/sap/ui/core/demokit/tutorial/navigation/01/Component.js +9 -33
  356. package/test/sap/ui/core/demokit/tutorial/navigation/01/manifest.json +28 -0
  357. package/test/sap/ui/core/demokit/tutorial/navigation/01/ui5.yaml +1 -1
  358. package/test/sap/ui/core/demokit/tutorial/navigation/02/Component.js +9 -35
  359. package/test/sap/ui/core/demokit/tutorial/navigation/02/manifest.json +30 -0
  360. package/test/sap/ui/core/demokit/tutorial/navigation/02/ui5.yaml +1 -1
  361. package/test/sap/ui/core/demokit/tutorial/navigation/03/Component.js +9 -37
  362. package/test/sap/ui/core/demokit/tutorial/navigation/03/manifest.json +32 -0
  363. package/test/sap/ui/core/demokit/tutorial/navigation/03/ui5.yaml +1 -1
  364. package/test/sap/ui/core/demokit/tutorial/navigation/04/Component.js +9 -38
  365. package/test/sap/ui/core/demokit/tutorial/navigation/04/manifest.json +33 -0
  366. package/test/sap/ui/core/demokit/tutorial/navigation/04/ui5.yaml +1 -1
  367. package/test/sap/ui/core/demokit/tutorial/navigation/05/Component.js +9 -38
  368. package/test/sap/ui/core/demokit/tutorial/navigation/05/manifest.json +33 -0
  369. package/test/sap/ui/core/demokit/tutorial/navigation/05/ui5.yaml +1 -1
  370. package/test/sap/ui/core/demokit/tutorial/navigation/06/Component.js +9 -40
  371. package/test/sap/ui/core/demokit/tutorial/navigation/06/manifest.json +35 -0
  372. package/test/sap/ui/core/demokit/tutorial/navigation/06/ui5.yaml +1 -1
  373. package/test/sap/ui/core/demokit/tutorial/navigation/07/Component.js +9 -42
  374. package/test/sap/ui/core/demokit/tutorial/navigation/07/manifest.json +37 -0
  375. package/test/sap/ui/core/demokit/tutorial/navigation/07/ui5.yaml +1 -1
  376. package/test/sap/ui/core/demokit/tutorial/navigation/08/Component.js +9 -45
  377. package/test/sap/ui/core/demokit/tutorial/navigation/08/manifest.json +40 -0
  378. package/test/sap/ui/core/demokit/tutorial/navigation/08/ui5.yaml +1 -1
  379. package/test/sap/ui/core/demokit/tutorial/navigation/09/Component.js +9 -45
  380. package/test/sap/ui/core/demokit/tutorial/navigation/09/manifest.json +40 -0
  381. package/test/sap/ui/core/demokit/tutorial/navigation/09/ui5.yaml +1 -1
  382. package/test/sap/ui/core/demokit/tutorial/navigation/10/Component.js +9 -47
  383. package/test/sap/ui/core/demokit/tutorial/navigation/10/manifest.json +42 -0
  384. package/test/sap/ui/core/demokit/tutorial/navigation/10/ui5.yaml +1 -1
  385. package/test/sap/ui/core/demokit/tutorial/navigation/11/Component.js +9 -52
  386. package/test/sap/ui/core/demokit/tutorial/navigation/11/manifest.json +47 -0
  387. package/test/sap/ui/core/demokit/tutorial/navigation/11/ui5.yaml +1 -1
  388. package/test/sap/ui/core/demokit/tutorial/navigation/12/Component.js +9 -52
  389. package/test/sap/ui/core/demokit/tutorial/navigation/12/manifest.json +47 -0
  390. package/test/sap/ui/core/demokit/tutorial/navigation/12/ui5.yaml +1 -1
  391. package/test/sap/ui/core/demokit/tutorial/navigation/13/Component.js +9 -52
  392. package/test/sap/ui/core/demokit/tutorial/navigation/13/manifest.json +47 -0
  393. package/test/sap/ui/core/demokit/tutorial/navigation/13/ui5.yaml +1 -1
  394. package/test/sap/ui/core/demokit/tutorial/navigation/14/Component.js +9 -52
  395. package/test/sap/ui/core/demokit/tutorial/navigation/14/manifest.json +47 -0
  396. package/test/sap/ui/core/demokit/tutorial/navigation/14/ui5.yaml +1 -1
  397. package/test/sap/ui/core/demokit/tutorial/navigation/15/Component.js +9 -52
  398. package/test/sap/ui/core/demokit/tutorial/navigation/15/manifest.json +47 -0
  399. package/test/sap/ui/core/demokit/tutorial/navigation/15/ui5.yaml +1 -1
  400. package/test/sap/ui/core/demokit/tutorial/navigation/16/Component.js +9 -52
  401. package/test/sap/ui/core/demokit/tutorial/navigation/16/manifest.json +47 -0
  402. package/test/sap/ui/core/demokit/tutorial/navigation/16/ui5.yaml +1 -1
  403. package/test/sap/ui/core/demokit/tutorial/navigation/17/Component.js +9 -52
  404. package/test/sap/ui/core/demokit/tutorial/navigation/17/manifest.json +47 -0
  405. package/test/sap/ui/core/demokit/tutorial/navigation/17/ui5.yaml +1 -1
  406. package/test/sap/ui/core/demokit/tutorial/odatav4/01/Component.js +3 -27
  407. package/test/sap/ui/core/demokit/tutorial/odatav4/01/manifest.json +28 -0
  408. package/test/sap/ui/core/demokit/tutorial/odatav4/01/ui5.yaml +1 -1
  409. package/test/sap/ui/core/demokit/tutorial/odatav4/02/Component.js +3 -27
  410. package/test/sap/ui/core/demokit/tutorial/odatav4/02/manifest.json +28 -0
  411. package/test/sap/ui/core/demokit/tutorial/odatav4/02/ui5.yaml +1 -1
  412. package/test/sap/ui/core/demokit/tutorial/odatav4/03/Component.js +3 -27
  413. package/test/sap/ui/core/demokit/tutorial/odatav4/03/manifest.json +28 -0
  414. package/test/sap/ui/core/demokit/tutorial/odatav4/03/ui5.yaml +1 -1
  415. package/test/sap/ui/core/demokit/tutorial/odatav4/04/Component.js +3 -27
  416. package/test/sap/ui/core/demokit/tutorial/odatav4/04/manifest.json +28 -0
  417. package/test/sap/ui/core/demokit/tutorial/odatav4/04/ui5.yaml +1 -1
  418. package/test/sap/ui/core/demokit/tutorial/odatav4/05/Component.js +3 -27
  419. package/test/sap/ui/core/demokit/tutorial/odatav4/05/manifest.json +28 -0
  420. package/test/sap/ui/core/demokit/tutorial/odatav4/05/ui5.yaml +1 -1
  421. package/test/sap/ui/core/demokit/tutorial/odatav4/06/Component.js +3 -27
  422. package/test/sap/ui/core/demokit/tutorial/odatav4/06/manifest.json +28 -0
  423. package/test/sap/ui/core/demokit/tutorial/odatav4/06/ui5.yaml +1 -1
  424. package/test/sap/ui/core/demokit/tutorial/odatav4/07/Component.js +3 -27
  425. package/test/sap/ui/core/demokit/tutorial/odatav4/07/manifest.json +28 -0
  426. package/test/sap/ui/core/demokit/tutorial/odatav4/07/ui5.yaml +1 -1
  427. package/test/sap/ui/core/demokit/tutorial/odatav4/08/Component.js +3 -27
  428. package/test/sap/ui/core/demokit/tutorial/odatav4/08/manifest.json +28 -0
  429. package/test/sap/ui/core/demokit/tutorial/odatav4/08/ui5.yaml +1 -1
  430. package/test/sap/ui/core/demokit/tutorial/odatav4/09/Component.js +3 -27
  431. package/test/sap/ui/core/demokit/tutorial/odatav4/09/manifest.json +28 -0
  432. package/test/sap/ui/core/demokit/tutorial/odatav4/09/ui5.yaml +1 -1
  433. package/test/sap/ui/core/demokit/tutorial/odatav4/10/Component.js +3 -27
  434. package/test/sap/ui/core/demokit/tutorial/odatav4/10/manifest.json +28 -0
  435. package/test/sap/ui/core/demokit/tutorial/odatav4/10/ui5.yaml +1 -1
  436. package/test/sap/ui/core/demokit/tutorial/odatav4/11/Component.js +3 -27
  437. package/test/sap/ui/core/demokit/tutorial/odatav4/11/manifest.json +28 -0
  438. package/test/sap/ui/core/demokit/tutorial/odatav4/11/ui5.yaml +1 -1
  439. package/test/sap/ui/core/demokit/tutorial/troubleshooting/01/Component.js +9 -29
  440. package/test/sap/ui/core/demokit/tutorial/troubleshooting/01/manifest.json +25 -0
  441. package/test/sap/ui/core/demokit/tutorial/troubleshooting/01/ui5.yaml +1 -1
  442. package/test/sap/ui/core/qunit/ClientModel.qunit.js +28 -28
  443. package/test/sap/ui/core/qunit/Lib.qunit.js +42 -0
  444. package/test/sap/ui/core/qunit/ManagedObject.qunit.js +86 -3
  445. package/test/sap/ui/core/qunit/base/i18n/Formatting.qunit.js +19 -0
  446. package/test/sap/ui/core/qunit/component/Component.qunit.js +26 -3
  447. package/test/sap/ui/core/qunit/i18n/Islamic.qunit.js +4 -4
  448. package/test/sap/ui/core/qunit/model/ClientListBinding.qunit.js +2 -2
  449. package/test/sap/ui/core/qunit/model/ClientTreeBinding.qunit.js +2 -2
  450. package/test/sap/ui/core/qunit/model/FilterProcessor.qunit.js +46 -18
  451. package/test/sap/ui/core/qunit/model/Model.qunit.js +43 -2
  452. package/test/sap/ui/core/qunit/odata/ODataModel_legacyAPIs.qunit.js +22 -22
  453. package/test/sap/ui/core/qunit/odata/ODataTreeBindingAdapter.qunit.js +1 -1
  454. package/test/sap/ui/core/qunit/odata/v2/ODataListBindingNoFakeService.qunit.js +16 -16
  455. package/test/sap/ui/core/qunit/odata/v2/ODataModelNoFakeService.qunit.js +2 -11
  456. package/test/sap/ui/core/qunit/odata/v2/ODataTreeBindingNoFakeService.qunit.js +17 -17
  457. package/test/sap/ui/core/qunit/odata/v2/ODataV2Model.qunit.js +32 -36
  458. package/test/sap/ui/core/qunit/odata/v4/ODataBinding.qunit.js +19 -9
  459. package/test/sap/ui/core/qunit/odata/v4/ODataMetaModel.qunit.js +5 -5
  460. package/test/sap/ui/core/qunit/odata/v4/ODataModel.integration.qunit.js +37 -0
  461. package/test/sap/ui/core/qunit/opa/actions/EnterText.qunit.js +15 -0
  462. package/test/sap/ui/core/qunit/performance/trace/FESR.qunit.js +11 -2
  463. package/test/sap/ui/core/qunit/performance/trace/Interaction.qunit.js +4 -7
  464. package/test/sap/ui/core/relnotes/changes-1.120.json +82 -0
@@ -178,10 +178,10 @@ sap.ui.define([
178
178
  aFilters = ["~anyFilter"],
179
179
  oModel = {
180
180
  _getObject : function () {},
181
- checkFilterOperation : function () {}
181
+ checkFilter : function () {}
182
182
  };
183
183
 
184
- this.mock(oModel).expects("checkFilterOperation").withExactArgs(sinon.match.same(aFilters));
184
+ this.mock(oModel).expects("checkFilter").withExactArgs(sinon.match.same(aFilters));
185
185
  this.mock(oModel).expects("_getObject")
186
186
  .withExactArgs("~path", "~oContext")
187
187
  .returns({/*any data*/});
@@ -402,38 +402,66 @@ sap.ui.define([
402
402
  });
403
403
 
404
404
  //*********************************************************************************************
405
- QUnit.test("groupFilters with Filter.NONE", function(assert) {
406
- const aFilters = [new Filter({path: 'Price', operator: FilterOperator.EQ, value1: 100}), Filter.NONE];
405
+ QUnit.test("groupFilters: early exit wíthout grouping, check Filter.NONE", function (assert) {
406
+ // code under test: early exit
407
+ assert.strictEqual(FilterProcessor.groupFilters(), undefined);
408
+ assert.strictEqual(FilterProcessor.groupFilters([]), undefined);
407
409
 
408
410
  // code under test
409
- assert.strictEqual(FilterProcessor.groupFilters(aFilters), Filter.NONE);
411
+ assert.strictEqual(FilterProcessor.groupFilters(["~oFilter"]), "~oFilter");
412
+
413
+ const aFilters = ["~oFilter", Filter.NONE];
414
+ const oError = new Error("~Filter.NONE error");
415
+ this.mock(Filter).expects("checkFilterNone").withExactArgs(sinon.match.same(aFilters)).throws(oError);
416
+
417
+ // code under test
418
+ assert.throws(() => {
419
+ FilterProcessor.groupFilters(aFilters);
420
+ }, oError);
421
+
410
422
  });
411
423
 
412
424
  //*********************************************************************************************
413
- QUnit.test("combineFilters with application Filter.NONE", function(assert) {
414
- const aApplicationFilters = [Filter.NONE];
415
- const aControlFilters = [new Filter({path: 'Price', operator: FilterOperator.EQ, value1: 100})];
425
+ QUnit.test("combineFilters: filter c'tor throws error", function (assert) {
426
+ // code under test
427
+ assert.throws(() => {
428
+ FilterProcessor.combineFilters([Filter.NONE], [Filter.NONE]);
429
+ }, new Error("Filter.NONE not allowed in multiple filter"));
430
+ });
431
+
432
+ //*********************************************************************************************
433
+ QUnit.test("combineFilters: groupFilter throws error", function (assert) {
434
+ const aApplicationFilters = "~ApplicationFilters";
435
+ const oError = new Error("~Filter.NONE error");
436
+ const aFilters = "~Filters";
416
437
  const oFilterProcessorMock = this.mock(FilterProcessor);
417
438
 
418
- oFilterProcessorMock.expects("groupFilters").withExactArgs(aControlFilters).returns("~oGroupedFilter");
419
- oFilterProcessorMock.expects("groupFilters").withExactArgs(aApplicationFilters).returns(Filter.NONE);
439
+ oFilterProcessorMock.expects("groupFilters").withExactArgs(aFilters).throws(oError);
440
+
441
+ // code under test
442
+ assert.throws(() => {
443
+ FilterProcessor.combineFilters(aFilters, aApplicationFilters);
444
+ }, oError);
445
+
446
+ oFilterProcessorMock.expects("groupFilters").withExactArgs(aFilters).returns("~someGroupedFilter");
447
+ oFilterProcessorMock.expects("groupFilters").withExactArgs(aApplicationFilters).throws(oError);
420
448
 
421
449
  // code under test
422
- assert.strictEqual(FilterProcessor.combineFilters(aControlFilters, aApplicationFilters), Filter.NONE);
450
+ assert.throws(() => {
451
+ FilterProcessor.combineFilters(aFilters, aApplicationFilters);
452
+ }, oError);
423
453
  });
424
454
 
425
455
  //*********************************************************************************************
426
- QUnit.test("combineFilters with control Filter.NONE", function(assert) {
427
- const aApplicationFilters = [new Filter({path: 'Price', operator: FilterOperator.EQ, value1: 100})];
428
- const aControlFilters = [Filter.NONE];
429
- const oFilterProcessorMock = this.mock(FilterProcessor);
430
-
431
- oFilterProcessorMock.expects("groupFilters").withExactArgs(aControlFilters).returns(Filter.NONE);
432
- oFilterProcessorMock.expects("groupFilters").withExactArgs(aApplicationFilters)
433
- .returns("~oGroupedApplicationFilter");
456
+ QUnit.test("apply: propagates error from groupFilters", function (assert) {
457
+ const aFilters = ["~oFilter", Filter.NONE];
458
+ const oError = new Error("~Filter.NONE error");
459
+ this.mock(FilterProcessor).expects("groupFilters").withExactArgs(sinon.match.same(aFilters)).throws(oError);
434
460
 
435
461
  // code under test
436
- assert.strictEqual(FilterProcessor.combineFilters(aControlFilters, aApplicationFilters), Filter.NONE);
462
+ assert.throws(() => {
463
+ FilterProcessor.apply([/*aData*/], aFilters);
464
+ }, oError);
437
465
  });
438
466
 
439
467
  QUnit.test("apply: values contain 'toString' value", function (assert) {
@@ -5,9 +5,11 @@ sap.ui.define([
5
5
  "sap/base/Log",
6
6
  "sap/ui/core/message/Message",
7
7
  "sap/ui/model/BindingMode",
8
+ "sap/ui/model/Filter",
9
+ "sap/ui/model/FilterOperator",
8
10
  "sap/ui/model/Model"
9
- ], function (Log, Message, BindingMode, Model) {
10
- /*global QUnit, Set*/
11
+ ], function (Log, Message, BindingMode, Filter, FilterOperator, Model) {
12
+ /*global QUnit, sinon*/
11
13
  /*eslint max-nested-callbacks: 0*/
12
14
  "use strict";
13
15
 
@@ -241,4 +243,43 @@ sap.ui.define([
241
243
  assert.strictEqual(oModel.bForceUpdate, undefined);
242
244
  assert.strictEqual(oModel.sUpdateTimer, null);
243
245
  });
246
+
247
+ //*********************************************************************************************
248
+ QUnit.test("checkFilter: success", function (assert) {
249
+ const oFilter = new Filter({path: 'Price', operator: FilterOperator.EQ, value1: 100});
250
+ this.mock(Filter).expects("checkFilterNone").withExactArgs(sinon.match.same(oFilter));
251
+ const oModel = new Model();
252
+ this.mock(Model).expects("_traverseFilter").withExactArgs(sinon.match.same(oFilter), sinon.match.func)
253
+ .callsArgOnWith(1, oModel, oFilter);
254
+
255
+ // code under test
256
+ oModel.checkFilter(oFilter);
257
+ });
258
+
259
+ //*********************************************************************************************
260
+ QUnit.test("checkFilter: throws error", function (assert) {
261
+ const oError = new Error("~Error");
262
+ const oFilter = new Filter({path: 'Price', operator: FilterOperator.EQ, value1: 100});
263
+ const oFilterMock = this.mock(Filter);
264
+ oFilterMock.expects("checkFilterNone").withExactArgs(sinon.match.same(oFilter))
265
+ .throws(oError);
266
+ const oModelMock = this.mock(Model);
267
+ oModelMock.expects("_traverseFilter").never();
268
+
269
+ const oModel = new Model();
270
+ // code under test
271
+ assert.throws(function () {
272
+ oModel.checkFilter(oFilter);
273
+ }, oError);
274
+
275
+ oModel.mUnsupportedFilterOperators["EQ"] = true;
276
+ oFilterMock.expects("checkFilterNone").withExactArgs(sinon.match.same(oFilter));
277
+ oModelMock.expects("_traverseFilter").withExactArgs(oFilter, sinon.match.func)
278
+ .callsArgOnWith(1, oModel, oFilter);
279
+
280
+ // code under test
281
+ assert.throws(function () {
282
+ oModel.checkFilter(oFilter);
283
+ }, new Error("Filter instances contain an unsupported FilterOperator: EQ"));
284
+ });
244
285
  });
@@ -1939,17 +1939,17 @@ sap.ui.define([
1939
1939
  });
1940
1940
 
1941
1941
  QUnit.test("Empty Arguments", function(assert) {
1942
- this.oModel.checkFilterOperation();
1942
+ this.oModel.checkFilter();
1943
1943
  assert.ok(true, "No arguments lead to a positive result");
1944
1944
 
1945
- this.oModel.checkFilterOperation([]);
1945
+ this.oModel.checkFilter([]);
1946
1946
  assert.ok(true, "Empty array lead to a positive result");
1947
1947
  });
1948
1948
 
1949
1949
  QUnit.test("Simple Filters - Supported are OK", function(assert) {
1950
1950
  // comma separated syntax
1951
1951
  var oSupported = new Filter("x", FilterOperator.NE, "Foo");
1952
- this.oModel.checkFilterOperation(oSupported);
1952
+ this.oModel.checkFilter(oSupported);
1953
1953
  assert.ok(true, "Valid operators are supported");
1954
1954
 
1955
1955
  // object syntax
@@ -1958,12 +1958,12 @@ sap.ui.define([
1958
1958
  operator: FilterOperator.NE,
1959
1959
  value1: "FooBar"
1960
1960
  });
1961
- this.oModel.checkFilterOperation(oSupported2);
1961
+ this.oModel.checkFilter(oSupported2);
1962
1962
  assert.ok(true, "Valid operators are supported");
1963
1963
 
1964
1964
  // local fnTest - comma separated (should be ignored)
1965
1965
  var oSupported3 = new Filter("z", function() {});
1966
- this.oModel.checkFilterOperation(oSupported3);
1966
+ this.oModel.checkFilter(oSupported3);
1967
1967
  assert.ok(true, true, "local fnTest is ignored (comma separated syntax)");
1968
1968
 
1969
1969
  // local fnTest - object syntax (should be ignored)
@@ -1971,7 +1971,7 @@ sap.ui.define([
1971
1971
  path: "z",
1972
1972
  test: function() {}
1973
1973
  });
1974
- this.oModel.checkFilterOperation(oSupported4);
1974
+ this.oModel.checkFilter(oSupported4);
1975
1975
  assert.ok(true, "local fnTest is ignored (object syntax)");
1976
1976
  });
1977
1977
 
@@ -1985,7 +1985,7 @@ sap.ui.define([
1985
1985
  });
1986
1986
  assert.throws(
1987
1987
  function() {
1988
- this.oModel.checkFilterOperation(oUnsupported3);
1988
+ this.oModel.checkFilter(oUnsupported3);
1989
1989
  }.bind(this),
1990
1990
  this.getErrorWithMessage(FilterOperator.Any),
1991
1991
  "Invalid operators are not supported (object syntax)"
@@ -2000,7 +2000,7 @@ sap.ui.define([
2000
2000
  });
2001
2001
  assert.throws(
2002
2002
  function() {
2003
- this.oModel.checkFilterOperation(oUnsupported4);
2003
+ this.oModel.checkFilter(oUnsupported4);
2004
2004
  }.bind(this),
2005
2005
  this.getErrorWithMessage(FilterOperator.All),
2006
2006
  "Invalid operators are not supported (object syntax)"
@@ -2017,7 +2017,7 @@ sap.ui.define([
2017
2017
  });
2018
2018
  assert.throws(
2019
2019
  function() {
2020
- this.oModel.checkFilterOperation(oUnsupported3);
2020
+ this.oModel.checkFilter(oUnsupported3);
2021
2021
  }.bind(this),
2022
2022
  this.getErrorWithMessage(FilterOperator.Any),
2023
2023
  "Invalid operators are not supported (object syntax)"
@@ -2032,7 +2032,7 @@ sap.ui.define([
2032
2032
  });
2033
2033
  assert.throws(
2034
2034
  function() {
2035
- this.oModel.checkFilterOperation(oUnsupported4);
2035
+ this.oModel.checkFilter(oUnsupported4);
2036
2036
  }.bind(this),
2037
2037
  this.getErrorWithMessage(FilterOperator.All),
2038
2038
  "Invalid operators are not supported (object syntax)"
@@ -2049,7 +2049,7 @@ sap.ui.define([
2049
2049
  and: true
2050
2050
  });
2051
2051
 
2052
- this.oModel.checkFilterOperation(oMultiFilter);
2052
+ this.oModel.checkFilter(oMultiFilter);
2053
2053
  assert.ok(true, "Valid operators in multi-filter are supported (object syntax)");
2054
2054
  });
2055
2055
 
@@ -2065,7 +2065,7 @@ sap.ui.define([
2065
2065
  });
2066
2066
  assert.throws(
2067
2067
  function() {
2068
- this.oModel.checkFilterOperation(oMultiFilter);
2068
+ this.oModel.checkFilter(oMultiFilter);
2069
2069
  }.bind(this),
2070
2070
  this.getErrorWithMessage(FilterOperator.All),
2071
2071
  "Invalid operators in multi-filter are unsupported (object syntax)"
@@ -2078,7 +2078,7 @@ sap.ui.define([
2078
2078
  });
2079
2079
  assert.throws(
2080
2080
  function() {
2081
- this.oModel.checkFilterOperation(oMultiFilter);
2081
+ this.oModel.checkFilter(oMultiFilter);
2082
2082
  }.bind(this),
2083
2083
  this.getErrorWithMessage(FilterOperator.All),
2084
2084
  "Invalid operators in multi-filter are unsupported (object syntax)"
@@ -2088,7 +2088,7 @@ sap.ui.define([
2088
2088
  var oMultiFilter2 = new Filter([oFilter1, oFilter2], true);
2089
2089
  assert.throws(
2090
2090
  function() {
2091
- this.oModel.checkFilterOperation(oMultiFilter2);
2091
+ this.oModel.checkFilter(oMultiFilter2);
2092
2092
  }.bind(this),
2093
2093
  this.getErrorWithMessage(FilterOperator.All),
2094
2094
  "Invalid operators in multi-filter are unsupported (comma separated syntax)"
@@ -2102,7 +2102,7 @@ sap.ui.define([
2102
2102
  oMultiFilter2 = new Filter([oFilter1, oFilter2], true);
2103
2103
  assert.throws(
2104
2104
  function() {
2105
- this.oModel.checkFilterOperation(oMultiFilter2);
2105
+ this.oModel.checkFilter(oMultiFilter2);
2106
2106
  }.bind(this),
2107
2107
  this.getErrorWithMessage(FilterOperator.Any),
2108
2108
  "Invalid operators in multi-filter are unsupported (comma separated syntax)"
@@ -2121,7 +2121,7 @@ sap.ui.define([
2121
2121
  });
2122
2122
  assert.throws(
2123
2123
  function() {
2124
- this.oModel.checkFilterOperation(oMultiFilter);
2124
+ this.oModel.checkFilter(oMultiFilter);
2125
2125
  }.bind(this),
2126
2126
  this.getErrorWithMessage(FilterOperator.All),
2127
2127
  "Invalid operators in multi-filter are unsupported (object syntax)"
@@ -2134,7 +2134,7 @@ sap.ui.define([
2134
2134
  });
2135
2135
  assert.throws(
2136
2136
  function() {
2137
- this.oModel.checkFilterOperation(oMultiFilter);
2137
+ this.oModel.checkFilter(oMultiFilter);
2138
2138
  }.bind(this),
2139
2139
  this.getErrorWithMessage(FilterOperator.All),
2140
2140
  "Invalid operators in multi-filter are unsupported (object syntax)"
@@ -2144,7 +2144,7 @@ sap.ui.define([
2144
2144
  var oMultiFilter2 = new Filter([oFilter1, oFilter2], true);
2145
2145
  assert.throws(
2146
2146
  function() {
2147
- this.oModel.checkFilterOperation(oMultiFilter2);
2147
+ this.oModel.checkFilter(oMultiFilter2);
2148
2148
  }.bind(this),
2149
2149
  this.getErrorWithMessage(FilterOperator.All),
2150
2150
  "Invalid operators in multi-filter are unsupported (comma separated syntax)"
@@ -2159,7 +2159,7 @@ sap.ui.define([
2159
2159
 
2160
2160
  assert.throws(
2161
2161
  function() {
2162
- this.oModel.checkFilterOperation(oMultiFilter2);
2162
+ this.oModel.checkFilter(oMultiFilter2);
2163
2163
  }.bind(this),
2164
2164
  this.getErrorWithMessage(FilterOperator.Any),
2165
2165
  "Invalid operators in multi-filter are unsupported (comma separated syntax)"
@@ -2180,7 +2180,7 @@ sap.ui.define([
2180
2180
 
2181
2181
  var oMultiFilter3 = new Filter([oMultiFilter2, oFilter4]);
2182
2182
 
2183
- this.oModel.checkFilterOperation(oMultiFilter3);
2183
+ this.oModel.checkFilter(oMultiFilter3);
2184
2184
  assert.ok(true, "Valid operators in multi-filter are supported");
2185
2185
  });
2186
2186
 
@@ -2203,7 +2203,7 @@ sap.ui.define([
2203
2203
 
2204
2204
  assert.throws(
2205
2205
  function() {
2206
- this.oModel.checkFilterOperation(oMultiFilter3);
2206
+ this.oModel.checkFilter(oMultiFilter3);
2207
2207
  }.bind(this),
2208
2208
  this.getErrorWithMessage(FilterOperator.All),
2209
2209
  "Invalid operators in multi-filter are unsupported"
@@ -2237,7 +2237,7 @@ sap.ui.define([
2237
2237
 
2238
2238
  assert.throws(
2239
2239
  function() {
2240
- this.oModel.checkFilterOperation(oMultiFilter3);
2240
+ this.oModel.checkFilter(oMultiFilter3);
2241
2241
  }.bind(this),
2242
2242
  this.getErrorWithMessage(FilterOperator.All),
2243
2243
  "Invalid operators in multi-filter are unsupported"
@@ -2135,7 +2135,7 @@ sap.ui.define([
2135
2135
  "sap/ui/model/odata/v2/ODataTreeBinding", "sap/ui/model/odata/ODataTreeBindingAdapter"],
2136
2136
  function(ODataTreeBinding, ODataTreeBindingAdapter) {
2137
2137
  var oBinding = new ODataTreeBinding({
2138
- checkFilterOperation: function() { }
2138
+ checkFilter: function() { }
2139
2139
  }, "/");
2140
2140
  ODataTreeBindingAdapter.apply(oBinding);
2141
2141
 
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  var oBinding, oRemoveExpectation, oResetDataExpectation,
41
41
  oContext = {},
42
42
  oModel = {
43
- checkFilterOperation : function () {},
43
+ checkFilter : function () {},
44
44
  createCustomParams : function () {},
45
45
  read : function () {},
46
46
  resolveDeep : function () {}
@@ -51,7 +51,7 @@ sap.ui.define([
51
51
  this.mock(oModel).expects("resolveDeep")
52
52
  .withExactArgs("path", sinon.match.same(oContext))
53
53
  .returns("~deep");
54
- this.mock(oModel).expects("checkFilterOperation").withExactArgs([]);
54
+ this.mock(oModel).expects("checkFilter").withExactArgs([]);
55
55
  this.mock(ODataListBinding.prototype).expects("checkExpandedList")
56
56
  .withExactArgs()
57
57
  .returns(false);
@@ -708,7 +708,7 @@ sap.ui.define([
708
708
  var oBinding,
709
709
  oModel = {
710
710
  read : function () {},
711
- checkFilterOperation : function () {},
711
+ checkFilter : function () {},
712
712
  createCustomParams : function () {},
713
713
  resolve : function () {},
714
714
  resolveDeep : function () {}
@@ -718,7 +718,7 @@ sap.ui.define([
718
718
  .withExactArgs(sinon.match.same(oFixture.parameters))
719
719
  .returns("~custom");
720
720
  this.mock(oModel).expects("resolveDeep").withExactArgs("path", "context").returns("~deep");
721
- this.mock(oModel).expects("checkFilterOperation").withExactArgs([]);
721
+ this.mock(oModel).expects("checkFilter").withExactArgs([]);
722
722
  this.mock(ODataListBinding.prototype).expects("checkExpandedList").withExactArgs()
723
723
  .returns(true);
724
724
  this.mock(ODataListBinding.prototype).expects("_reassignCreateActivate").withExactArgs();
@@ -735,14 +735,14 @@ sap.ui.define([
735
735
  QUnit.test("constructor: remove persisted created contexts without expanded list",
736
736
  function (assert) {
737
737
  var oModel = {
738
- checkFilterOperation : function () {},
738
+ checkFilter : function () {},
739
739
  createCustomParams : function () {},
740
740
  resolveDeep : function () {}
741
741
  };
742
742
 
743
743
  this.mock(oModel).expects("createCustomParams").withExactArgs(undefined).returns("~custom");
744
744
  this.mock(oModel).expects("resolveDeep").withExactArgs("path", "context").returns("~deep");
745
- this.mock(oModel).expects("checkFilterOperation").withExactArgs([]);
745
+ this.mock(oModel).expects("checkFilter").withExactArgs([]);
746
746
  this.mock(ODataListBinding.prototype).expects("checkExpandedList")
747
747
  .withExactArgs()
748
748
  .returns(false);
@@ -766,7 +766,7 @@ sap.ui.define([
766
766
  var oBinding,
767
767
  oModel = {
768
768
  read : function () {},
769
- checkFilterOperation : function () {},
769
+ checkFilter : function () {},
770
770
  createCustomParams : function () {},
771
771
  resolve : function () {},
772
772
  resolveDeep : function () {}
@@ -776,7 +776,7 @@ sap.ui.define([
776
776
  .withExactArgs(sinon.match.same(oFixture.parameters))
777
777
  .returns("~custom");
778
778
  this.mock(oModel).expects("resolveDeep").withExactArgs("path", "context").returns("~deep");
779
- this.mock(oModel).expects("checkFilterOperation").withExactArgs([]);
779
+ this.mock(oModel).expects("checkFilter").withExactArgs([]);
780
780
  this.mock(ODataListBinding.prototype).expects("checkExpandedList").withExactArgs()
781
781
  .returns(true);
782
782
  this.mock(ODataListBinding.prototype).expects("_reassignCreateActivate").withExactArgs();
@@ -796,7 +796,7 @@ sap.ui.define([
796
796
  sDefaultCountMode : "~sDefaultCountMode",
797
797
  sDefaultOperationMode : "~sDefaultOperationMode",
798
798
  bPreliminaryContext : "~bPreliminaryContext",
799
- checkFilterOperation : function () {},
799
+ checkFilter : function () {},
800
800
  createCustomParams : function () {},
801
801
  resolveDeep : function () {}
802
802
  };
@@ -805,7 +805,7 @@ sap.ui.define([
805
805
  this.mock(oModel).expects("resolveDeep")
806
806
  .withExactArgs("~sPath", "~oContext")
807
807
  .returns("~sDeepPath");
808
- this.mock(oModel).expects("checkFilterOperation").withExactArgs([]);
808
+ this.mock(oModel).expects("checkFilter").withExactArgs([]);
809
809
  this.mock(ODataListBinding.prototype).expects("checkExpandedList")
810
810
  .withExactArgs()
811
811
  .returns(true);
@@ -864,7 +864,7 @@ sap.ui.define([
864
864
  isPreliminary : function () {}
865
865
  },
866
866
  oModel = {
867
- checkFilterOperation : function () {},
867
+ checkFilter : function () {},
868
868
  createCustomParams : function () {},
869
869
  resolve : function () {},
870
870
  resolveDeep : function () {}
@@ -876,7 +876,7 @@ sap.ui.define([
876
876
  this.mock(oModel).expects("resolveDeep")
877
877
  .withExactArgs("relativePath", bUsePreliminary ? sinon.match.same(oContext) : undefined)
878
878
  .returns("~deepPath"); // resolveDeep returns undefined for oContext === undefined
879
- this.mock(oModel).expects("checkFilterOperation").withExactArgs([]);
879
+ this.mock(oModel).expects("checkFilter").withExactArgs([]);
880
880
  this.mock(ODataListBinding.prototype).expects("checkExpandedList").withExactArgs().returns(true);
881
881
  this.mock(ODataListBinding.prototype).expects("_reassignCreateActivate").withExactArgs();
882
882
 
@@ -3364,7 +3364,7 @@ sap.ui.define([
3364
3364
  oBinding = {
3365
3365
  aApplicationFilters : aApplicationFilters,
3366
3366
  bInitial : false,
3367
- oModel : {checkFilterOperation : function () {}},
3367
+ oModel : {checkFilter : function () {}},
3368
3368
  _fireRefresh : function () {},
3369
3369
  _removePersistedCreatedContexts : function () {},
3370
3370
  addComparators : function () {},
@@ -3376,7 +3376,7 @@ sap.ui.define([
3376
3376
  oBindingMock = this.mock(oBinding),
3377
3377
  aFilters = bFilterNone ? [Filter.NONE] : [];
3378
3378
 
3379
- this.mock(oBinding.oModel).expects("checkFilterOperation")
3379
+ this.mock(oBinding.oModel).expects("checkFilter")
3380
3380
  .withExactArgs(sinon.match.same(aFilters));
3381
3381
  /** @deprecated As of version 1.22.0, reason sap.ui.model.odata.Filter.js */
3382
3382
  (function() {
@@ -3416,7 +3416,7 @@ sap.ui.define([
3416
3416
  var oBinding = {
3417
3417
  aAllKeys : [],
3418
3418
  bInitial : false,
3419
- oModel : {checkFilterOperation : function () {}},
3419
+ oModel : {checkFilter : function () {}},
3420
3420
  _moveCreatedPersistedToAllKeys : function () {},
3421
3421
  _fireChange : function () {},
3422
3422
  addComparators : function () {},
@@ -3425,7 +3425,7 @@ sap.ui.define([
3425
3425
  useClientMode : function () {}
3426
3426
  };
3427
3427
 
3428
- this.mock(oBinding.oModel).expects("checkFilterOperation").withExactArgs([]);
3428
+ this.mock(oBinding.oModel).expects("checkFilter").withExactArgs([]);
3429
3429
  /** @deprecated As of version 1.22.0, reason sap.ui.model.odata.Filter.js */
3430
3430
  (function() {
3431
3431
  oBinding.convertFilters = function () {};
@@ -4796,7 +4796,7 @@ sap.ui.define([
4796
4796
  }
4797
4797
  },
4798
4798
  bFunctionHasParameter
4799
- ? {"~name0" : "~defaultValue0", "~name1" : "foo"}
4799
+ ? {"~name0" : undefined, "~name1" : "foo"}
4800
4800
  : undefined),
4801
4801
  oMetadata = {
4802
4802
  _getCanonicalPathOfFunctionImport : function () {},
@@ -4810,7 +4810,6 @@ sap.ui.define([
4810
4810
  bUseBatch : "~bUseBatch",
4811
4811
  sServiceUrl : "/service/url",
4812
4812
  _addEntity : function () {},
4813
- _createPropertyValue : function () {},
4814
4813
  _createRequest : function () {},
4815
4814
  _createRequestUrlWithNormalizedPath : function () {},
4816
4815
  _getHeaders : function () {},
@@ -4867,20 +4866,12 @@ sap.ui.define([
4867
4866
  .returns(oFunctionMetadataFixture.oFunctionMetadata);
4868
4867
 
4869
4868
  if (bFunctionHasParameter) {
4870
- oModelMock.expects("_createPropertyValue")
4871
- .withExactArgs("~type0")
4872
- .returns("~defaultValue0");
4873
- oModelMock.expects("_createPropertyValue")
4874
- .withExactArgs("~type1")
4875
- .returns("~defaultValue1");
4876
4869
  this.oLogMock.expects("warning")
4877
4870
  .withExactArgs("No value given for parameter '~name0' of function import"
4878
4871
  + " '/~sFunctionName'", sinon.match.same(oModel), sClassName);
4879
4872
  this.mock(ODataUtils).expects("formatValue")
4880
4873
  .withExactArgs("foo", "~type1")
4881
4874
  .returns("~value1");
4882
- } else {
4883
- oModelMock.expects("_createPropertyValue").never();
4884
4875
  }
4885
4876
 
4886
4877
  oModelMock.expects("_addEntity").withExactArgs(oExpectedOData)
@@ -5290,7 +5281,7 @@ sap.ui.define([
5290
5281
  oModel = {
5291
5282
  // used by ODataListBinding and ODataTreeBinding
5292
5283
  _getCreatedContextsCache : function () {},
5293
- checkFilterOperation : function () {},
5284
+ checkFilter : function () {},
5294
5285
  createCustomParams : function () { return {}; }, // used by ODataListBinding
5295
5286
  resolveDeep : function () {},
5296
5287
  resolveFromCache : function () {}
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  oBinding,
33
33
  oContext = {},
34
34
  oModel = {
35
- checkFilterOperation : function () {},
35
+ checkFilter : function () {},
36
36
  bPreliminaryContext : "bPreliminaryContextFromModel"
37
37
  },
38
38
  mParameters = {
@@ -48,7 +48,7 @@ sap.ui.define([
48
48
  },
49
49
  aSorters = [new Sorter("propertyPath")];
50
50
 
51
- this.mock(oModel).expects("checkFilterOperation")
51
+ this.mock(oModel).expects("checkFilter")
52
52
  .withExactArgs(sinon.match.same(aApplicationFilters));
53
53
 
54
54
  // code under test
@@ -102,19 +102,19 @@ sap.ui.define([
102
102
  oBinding,
103
103
  oContext = {},
104
104
  oModel = {
105
- checkFilterOperation : function () {}
105
+ checkFilter : function () {}
106
106
  },
107
107
  oModelMock = this.mock(oModel),
108
108
  oNotAFilter = {/*not a Filter*/};
109
109
 
110
- oModelMock.expects("checkFilterOperation").withExactArgs([oApplicationFilter]);
110
+ oModelMock.expects("checkFilter").withExactArgs([oApplicationFilter]);
111
111
 
112
112
  // code under test
113
113
  oBinding = new ODataTreeBinding(oModel, "path", oContext, oApplicationFilter);
114
114
 
115
115
  assert.deepEqual(oBinding.aApplicationFilters, [oApplicationFilter]);
116
116
 
117
- oModelMock.expects("checkFilterOperation").withExactArgs(sinon.match.same(oNotAFilter));
117
+ oModelMock.expects("checkFilter").withExactArgs(sinon.match.same(oNotAFilter));
118
118
 
119
119
  // code under test
120
120
  oBinding = new ODataTreeBinding(oModel, "path", oContext, oNotAFilter);
@@ -126,12 +126,12 @@ sap.ui.define([
126
126
  QUnit.test("constructor: multiple Application filters are grouped", function (assert) {
127
127
  var oBinding,
128
128
  aFilters = ["~filter0", "~filter1"],
129
- oModel = {checkFilterOperation: function () {}};
129
+ oModel = {checkFilter: function () {}};
130
130
 
131
131
  this.mock(FilterProcessor).expects("groupFilters")
132
132
  .withExactArgs(sinon.match.same(aFilters))
133
133
  .returns("~groupedFilters");
134
- this.mock(oModel).expects("checkFilterOperation").withExactArgs(["~groupedFilters"]);
134
+ this.mock(oModel).expects("checkFilter").withExactArgs(["~groupedFilters"]);
135
135
 
136
136
  // code under test
137
137
  oBinding = new ODataTreeBinding(oModel, "path", /*oContext*/{}, aFilters);
@@ -144,14 +144,14 @@ sap.ui.define([
144
144
  var oBinding,
145
145
  oContext = {},
146
146
  oModel = {
147
- checkFilterOperation : function () {},
147
+ checkFilter : function () {},
148
148
  sDefaultCountMode : "ModelDefaultCountMode",
149
149
  sDefaultOperationMode : OperationMode.Default,
150
150
  bPreliminaryContext : "bPreliminaryContext"
151
151
  },
152
152
  oModelMock = this.mock(oModel);
153
153
 
154
- oModelMock.expects("checkFilterOperation").withExactArgs([]);
154
+ oModelMock.expects("checkFilter").withExactArgs([]);
155
155
 
156
156
  // code under test
157
157
  oBinding = new ODataTreeBinding(oModel, "path", oContext);
@@ -171,7 +171,7 @@ sap.ui.define([
171
171
  assert.strictEqual(oBinding.bUsePreliminaryContext, "bPreliminaryContext");
172
172
  assert.strictEqual(oBinding.bTransitionMessagesOnly, false);
173
173
 
174
- oModelMock.expects("checkFilterOperation").withExactArgs([]);
174
+ oModelMock.expects("checkFilter").withExactArgs([]);
175
175
 
176
176
  // code under test
177
177
  oBinding = new ODataTreeBinding(oModel, "path", oContext, undefined,
@@ -179,7 +179,7 @@ sap.ui.define([
179
179
 
180
180
  assert.strictEqual(oBinding.sGroupId, "group");
181
181
 
182
- oModelMock.expects("checkFilterOperation").withExactArgs([]);
182
+ oModelMock.expects("checkFilter").withExactArgs([]);
183
183
  this.oLogMock.expects("fatal").withExactArgs("To use an ODataTreeBinding at least "
184
184
  + "one CountMode must be supported by the service!");
185
185
 
@@ -1179,12 +1179,12 @@ sap.ui.define([
1179
1179
  QUnit.test("filter: group filters of type Application #" + i, function (assert) {
1180
1180
  var oBinding = {
1181
1181
  aApplicationFilters: "~oldFilters",
1182
- oModel: {checkFilterOperation: function () {}},
1182
+ oModel: {checkFilter: function () {}},
1183
1183
  _fireRefresh: function () {},
1184
1184
  resetData: function () {}
1185
1185
  };
1186
1186
 
1187
- this.mock(oBinding.oModel).expects("checkFilterOperation").withExactArgs(oFixture.filter);
1187
+ this.mock(oBinding.oModel).expects("checkFilter").withExactArgs(oFixture.filter);
1188
1188
  this.mock(FilterProcessor).expects("groupFilters")
1189
1189
  .withExactArgs(sinon.match.same(oFixture.filter))
1190
1190
  .exactly(oFixture.groupFilter ? 1 : 0)
@@ -1227,11 +1227,11 @@ sap.ui.define([
1227
1227
  oBinding,
1228
1228
  oContext = {},
1229
1229
  oModel = {
1230
- checkFilterOperation : function () {}
1230
+ checkFilter : function () {}
1231
1231
  },
1232
1232
  oModelMock = this.mock(oModel);
1233
1233
 
1234
- oModelMock.expects("checkFilterOperation").withExactArgs([oApplicationFilter]);
1234
+ oModelMock.expects("checkFilter").withExactArgs([oApplicationFilter]);
1235
1235
 
1236
1236
  oBinding = new ODataTreeBinding(oModel, "path", oContext, oApplicationFilter);
1237
1237
 
@@ -1245,7 +1245,7 @@ sap.ui.define([
1245
1245
  assert.deepEqual(oBinding.aApplicationFilters, [oApplicationFilter]);
1246
1246
 
1247
1247
  oApplicationFilter = new Filter("propertyPath", "LE", "bar");
1248
- oModelMock.expects("checkFilterOperation").withExactArgs(oApplicationFilter);
1248
+ oModelMock.expects("checkFilter").withExactArgs(oApplicationFilter);
1249
1249
 
1250
1250
  oBinding.filter(oApplicationFilter, FilterType.Application);
1251
1251
 
@@ -1258,7 +1258,7 @@ sap.ui.define([
1258
1258
  });
1259
1259
  assert.deepEqual(oBinding.aApplicationFilters, [oApplicationFilter]);
1260
1260
 
1261
- oModelMock.expects("checkFilterOperation").withExactArgs(undefined);
1261
+ oModelMock.expects("checkFilter").withExactArgs(undefined);
1262
1262
 
1263
1263
  oBinding.filter(undefined, FilterType.Application);
1264
1264