PageRenderTime 26ms CodeModel.GetById 15ms RepoModel.GetById 1ms app.codeStats 0ms

/src/sap.m/test/sap/m/qunit/testsuite.mobile.qunit.html

https://gitlab.com/crsr/openui5
HTML | 355 lines | 257 code | 98 blank | 0 comment | 0 complexity | e55ff8ed8b99b015c5fefbaba932e8ee MD5 | raw file
  1. <html>
  2. <head>
  3. <title>QUnit TestSuite for sap.m</title>
  4. <script type="text/javascript" src="../../../../resources/sap/ui/qunit/qunit-redirect.js"></script>
  5. <script
  6. id="sap-ui-bootstrap"
  7. src='../../../../resources/sap-ui-core.js'>
  8. </script>
  9. <script>
  10. /**
  11. * Add test pages to this test suite function.
  12. *
  13. * note: please order alphabetically.
  14. */
  15. function suite() {
  16. var suite = new parent.jsUnitTestSuite(),
  17. contextPath = "/" + window.location.pathname.split("/")[1],
  18. ie9 = (sap.ui.Device.browser.internet_explorer && sap.ui.Device.browser.version === 9);
  19. if (!navigator.userAgent.match(/MSIE 8.0/g) && navigator.platform.indexOf("Linux") === -1) {
  20. // Applications
  21. // Worklist
  22. suite.addTestPage(contextPath + "/test-resources/sap/m/demokit/worklist/test/testsuite.worklistDemokit.qunit.html");
  23. // MD - Template
  24. suite.addTestPage(contextPath + "/test-resources/sap/m/demokit/md-template/test/unit/unitTestsDemokit.qunit.html");
  25. suite.addTestPage(contextPath + "/test-resources/sap/m/demokit/md-template/test/integration/opaTestsDemokit.qunit.html");
  26. // tdg
  27. suite.addTestPage(contextPath + "/test-resources/sap/m/demokit/tdg/tests/Navigation.qunit.html");
  28. suite.addTestPage(contextPath + "/test-resources/sap/m/demokit/tdg/tests/Filter.qunit.html");
  29. suite.addTestPage(contextPath + "/test-resources/sap/m/demokit/cart/test/BuyProductJourney.qunit.html");
  30. // ActionSelect
  31. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/ActionSelect.qunit.html");
  32. // ActionSheet
  33. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/ActionSheet.qunit.html");
  34. // FIXME: test doesn't work in headless PhantomJS test cycle => commented out!
  35. if (!sap.ui.Device.browser.phantomJS) {
  36. // the device simulation overrides the PhantomJS browser detection
  37. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/ActionSheet.qunit.html?sap-ui-xx-fakeOS=ipad"); // actionsheet has different behavior between phone and tablet
  38. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/ActionSheet.qunit.html?sap-ui-xx-fakeOS=iphone"); // actionsheet has different behavior between phone and tablet
  39. }
  40. // App
  41. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/App.qunit.html");
  42. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/AppWithBackground.qunit.html");
  43. // Bar in page
  44. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/BarInPageEnabler.qunit.html");
  45. // Bar
  46. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/Bar.qunit.html?noglobals=true");
  47. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/Bar.qunit.html?sap-ui-rtl=true&noglobals=true");
  48. // BusyDialog
  49. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/BusyDialog.qunit.html");
  50. // BusyIndicator
  51. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/BusyIndicator_desktop.qunit.html");
  52. // Button
  53. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/Button.qunit.html");
  54. // Carousel
  55. //Commented out since there have been failing tests during Git/Gerrit Builds.
  56. //Seems like this happens since the sinon clock had been introduced to simulate
  57. //delays.Needs further investigation
  58. //suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/Carousel.qunit.html");
  59. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/Carousel_tablet.qunit.html?sap-ui-xx-fakeOS=ipad");
  60. // CheckBox
  61. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/CheckBox.qunit.html");
  62. // Column
  63. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/Column.qunit.html");
  64. // ColumnListItem
  65. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/ColumnListItem.qunit.html");
  66. // ColumnMergeDuplicates
  67. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/ColumnMergeDuplicates.qunit.html");
  68. // ComboBox
  69. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/ComboBox.qunit.html");
  70. // CSSClassesFromParameters
  71. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/CSSClassesFromParameters.qunit.html");
  72. // DatePicker
  73. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/DatePicker.qunit.html");
  74. // DateRangeSelection
  75. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/DateRangeSelection.qunit.html");
  76. // DateTimeInput
  77. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/DateTimeInput.qunit.html");
  78. // Dialog
  79. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/Dialog.qunit.html");
  80. // load all explored samples
  81. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/ExploredSamples.qunit.html");
  82. // FacetFilter
  83. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/FacetFilter.qunit.html");
  84. // FeedInput
  85. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/FeedInput.qunit.html");
  86. // FeedListItem
  87. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/FeedListItem.qunit.html");
  88. // FlexBox
  89. if (!ie9) {
  90. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/FlexBox.qunit.html");
  91. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/FlexBoxFitContainerH.qunit.html");
  92. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/FlexBoxFitContainerV.qunit.html");
  93. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/FlexBoxFitPage.qunit.html");
  94. }
  95. // GrowingList
  96. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/GrowingEnablement.qunit.html");
  97. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/GrowingList_databinding.qunit.html");
  98. // HBox
  99. if(!ie9) {
  100. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/HBox.qunit.html");
  101. }
  102. // IconTabBar
  103. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/IconTabBar.qunit.html");
  104. // Image
  105. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/Image.qunit.html");
  106. // Input
  107. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/InputBase.qunit.html");
  108. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/Input.qunit.html");
  109. // InstanceManager
  110. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/InstanceManager.qunit.html");
  111. // IOS 7
  112. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/Ios7.qunit.html");
  113. // Label
  114. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/Label.qunit.html");
  115. // Link
  116. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/Link.qunit.html");
  117. // List
  118. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/List.qunit.html");
  119. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/ListBase.qunit.html");
  120. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/ListBaseBinding.qunit.html");
  121. // Predefined Margins
  122. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/MarginCssClasses.qunit.html");
  123. // MessageBox
  124. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/MessageBox.qunit.html");
  125. // MessagePage
  126. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/MessagePage.qunit.html");
  127. // MessagePopover
  128. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/MessagePopover.qunit.html");
  129. // MessageToast
  130. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/MessageToast.qunit.html");
  131. // MultiComboBox
  132. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/MultiComboBox.qunit.html");
  133. // MultiInput
  134. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/MultiInput.qunit.html");
  135. // NavContainer
  136. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/NavContainer.qunit.html");
  137. // ObjectAttribute
  138. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/ObjectAttribute.qunit.html");
  139. // ObjectHeader
  140. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/ObjectHeader.qunit.html");
  141. // ObjectHeaderResponsive
  142. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/ObjectHeaderResponsive.qunit.html");
  143. // ObjectIdentifier
  144. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/ObjectIdentifier.qunit.html");
  145. // ObjectListItem
  146. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/ObjectListItem.qunit.html");
  147. // ObjectNumber
  148. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/ObjectNumber.qunit.html");
  149. // ObjectStatus
  150. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/ObjectStatus.qunit.html");
  151. // Page
  152. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/Page.qunit.html");
  153. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/Page_part2.qunit.html");
  154. // Panel
  155. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/Panel.qunit.html");
  156. // Personalization
  157. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/P13nColumnsPanel.qunit.html");
  158. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/P13nConditionPanel.qunit.html");
  159. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/P13nFilterPanel.qunit.html");
  160. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/P13nSortPanel.qunit.html");
  161. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/P13nGroupPanel.qunit.html");
  162. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/P13nDialog.qunit.html");
  163. // Popover
  164. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/Popover.qunit.html");
  165. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/Popover.qunit.html?sap-ui-xx-fakeOS=ios"); // autoclose is implemented differently on mobile than on desktop
  166. // ProgressIndicator
  167. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/ProgressIndicator.qunit.html");
  168. // PullToRefresh
  169. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/PullToRefresh_desktop.qunit.html");
  170. // RadioButton
  171. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/RadioButton.qunit.html");
  172. // RadioButtonGroup
  173. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/RadioButtonGroup.qunit.html");
  174. // RatingIndicator
  175. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/RatingIndicator.qunit.html");
  176. // ResponsivePopover
  177. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/ResponsivePopover.qunit.html");
  178. // Routing
  179. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/testsuites/testsuite.routing.qunit.html");
  180. // ScrollContainer
  181. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/ScrollContainer.qunit.html");
  182. // ScrollPosition
  183. if (!ie9) { // behaves erratically
  184. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/ScrollPosition.qunit.html"); // once using the mouse scroll delegate...
  185. }
  186. // SearchField
  187. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/SearchField.qunit.html");
  188. // SegmentedButton
  189. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/SegmentedButton.qunit.html");
  190. // Select
  191. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/Select.qunit.html");
  192. // SelectDialog
  193. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/SelectDialog.qunit.html");
  194. // SemanticPage
  195. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/semantic/SemanticButton.qunit.html");
  196. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/semantic/SemanticSelect.qunit.html");
  197. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/semantic/SemanticPage.qunit.html");
  198. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/semantic/Segment.qunit.html");
  199. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/semantic/ShareMenu.qunit.html");
  200. // Shell
  201. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/Shell.qunit.html");
  202. // Slider
  203. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/Slider.qunit.html");
  204. // SplitApp
  205. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/SplitApp.qunit.html");
  206. // SplitContainer
  207. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/SplitContainer.qunit.html");
  208. // StandardTile
  209. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/StandardTile.qunit.html");
  210. // Support
  211. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/Support.qunit.html");
  212. // Switch
  213. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/Switch.qunit.html");
  214. // Table
  215. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/Table.qunit.html");
  216. // TablePersoDialog/Controller
  217. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/TablePersoDialog.qunit.html");
  218. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/TablePersoController.qunit.html");
  219. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/TablePersoControllerMigrationInComponent.qunit.html");
  220. // TableSelectDialog
  221. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/TableSelectDialog.qunit.html");
  222. // Text
  223. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/Text.qunit.html");
  224. // TextArea
  225. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/TextArea.qunit.html");
  226. // Tile
  227. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/Tile.qunit.html");
  228. // TileContainer
  229. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/TileContainer.qunit.html");
  230. // Title
  231. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/Title.qunit.html");
  232. // ToggleButton
  233. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/ToggleButton.qunit.html");
  234. // Toolbar
  235. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/Toolbar.qunit.html");
  236. // OverflowToolbar
  237. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/OverflowToolbar.qunit.html");
  238. // Token
  239. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/Token.qunit.html");
  240. // Tokenizer
  241. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/Tokenizer.qunit.html");
  242. // VBox
  243. if (!ie9) {
  244. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/VBox.qunit.html");
  245. }
  246. // ViewSettingsDialog
  247. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/ViewSettingsDialog.qunit.html");
  248. // QUnit Tests for responsive behaviour (for example Responsive Margins)
  249. suite.addTestPage(contextPath + "/test-resources/sap/m/qunit/QUnitCompositesUsingIFrames.qunit.html");
  250. }
  251. return suite;
  252. }
  253. </script>
  254. </head>
  255. <body>
  256. </body>
  257. </html>