@webos-tools/cli 3.1.2 → 3.2.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 (1402) hide show
  1. package/.eslintignore +1 -1
  2. package/.eslintrc.js +52 -52
  3. package/APIs.js +79 -79
  4. package/CHANGELOG.md +201 -166
  5. package/LICENSE +201 -201
  6. package/LICENSES/342/200/216/LicenseRef-3rd_party_licenses.txt +1355 -0
  7. package/README.md +226 -219
  8. package/bin/ares-config.js +211 -202
  9. package/bin/ares-device-info.js +30 -30
  10. package/bin/ares-device.js +222 -219
  11. package/bin/ares-generate.js +274 -274
  12. package/bin/ares-inspect.js +179 -179
  13. package/bin/ares-install.js +223 -223
  14. package/bin/ares-launch.js +318 -318
  15. package/bin/ares-log.js +259 -259
  16. package/bin/ares-novacom.js +220 -220
  17. package/bin/ares-package.js +347 -336
  18. package/bin/ares-pull.js +156 -156
  19. package/bin/ares-push.js +155 -155
  20. package/bin/ares-server.js +174 -174
  21. package/bin/ares-setup-device.js +577 -525
  22. package/bin/ares-shell.js +132 -132
  23. package/bin/ares.js +166 -166
  24. package/files/conf/ares.json +50 -49
  25. package/files/conf/command-service.json +78 -73
  26. package/files/conf/config.json +31 -31
  27. package/files/conf/ipk.json +30 -30
  28. package/files/conf/novacom-devices.json +69 -52
  29. package/files/conf/query/query-app.json +14 -14
  30. package/files/conf/query/query-hosted.json +18 -18
  31. package/files/conf/query/query-package.json +10 -10
  32. package/files/conf/query/query-service.json +6 -6
  33. package/files/conf/sdk.json +8 -8
  34. package/files/conf/template.json +57 -57
  35. package/files/conf/webos_emul +27 -27
  36. package/files/conf-base/env/sdk-apollo.json +8 -8
  37. package/files/conf-base/env/sdk-ose.json +8 -8
  38. package/files/conf-base/env/sdk-signage.json +8 -0
  39. package/files/conf-base/env/sdk-tv.json +8 -8
  40. package/files/conf-base/key/pubkey-signage.pem +9 -0
  41. package/files/conf-base/profile/config-apollo.json +29 -29
  42. package/files/conf-base/profile/config-ose.json +29 -29
  43. package/files/conf-base/profile/config-signage.json +29 -0
  44. package/files/conf-base/profile/config-tv.json +31 -31
  45. package/files/conf-base/query/query-app.json +14 -14
  46. package/files/conf-base/query/query-hosted.json +18 -18
  47. package/files/conf-base/query/query-package.json +10 -10
  48. package/files/conf-base/query/query-service.json +6 -6
  49. package/files/conf-base/query/signage/query-app.json +14 -0
  50. package/files/conf-base/query/signage/query-service.json +6 -0
  51. package/files/conf-base/template-conf/apollo-sdk-templates.json +55 -50
  52. package/files/conf-base/template-conf/ose-templates.json +67 -67
  53. package/files/conf-base/template-conf/signage-sdk-templates.json +239 -0
  54. package/files/conf-base/template-conf/tv-sdk-templates.json +57 -57
  55. package/files/help/ares-config.help +48 -48
  56. package/files/help/ares-device.help +109 -109
  57. package/files/help/ares-generate.help +101 -91
  58. package/files/help/ares-inspect.help +77 -76
  59. package/files/help/ares-install.help +95 -95
  60. package/files/help/ares-launch.help +111 -105
  61. package/files/help/ares-log-pmlogd.help +84 -84
  62. package/files/help/ares-log.help +101 -101
  63. package/files/help/ares-novacom.help +68 -68
  64. package/files/help/ares-package.help +103 -101
  65. package/files/help/ares-pull.help +38 -38
  66. package/files/help/ares-push.help +38 -38
  67. package/files/help/ares-server.help +44 -44
  68. package/files/help/ares-setup-device.help +196 -156
  69. package/files/help/ares-shell.help +42 -42
  70. package/files/help/ares.help +52 -52
  71. package/files/help/readme.help +23 -23
  72. package/files/schema/ApplicationDescription.schema +319 -319
  73. package/files/schema/NovacomDevices.schema +63 -62
  74. package/files/templates/apollo-sdk-templates/appinfo/appinfo.json +10 -10
  75. package/files/templates/apollo-sdk-templates/bootplate-web/index.html +88 -88
  76. package/files/templates/apollo-sdk-templates/hosted-webapp/index.html +13 -13
  77. package/files/templates/apollo-sdk-templates/js-service/helloclient.js +31 -31
  78. package/files/templates/apollo-sdk-templates/js-service/helloworld_webos_service.js +188 -188
  79. package/files/templates/apollo-sdk-templates/native-service/CMakeLists.txt +72 -0
  80. package/files/templates/apollo-sdk-templates/native-service/services.json +11 -0
  81. package/files/templates/apollo-sdk-templates/native-service/src/main.c +144 -0
  82. package/files/templates/apollo-sdk-templates/serviceinfo/package.json +11 -11
  83. package/files/templates/apollo-sdk-templates/serviceinfo/services.json +8 -8
  84. package/files/templates/ose-sdk-templates/appinfo/appinfo.json +10 -10
  85. package/files/templates/ose-sdk-templates/bootplate-web/index.html +88 -88
  86. package/files/templates/ose-sdk-templates/hosted-webapp/index.html +13 -13
  87. package/files/templates/ose-sdk-templates/js-service/helloclient.js +31 -31
  88. package/files/templates/ose-sdk-templates/js-service/helloworld_webos_service.js +188 -188
  89. package/files/templates/ose-sdk-templates/qml-app/main.qml +68 -68
  90. package/files/templates/ose-sdk-templates/qmlappinfo/appinfo.json +10 -10
  91. package/files/templates/ose-sdk-templates/serviceinfo/package.json +11 -11
  92. package/files/templates/ose-sdk-templates/serviceinfo/services.json +8 -8
  93. package/files/templates/signage-sdk-templates/Backlight_Scheduling/clockTable.js +29 -0
  94. package/files/templates/signage-sdk-templates/Backlight_Scheduling/index.html +53 -0
  95. package/files/templates/signage-sdk-templates/Backlight_Scheduling/js/idcap.js +21 -0
  96. package/files/templates/signage-sdk-templates/Backlight_Scheduling/remocon.js +214 -0
  97. package/files/templates/signage-sdk-templates/Backlight_Scheduling/scheduler.js +123 -0
  98. package/files/templates/signage-sdk-templates/Backlight_Scheduling/setanddelete.js +25 -0
  99. package/files/templates/signage-sdk-templates/Backlight_Scheduling/style.css +213 -0
  100. package/files/templates/signage-sdk-templates/Download_Progress/app.css +27 -0
  101. package/files/templates/signage-sdk-templates/Download_Progress/app.js +407 -0
  102. package/files/templates/signage-sdk-templates/Download_Progress/index.html +32 -0
  103. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova/2.7.0/cordova.webos.js +7038 -0
  104. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova/LICENSE +201 -0
  105. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.0/configuration.js +1 -0
  106. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.0/deviceInfo.js +1 -0
  107. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.0/inputSource.js +1 -0
  108. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.0/power.js +1 -0
  109. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.0/signage.js +1 -0
  110. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.0/sound.js +1 -0
  111. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.0/storage.js +1 -0
  112. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.0/video.js +1 -0
  113. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.1/configuration.js +1 -0
  114. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.1/deviceInfo.js +1 -0
  115. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.1/inputSource.js +1 -0
  116. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.1/power.js +1 -0
  117. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.1/signage.js +1 -0
  118. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.1/sound.js +1 -0
  119. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.1/storage.js +1 -0
  120. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.1/video.js +1 -0
  121. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.2/configuration.js +1 -0
  122. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.2/deviceInfo.js +1 -0
  123. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.2/inputSource.js +1 -0
  124. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.2/power.js +1 -0
  125. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.2/signage.js +1 -0
  126. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.2/sound.js +1 -0
  127. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.2/storage.js +23 -0
  128. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.2/video.js +1 -0
  129. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.3/configuration.js +1 -0
  130. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.3/deviceInfo.js +1 -0
  131. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.3/inputSource.js +1 -0
  132. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.3/power.js +1 -0
  133. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.3/signage.js +1 -0
  134. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.3/sound.js +1 -0
  135. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.3/storage.js +1 -0
  136. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.3/video.js +1 -0
  137. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/configuration.js +9 -0
  138. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/deviceInfo.js +9 -0
  139. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/inputSource.js +9 -0
  140. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/power.js +9 -0
  141. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/security.js +9 -0
  142. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/signage.js +9 -0
  143. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/sound.js +9 -0
  144. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/storage.js +9 -0
  145. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/time.js +9 -0
  146. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/utility.js +9 -0
  147. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.0/video.js +9 -0
  148. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/configuration.js +9 -0
  149. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/deviceInfo.js +9 -0
  150. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/inputSource.js +9 -0
  151. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/power.js +9 -0
  152. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/security.js +9 -0
  153. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/signage.js +9 -0
  154. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/sound.js +9 -0
  155. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/storage.js +9 -0
  156. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/time.js +9 -0
  157. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/utility.js +9 -0
  158. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.1/video.js +9 -0
  159. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/configuration.js +9 -0
  160. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/deviceInfo.js +9 -0
  161. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/inputSource.js +9 -0
  162. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/power.js +9 -0
  163. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/security.js +9 -0
  164. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/signage.js +8 -0
  165. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/sound.js +9 -0
  166. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/storage.js +9 -0
  167. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/time.js +9 -0
  168. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/utility.js +9 -0
  169. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.2/video.js +9 -0
  170. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/configuration.js +9 -0
  171. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/deviceInfo.js +9 -0
  172. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/inputSource.js +9 -0
  173. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/power.js +9 -0
  174. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/security.js +9 -0
  175. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/signage.js +9 -0
  176. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/sound.js +9 -0
  177. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/storage.js +9 -0
  178. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/time.js +9 -0
  179. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/utility.js +9 -0
  180. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.3/video.js +9 -0
  181. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/configuration.js +1 -0
  182. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/deviceInfo.js +1 -0
  183. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/inputSource.js +1 -0
  184. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/power.js +1 -0
  185. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/security.js +1 -0
  186. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/signage.js +1 -0
  187. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/sound.js +1 -0
  188. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/storage.js +1 -0
  189. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/time.js +1 -0
  190. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/utility.js +1 -0
  191. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.4/video.js +1 -0
  192. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/configuration.js +1 -0
  193. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/deviceInfo.js +1 -0
  194. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/inputSource.js +1 -0
  195. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/power.js +1 -0
  196. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/security.js +1 -0
  197. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/signage.js +1 -0
  198. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/sound.js +1 -0
  199. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/storage.js +1 -0
  200. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/time.js +1 -0
  201. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/utility.js +1 -0
  202. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.4.5/video.js +1 -0
  203. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/configuration.js +1 -0
  204. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/deviceInfo.js +1 -0
  205. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/inputSource.js +1 -0
  206. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/power.js +1 -0
  207. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/security.js +1 -0
  208. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/signage.js +1 -0
  209. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/sound.js +1 -0
  210. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/storage.js +1 -0
  211. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/time.js +1 -0
  212. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/utility.js +1 -0
  213. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.0/video.js +1 -0
  214. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/configuration.js +1 -0
  215. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/deviceInfo.js +1 -0
  216. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/inputSource.js +1 -0
  217. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/power.js +1 -0
  218. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/security.js +1 -0
  219. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/signage.js +1 -0
  220. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/sound.js +1 -0
  221. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/storage.js +1 -0
  222. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/time.js +1 -0
  223. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/utility.js +1 -0
  224. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.1/video.js +1 -0
  225. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/configuration.js +1 -0
  226. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/deviceInfo.js +1 -0
  227. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/inputSource.js +1 -0
  228. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/power.js +1 -0
  229. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/security.js +1 -0
  230. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/signage.js +1 -0
  231. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/sound.js +1 -0
  232. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/storage.js +1 -0
  233. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/time.js +1 -0
  234. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/utility.js +1 -0
  235. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.11/video.js +1 -0
  236. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/configuration.js +1 -0
  237. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/deviceInfo.js +1 -0
  238. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/inputSource.js +1 -0
  239. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/power.js +1 -0
  240. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/security.js +1 -0
  241. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/signage.js +1 -0
  242. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/sound.js +1 -0
  243. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/storage.js +1 -0
  244. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/time.js +1 -0
  245. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/utility.js +1 -0
  246. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.12/video.js +1 -0
  247. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/configuration.js +1 -0
  248. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/deviceInfo.js +1 -0
  249. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/inputSource.js +1 -0
  250. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/power.js +1 -0
  251. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/security.js +1 -0
  252. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/signage.js +1 -0
  253. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/sound.js +1 -0
  254. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/storage.js +1 -0
  255. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/time.js +1 -0
  256. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/utility.js +1 -0
  257. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.2/video.js +1 -0
  258. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/configuration.js +1 -0
  259. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/deviceInfo.js +1 -0
  260. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/inputSource.js +1 -0
  261. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/power.js +1 -0
  262. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/security.js +1 -0
  263. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/signage.js +1 -0
  264. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/sound.js +1 -0
  265. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/storage.js +1 -0
  266. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/time.js +1 -0
  267. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/utility.js +1 -0
  268. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.3/video.js +1 -0
  269. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/configuration.js +1 -0
  270. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/deviceInfo.js +1 -0
  271. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/inputSource.js +1 -0
  272. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/power.js +1 -0
  273. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/security.js +1 -0
  274. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/signage.js +1 -0
  275. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/sound.js +1 -0
  276. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/storage.js +1 -0
  277. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/time.js +1 -0
  278. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/utility.js +1 -0
  279. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.4/video.js +1 -0
  280. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/configuration.js +1 -0
  281. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/deviceInfo.js +1 -0
  282. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/inputSource.js +1 -0
  283. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/power.js +1 -0
  284. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/security.js +1 -0
  285. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/signage.js +1 -0
  286. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/sound.js +1 -0
  287. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/storage.js +1 -0
  288. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/time.js +1 -0
  289. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/utility.js +1 -0
  290. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.5/video.js +1 -0
  291. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/configuration.js +1 -0
  292. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/deviceInfo.js +1 -0
  293. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/inputSource.js +1 -0
  294. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/power.js +1 -0
  295. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/security.js +1 -0
  296. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/signage.js +1 -0
  297. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/sound.js +1 -0
  298. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/storage.js +1 -0
  299. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/time.js +1 -0
  300. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/utility.js +1 -0
  301. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.6/video.js +1 -0
  302. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/configuration.js +1 -0
  303. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/deviceInfo.js +1 -0
  304. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/inputSource.js +1 -0
  305. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/power.js +1 -0
  306. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/security.js +1 -0
  307. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/signage.js +1 -0
  308. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/sound.js +1 -0
  309. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/storage.js +1 -0
  310. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/time.js +1 -0
  311. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/utility.js +1 -0
  312. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.7/video.js +1 -0
  313. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/configuration.js +1 -0
  314. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/deviceInfo.js +1 -0
  315. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/inputSource.js +1 -0
  316. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/power.js +1 -0
  317. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/security.js +1 -0
  318. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/signage.js +1 -0
  319. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/sound.js +1 -0
  320. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/storage.js +1 -0
  321. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/time.js +1 -0
  322. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/utility.js +1 -0
  323. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.5.8/video.js +1 -0
  324. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/configuration.js +1 -0
  325. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/deviceInfo.js +1 -0
  326. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/inputSource.js +1 -0
  327. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/power.js +1 -0
  328. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/security.js +1 -0
  329. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/signage.js +1 -0
  330. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/sound.js +1 -0
  331. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/storage.js +1 -0
  332. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/time.js +1 -0
  333. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/utility.js +1 -0
  334. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.0/video.js +1 -0
  335. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/configuration.js +1 -0
  336. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/deviceInfo.js +1 -0
  337. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/inputSource.js +1 -0
  338. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/power.js +1 -0
  339. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/security.js +1 -0
  340. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/signage.js +1 -0
  341. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/sound.js +1 -0
  342. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/storage.js +1 -0
  343. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/time.js +1 -0
  344. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/utility.js +1 -0
  345. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.1/video.js +1 -0
  346. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/configuration.js +1 -0
  347. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/deviceInfo.js +1 -0
  348. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/inputSource.js +1 -0
  349. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/power.js +1 -0
  350. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/security.js +1 -0
  351. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/signage.js +1 -0
  352. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/sound.js +1 -0
  353. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/storage.js +1 -0
  354. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/time.js +1 -0
  355. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/utility.js +1 -0
  356. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.2/video.js +1 -0
  357. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/configuration.js +1 -0
  358. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/deviceInfo.js +1 -0
  359. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/inputSource.js +1 -0
  360. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/power.js +1 -0
  361. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/security.js +1 -0
  362. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/signage.js +1 -0
  363. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/sound.js +1 -0
  364. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/storage.js +1 -0
  365. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/time.js +1 -0
  366. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/utility.js +1 -0
  367. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.3/video.js +1 -0
  368. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/configuration.js +1 -0
  369. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/deviceInfo.js +1 -0
  370. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/inputSource.js +1 -0
  371. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/led.js +1 -0
  372. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/power.js +1 -0
  373. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/security.js +1 -0
  374. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/signage.js +1 -0
  375. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/sound.js +1 -0
  376. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/storage.js +1 -0
  377. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/time.js +1 -0
  378. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/utility.js +1 -0
  379. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.7/video.js +1 -0
  380. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/configuration.js +1 -0
  381. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/deviceInfo.js +1 -0
  382. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/inputSource.js +1 -0
  383. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/led.js +1 -0
  384. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/power.js +1 -0
  385. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/security.js +1 -0
  386. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/signage.js +1 -0
  387. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/sound.js +1 -0
  388. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/storage.js +1 -0
  389. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/time.js +1 -0
  390. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/utility.js +1 -0
  391. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.6.8/video.js +1 -0
  392. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/configuration.js +1 -0
  393. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/deviceInfo.js +1 -0
  394. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/inputSource.js +1 -0
  395. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/iot.js +1 -0
  396. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/power.js +1 -0
  397. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/security.js +1 -0
  398. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/signage.js +1 -0
  399. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/sound.js +1 -0
  400. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/storage.js +1 -0
  401. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/time.js +1 -0
  402. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/utility.js +1 -0
  403. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.0/video.js +1 -0
  404. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/configuration.js +1 -0
  405. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/deviceInfo.js +1 -0
  406. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/inputSource.js +1 -0
  407. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/iot.js +1 -0
  408. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/power.js +1 -0
  409. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/security.js +1 -0
  410. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/signage.js +1 -0
  411. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/sound.js +1 -0
  412. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/storage.js +1 -0
  413. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/time.js +1 -0
  414. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/utility.js +1 -0
  415. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.1/video.js +1 -0
  416. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/configuration.js +1 -0
  417. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/deviceInfo.js +1 -0
  418. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/inputSource.js +1 -0
  419. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/iot.js +1 -0
  420. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/led.js +1 -0
  421. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/power.js +1 -0
  422. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/security.js +1 -0
  423. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/signage.js +1 -0
  424. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/sound.js +1 -0
  425. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/storage.js +1 -0
  426. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/time.js +1 -0
  427. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/utility.js +1 -0
  428. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.5/video.js +1 -0
  429. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/configuration.js +1 -0
  430. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/deviceInfo.js +1 -0
  431. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/inputSource.js +1 -0
  432. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/iot.js +1 -0
  433. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/led.js +1 -0
  434. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/power.js +1 -0
  435. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/security.js +1 -0
  436. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/signage.js +1 -0
  437. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/sound.js +1 -0
  438. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/storage.js +1 -0
  439. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/time.js +1 -0
  440. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/utility.js +1 -0
  441. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.7.6/video.js +1 -0
  442. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/configuration.js +1 -0
  443. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/deviceInfo.js +1 -0
  444. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/inputSource.js +1 -0
  445. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/iot.js +1 -0
  446. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/power.js +1 -0
  447. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/security.js +1 -0
  448. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/signage.js +1 -0
  449. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/sound.js +1 -0
  450. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/storage.js +1 -0
  451. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/time.js +1 -0
  452. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/utility.js +1 -0
  453. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.0/video.js +1 -0
  454. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/configuration.js +1 -0
  455. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/deviceInfo.js +1 -0
  456. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/inputSource.js +1 -0
  457. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/iot.js +1 -0
  458. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/power.js +1 -0
  459. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/security.js +1 -0
  460. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/signage.js +1 -0
  461. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/sound.js +1 -0
  462. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/storage.js +1 -0
  463. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/time.js +1 -0
  464. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/utility.js +1 -0
  465. package/files/templates/signage-sdk-templates/Download_Progress/js/cordova-cd/1.8.1/video.js +1 -0
  466. package/files/templates/signage-sdk-templates/Download_Progress/js/custom/custom1.2.js +14 -0
  467. package/files/templates/signage-sdk-templates/Download_Progress/js/custom/custom1.3.1.js +1 -0
  468. package/files/templates/signage-sdk-templates/Download_Progress/js/custom/custom1.3.js +1 -0
  469. package/files/templates/signage-sdk-templates/Download_Progress/js/custom/custom1.4.js +14 -0
  470. package/files/templates/signage-sdk-templates/Download_Progress/js/harmony/README.txt +40 -0
  471. package/files/templates/signage-sdk-templates/Download_Progress/js/harmony/gpio.js +16 -0
  472. package/files/templates/signage-sdk-templates/Download_Progress/js/harmony/gps.js +16 -0
  473. package/files/templates/signage-sdk-templates/Download_Progress/js/harmony/humidity.js +16 -0
  474. package/files/templates/signage-sdk-templates/Download_Progress/js/harmony/light.js +16 -0
  475. package/files/templates/signage-sdk-templates/Download_Progress/js/harmony/nfc.js +16 -0
  476. package/files/templates/signage-sdk-templates/Download_Progress/js/harmony/rfid.js +16 -0
  477. package/files/templates/signage-sdk-templates/Download_Progress/js/harmony/temperature.js +16 -0
  478. package/files/templates/signage-sdk-templates/Download_Progress/js/harmony/thermalPrinter.js +16 -0
  479. package/files/templates/signage-sdk-templates/Download_Progress/js/idcap.js +21 -0
  480. package/files/templates/signage-sdk-templates/Download_Progress/js/webOS/LICENSE-2.0.txt +202 -0
  481. package/files/templates/signage-sdk-templates/Download_Progress/js/webOS/webOS.js +1 -0
  482. package/files/templates/signage-sdk-templates/Download_Progress/res/webossignage_logo.png +0 -0
  483. package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/css/styles.css +270 -0
  484. package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/data/data.json +12 -0
  485. package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/fonts/MuseoSans300.otf +0 -0
  486. package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/fonts/MuseoSans700Italic.otf +0 -0
  487. package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/index.html +43 -0
  488. package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/js/controller.js +263 -0
  489. package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/js/helpers/util.js +130 -0
  490. package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/readme.txt +26 -0
  491. package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/res/images/tpl_01_img_sign.png +0 -0
  492. package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/res/images/tpl_01_logo_nike.png +0 -0
  493. package/files/templates/signage-sdk-templates/Fashion_Multimedia_Ad/res/videos/tpl_01_video.mp4 +0 -0
  494. package/files/templates/signage-sdk-templates/File_Explorer/README.txt +16 -0
  495. package/files/templates/signage-sdk-templates/File_Explorer/index.html +44 -0
  496. package/files/templates/signage-sdk-templates/File_Explorer/js/Root.js +48 -0
  497. package/files/templates/signage-sdk-templates/File_Explorer/js/definition.js +59 -0
  498. package/files/templates/signage-sdk-templates/File_Explorer/js/explorer.js +367 -0
  499. package/files/templates/signage-sdk-templates/File_Explorer/js/explorerController.js +462 -0
  500. package/files/templates/signage-sdk-templates/File_Explorer/js/idcap.js +21 -0
  501. package/files/templates/signage-sdk-templates/File_Explorer/js/mainController.js +261 -0
  502. package/files/templates/signage-sdk-templates/File_Explorer/style.css +233 -0
  503. package/files/templates/signage-sdk-templates/Flight_Schedule/appinfo.json +11 -0
  504. package/files/templates/signage-sdk-templates/Flight_Schedule/css/styles.css +168 -0
  505. package/files/templates/signage-sdk-templates/Flight_Schedule/data/data.json +5 -0
  506. package/files/templates/signage-sdk-templates/Flight_Schedule/fonts/MuseoSans300.otf +0 -0
  507. package/files/templates/signage-sdk-templates/Flight_Schedule/fonts/MuseoSans500.otf +0 -0
  508. package/files/templates/signage-sdk-templates/Flight_Schedule/fonts/MuseoSans700.otf +0 -0
  509. package/files/templates/signage-sdk-templates/Flight_Schedule/images/AAir.png +0 -0
  510. package/files/templates/signage-sdk-templates/Flight_Schedule/images/BAirline.png +0 -0
  511. package/files/templates/signage-sdk-templates/Flight_Schedule/images/CAirline.png +0 -0
  512. package/files/templates/signage-sdk-templates/Flight_Schedule/images/DAir.png +0 -0
  513. package/files/templates/signage-sdk-templates/Flight_Schedule/images/EAirline.png +0 -0
  514. package/files/templates/signage-sdk-templates/Flight_Schedule/images/tpl_05_img_flight.png +0 -0
  515. package/files/templates/signage-sdk-templates/Flight_Schedule/index.html +32 -0
  516. package/files/templates/signage-sdk-templates/Flight_Schedule/js/controller.js +235 -0
  517. package/files/templates/signage-sdk-templates/Flight_Schedule/js/helpers/util.js +183 -0
  518. package/files/templates/signage-sdk-templates/Flight_Schedule/readme.txt +29 -0
  519. package/files/templates/signage-sdk-templates/Flight_Schedule/server/example.json +4 -0
  520. package/files/templates/signage-sdk-templates/Flight_Schedule/server/package.json +9 -0
  521. package/files/templates/signage-sdk-templates/Flight_Schedule/server/readme.txt +30 -0
  522. package/files/templates/signage-sdk-templates/Flight_Schedule/server/routes/flights.js +493 -0
  523. package/files/templates/signage-sdk-templates/Flight_Schedule/server/server.js +43 -0
  524. package/files/templates/signage-sdk-templates/Information_Board/css/styles.css +239 -0
  525. package/files/templates/signage-sdk-templates/Information_Board/data/data.json +49 -0
  526. package/files/templates/signage-sdk-templates/Information_Board/fonts/Museo Sans 300.otf +0 -0
  527. package/files/templates/signage-sdk-templates/Information_Board/fonts/Museo Sans 500.otf +0 -0
  528. package/files/templates/signage-sdk-templates/Information_Board/fonts/Museo Sans 700.otf +0 -0
  529. package/files/templates/signage-sdk-templates/Information_Board/index.html +101 -0
  530. package/files/templates/signage-sdk-templates/Information_Board/js/controller.js +111 -0
  531. package/files/templates/signage-sdk-templates/Information_Board/js/helpers/util.js +130 -0
  532. package/files/templates/signage-sdk-templates/Information_Board/readme.txt +22 -0
  533. package/files/templates/signage-sdk-templates/Information_Board/res/images/tpl_06_img_main_01.png +0 -0
  534. package/files/templates/signage-sdk-templates/Information_Board/res/images/tpl_06_img_news.png +0 -0
  535. package/files/templates/signage-sdk-templates/Information_Board/res/images/tpl_06_logo_harvard.png +0 -0
  536. package/files/templates/signage-sdk-templates/Information_Kiosk/css/styles.css +387 -0
  537. package/files/templates/signage-sdk-templates/Information_Kiosk/data/data.json +185 -0
  538. package/files/templates/signage-sdk-templates/Information_Kiosk/fonts/Museo Sans 300 Italic.otf +0 -0
  539. package/files/templates/signage-sdk-templates/Information_Kiosk/fonts/Museo Sans 300.otf +0 -0
  540. package/files/templates/signage-sdk-templates/Information_Kiosk/fonts/Museo Sans 500 Italic.otf +0 -0
  541. package/files/templates/signage-sdk-templates/Information_Kiosk/fonts/Museo Sans 500.otf +0 -0
  542. package/files/templates/signage-sdk-templates/Information_Kiosk/fonts/Museo Sans 700 Italic.otf +0 -0
  543. package/files/templates/signage-sdk-templates/Information_Kiosk/fonts/Museo Sans 700.otf +0 -0
  544. package/files/templates/signage-sdk-templates/Information_Kiosk/index.html +320 -0
  545. package/files/templates/signage-sdk-templates/Information_Kiosk/js/controller.js +373 -0
  546. package/files/templates/signage-sdk-templates/Information_Kiosk/js/helpers/util.js +130 -0
  547. package/files/templates/signage-sdk-templates/Information_Kiosk/readme.txt +26 -0
  548. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_btn_arrow_l_n.png +0 -0
  549. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_btn_arrow_l_p.png +0 -0
  550. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_btn_arrow_r_n.png +0 -0
  551. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_btn_arrow_r_p.png +0 -0
  552. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_btn_close_n.png +0 -0
  553. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_btn_close_p.png +0 -0
  554. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_btn_rotation_n.png +0 -0
  555. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_btn_rotation_p.png +0 -0
  556. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_bg_01.png +0 -0
  557. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_01.png +0 -0
  558. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_02.png +0 -0
  559. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_03.png +0 -0
  560. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_04.png +0 -0
  561. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_05.png +0 -0
  562. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_06.png +0 -0
  563. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_07.png +0 -0
  564. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_08.png +0 -0
  565. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_09.png +0 -0
  566. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_10.png +0 -0
  567. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_11.png +0 -0
  568. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_12.png +0 -0
  569. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_3_01.png +0 -0
  570. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_3_02.png +0 -0
  571. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_3_03.png +0 -0
  572. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_3_04.png +0 -0
  573. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_3_05.png +0 -0
  574. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_list_3_06.png +0 -0
  575. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_01.png +0 -0
  576. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_02.png +0 -0
  577. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_03.png +0 -0
  578. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_04.png +0 -0
  579. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_05.png +0 -0
  580. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_06.png +0 -0
  581. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_07.png +0 -0
  582. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_08.png +0 -0
  583. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_09.png +0 -0
  584. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_10.png +0 -0
  585. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_11.png +0 -0
  586. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_popup_list_12.png +0 -0
  587. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_style_01.png +0 -0
  588. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_img_style_02.png +0 -0
  589. package/files/templates/signage-sdk-templates/Information_Kiosk/res/images/tpl_10_logo.png +0 -0
  590. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/index.html +40 -0
  591. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova/2.7.0/cordova.webos.js +7038 -0
  592. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova/LICENSE +201 -0
  593. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.2/configuration.js +1 -0
  594. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.2/deviceInfo.js +1 -0
  595. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.2/inputSource.js +1 -0
  596. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.2/power.js +1 -0
  597. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.2/signage.js +1 -0
  598. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.2/sound.js +1 -0
  599. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.2/storage.js +23 -0
  600. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.2/video.js +1 -0
  601. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.3/configuration.js +1 -0
  602. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.3/deviceInfo.js +1 -0
  603. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.3/inputSource.js +1 -0
  604. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.3/power.js +1 -0
  605. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.3/signage.js +1 -0
  606. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.3/sound.js +1 -0
  607. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.3/storage.js +1 -0
  608. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.3/video.js +1 -0
  609. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/configuration.js +1 -0
  610. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/deviceInfo.js +1 -0
  611. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/inputSource.js +1 -0
  612. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/power.js +1 -0
  613. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/security.js +1 -0
  614. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/signage.js +1 -0
  615. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/sound.js +1 -0
  616. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/storage.js +1 -0
  617. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/time.js +1 -0
  618. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/utility.js +1 -0
  619. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.4.5/video.js +1 -0
  620. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/configuration.js +1 -0
  621. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/deviceInfo.js +1 -0
  622. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/inputSource.js +1 -0
  623. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/power.js +1 -0
  624. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/security.js +1 -0
  625. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/signage.js +1 -0
  626. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/sound.js +1 -0
  627. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/storage.js +1 -0
  628. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/time.js +1 -0
  629. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/utility.js +1 -0
  630. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.5.12/video.js +1 -0
  631. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/configuration.js +1 -0
  632. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/deviceInfo.js +1 -0
  633. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/inputSource.js +1 -0
  634. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/led.js +1 -0
  635. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/power.js +1 -0
  636. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/security.js +1 -0
  637. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/signage.js +1 -0
  638. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/sound.js +1 -0
  639. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/storage.js +1 -0
  640. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/time.js +1 -0
  641. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/utility.js +1 -0
  642. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.6.8/video.js +1 -0
  643. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/configuration.js +1 -0
  644. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/deviceInfo.js +1 -0
  645. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/inputSource.js +1 -0
  646. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/iot.js +1 -0
  647. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/led.js +1 -0
  648. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/power.js +1 -0
  649. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/security.js +1 -0
  650. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/signage.js +1 -0
  651. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/sound.js +1 -0
  652. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/storage.js +1 -0
  653. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/time.js +1 -0
  654. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/utility.js +1 -0
  655. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.7.6/video.js +1 -0
  656. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/configuration.js +1 -0
  657. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/deviceInfo.js +1 -0
  658. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/inputSource.js +1 -0
  659. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/iot.js +1 -0
  660. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/power.js +1 -0
  661. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/security.js +1 -0
  662. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/signage.js +1 -0
  663. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/sound.js +1 -0
  664. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/storage.js +1 -0
  665. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/time.js +1 -0
  666. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/utility.js +1 -0
  667. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/cordova-cd/1.8.1/video.js +1 -0
  668. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/custom1.4.js +14 -0
  669. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/idcap.js +21 -0
  670. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/initializer.js +234 -0
  671. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/remocon.js +73 -0
  672. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/scheduler.js +84 -0
  673. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/js/videoPlayer.js +352 -0
  674. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/remocon.png +0 -0
  675. package/files/templates/signage-sdk-templates/Local_Content_Scheduling/style.css +99 -0
  676. package/files/templates/signage-sdk-templates/Mart/css/styles.css +248 -0
  677. package/files/templates/signage-sdk-templates/Mart/data/data.json +37 -0
  678. package/files/templates/signage-sdk-templates/Mart/fonts/Museo Sans 300 Italic.otf +0 -0
  679. package/files/templates/signage-sdk-templates/Mart/fonts/Museo Sans 300.otf +0 -0
  680. package/files/templates/signage-sdk-templates/Mart/fonts/Museo Sans 500.otf +0 -0
  681. package/files/templates/signage-sdk-templates/Mart/fonts/Museo Sans 700.otf +0 -0
  682. package/files/templates/signage-sdk-templates/Mart/index.html +81 -0
  683. package/files/templates/signage-sdk-templates/Mart/js/controller.js +102 -0
  684. package/files/templates/signage-sdk-templates/Mart/js/helpers/util.js +130 -0
  685. package/files/templates/signage-sdk-templates/Mart/readme.txt +26 -0
  686. package/files/templates/signage-sdk-templates/Mart/res/images/tpl_09_img.png +0 -0
  687. package/files/templates/signage-sdk-templates/Mart/res/images/tpl_09_img_bg.png +0 -0
  688. package/files/templates/signage-sdk-templates/Mart/res/images/tpl_09_img_brand.png +0 -0
  689. package/files/templates/signage-sdk-templates/Mart/res/images/tpl_09_img_list_01.png +0 -0
  690. package/files/templates/signage-sdk-templates/Mart/res/images/tpl_09_img_list_02.png +0 -0
  691. package/files/templates/signage-sdk-templates/Mart/res/images/tpl_09_img_list_03.png +0 -0
  692. package/files/templates/signage-sdk-templates/Mart/res/images/tpl_09_img_list_04.png +0 -0
  693. package/files/templates/signage-sdk-templates/Mart/res/images/tpl_09_img_tag.png +0 -0
  694. package/files/templates/signage-sdk-templates/Mart/res/images/tpl_09_logo.png +0 -0
  695. package/files/templates/signage-sdk-templates/Multimedia_Advertisement/css/styles.css +40 -0
  696. package/files/templates/signage-sdk-templates/Multimedia_Advertisement/data/data.json +6 -0
  697. package/files/templates/signage-sdk-templates/Multimedia_Advertisement/index.html +28 -0
  698. package/files/templates/signage-sdk-templates/Multimedia_Advertisement/js/controller.js +427 -0
  699. package/files/templates/signage-sdk-templates/Multimedia_Advertisement/js/helpers/util.js +134 -0
  700. package/files/templates/signage-sdk-templates/Multimedia_Advertisement/readme.txt +26 -0
  701. package/files/templates/signage-sdk-templates/Multimedia_Advertisement/res/images/tpl_02_img_poster.jpg +0 -0
  702. package/files/templates/signage-sdk-templates/Multimedia_Advertisement/res/videos/tpl_02_video_01.mp4 +0 -0
  703. package/files/templates/signage-sdk-templates/Multimedia_Advertisement/res/videos/tpl_02_video_02.mp4 +0 -0
  704. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/css/styles.css +163 -0
  705. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/data/data.json +92 -0
  706. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/fonts/MuseoSans300.otf +0 -0
  707. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/fonts/MuseoSans500.otf +0 -0
  708. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/fonts/MuseoSans700.otf +0 -0
  709. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/fonts/MuseoSans700Italic.otf +0 -0
  710. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/index.html +197 -0
  711. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/js/controller.js +158 -0
  712. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/js/helpers/util.js +130 -0
  713. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/readme.txt +26 -0
  714. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_bg_top.png +0 -0
  715. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_img_menu_01.png +0 -0
  716. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_img_menu_02.png +0 -0
  717. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_img_menu_03.png +0 -0
  718. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_img_menu_04.png +0 -0
  719. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_img_menu_05.png +0 -0
  720. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_img_menu_06.png +0 -0
  721. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_img_menu_07.png +0 -0
  722. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_img_menu_08.png +0 -0
  723. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_img_menu_09.png +0 -0
  724. package/files/templates/signage-sdk-templates/Price_Board_for_QSR/res/images/tpl_04_logo.png +0 -0
  725. package/files/templates/signage-sdk-templates/Simple_Network_FailOver/index.html +29 -0
  726. package/files/templates/signage-sdk-templates/Simple_Network_FailOver/js/idcap.js +21 -0
  727. package/files/templates/signage-sdk-templates/Simple_Network_FailOver/networkMonitor.js +136 -0
  728. package/files/templates/signage-sdk-templates/Simple_Network_FailOver/style.css +142 -0
  729. package/files/templates/signage-sdk-templates/Special_Menu_Board/css/styles.css +281 -0
  730. package/files/templates/signage-sdk-templates/Special_Menu_Board/data/data.json +33 -0
  731. package/files/templates/signage-sdk-templates/Special_Menu_Board/fonts/Museo Sans 300 Italic.otf +0 -0
  732. package/files/templates/signage-sdk-templates/Special_Menu_Board/fonts/Museo Sans 300.otf +0 -0
  733. package/files/templates/signage-sdk-templates/Special_Menu_Board/fonts/Museo Sans 500 Italic.otf +0 -0
  734. package/files/templates/signage-sdk-templates/Special_Menu_Board/fonts/Museo Sans 500.otf +0 -0
  735. package/files/templates/signage-sdk-templates/Special_Menu_Board/fonts/Museo Sans 700 Italic.otf +0 -0
  736. package/files/templates/signage-sdk-templates/Special_Menu_Board/fonts/Museo Sans 700.otf +0 -0
  737. package/files/templates/signage-sdk-templates/Special_Menu_Board/index.html +110 -0
  738. package/files/templates/signage-sdk-templates/Special_Menu_Board/js/controller.js +171 -0
  739. package/files/templates/signage-sdk-templates/Special_Menu_Board/js/helpers/util.js +130 -0
  740. package/files/templates/signage-sdk-templates/Special_Menu_Board/readme.txt +26 -0
  741. package/files/templates/signage-sdk-templates/Special_Menu_Board/res/images/tpl_03_img_bg.png +0 -0
  742. package/files/templates/signage-sdk-templates/Special_Menu_Board/res/images/tpl_03_img_coffe_01.png +0 -0
  743. package/files/templates/signage-sdk-templates/Special_Menu_Board/res/images/tpl_03_img_coffe_01_l.png +0 -0
  744. package/files/templates/signage-sdk-templates/Special_Menu_Board/res/images/tpl_03_img_coffe_02.png +0 -0
  745. package/files/templates/signage-sdk-templates/Special_Menu_Board/res/images/tpl_03_img_coffe_03.png +0 -0
  746. package/files/templates/signage-sdk-templates/Special_Menu_Board/res/images/tpl_03_img_coffe_04.png +0 -0
  747. package/files/templates/signage-sdk-templates/Special_Menu_Board/res/images/tpl_03_img_coffe_05.png +0 -0
  748. package/files/templates/signage-sdk-templates/Special_Menu_Board/res/images/tpl_03_logo_01.png +0 -0
  749. package/files/templates/signage-sdk-templates/Special_Menu_Board/res/images/tpl_03_logo_02.png +0 -0
  750. package/files/templates/signage-sdk-templates/Wayfinder/css/styles.css +634 -0
  751. package/files/templates/signage-sdk-templates/Wayfinder/data/data.json +339 -0
  752. package/files/templates/signage-sdk-templates/Wayfinder/fonts/MuseoSans300.otf +0 -0
  753. package/files/templates/signage-sdk-templates/Wayfinder/fonts/MuseoSans500.otf +0 -0
  754. package/files/templates/signage-sdk-templates/Wayfinder/fonts/MuseoSans700.otf +0 -0
  755. package/files/templates/signage-sdk-templates/Wayfinder/fonts/MuseoSans700Italic.otf +0 -0
  756. package/files/templates/signage-sdk-templates/Wayfinder/index.html +171 -0
  757. package/files/templates/signage-sdk-templates/Wayfinder/js/controller.js +447 -0
  758. package/files/templates/signage-sdk-templates/Wayfinder/js/helpers/util.js +175 -0
  759. package/files/templates/signage-sdk-templates/Wayfinder/readme.txt +26 -0
  760. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_btn_back_n.png +0 -0
  761. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_icon_dot_n.png +0 -0
  762. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_icon_dot_s.png +0 -0
  763. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_01.png +0 -0
  764. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_02.png +0 -0
  765. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_03.png +0 -0
  766. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_all_01_d.png +0 -0
  767. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_all_01_n.png +0 -0
  768. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_all_02_d.png +0 -0
  769. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_all_02_n.png +0 -0
  770. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_all_03_d.png +0 -0
  771. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_all_03_n.png +0 -0
  772. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_all_shadow.png +0 -0
  773. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_home_01_n.png +0 -0
  774. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_home_02_n.png +0 -0
  775. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_floormap_home_03_n.png +0 -0
  776. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_point.png +0 -0
  777. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_img_point_shadow.png +0 -0
  778. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_list_icon_elevator.png +0 -0
  779. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_list_icon_escalator.png +0 -0
  780. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_list_icon_exit.png +0 -0
  781. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_list_icon_info.png +0 -0
  782. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_list_icon_parking.png +0 -0
  783. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_list_icon_toilet.png +0 -0
  784. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_logo_lg.png +0 -0
  785. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_logo_shoppingmall_name.png +0 -0
  786. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_logo_store.png +0 -0
  787. package/files/templates/signage-sdk-templates/Wayfinder/res/images/tpl_11_popup_bg.png +0 -0
  788. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/css/styles.css +136 -0
  789. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/data/data.json +33 -0
  790. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/fonts/Museo Sans 300.otf +0 -0
  791. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/fonts/Museo Sans 500.otf +0 -0
  792. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/fonts/Museo Sans 700.otf +0 -0
  793. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/index.html +51 -0
  794. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/js/controller.js +265 -0
  795. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/js/helpers/util.js +130 -0
  796. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/readme.txt +26 -0
  797. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/ajax.gif +0 -0
  798. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_icon_cloudy.png +0 -0
  799. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_icon_partlycloudy.png +0 -0
  800. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_icon_rainy.png +0 -0
  801. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_icon_snowy.png +0 -0
  802. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_icon_sunny.png +0 -0
  803. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_icon_thunder.png +0 -0
  804. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_icon_windy.png +0 -0
  805. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_img_01.png +0 -0
  806. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_img_02.png +0 -0
  807. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_img_03.png +0 -0
  808. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_img_04.png +0 -0
  809. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_img_05.png +0 -0
  810. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_img_06.png +0 -0
  811. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_img_07.png +0 -0
  812. package/files/templates/signage-sdk-templates/Weather-dependent_Ad/res/images/tpl_08_logo.png +0 -0
  813. package/files/templates/signage-sdk-templates/Widget_Overlay/css/styles.css +312 -0
  814. package/files/templates/signage-sdk-templates/Widget_Overlay/data/data.json +16 -0
  815. package/files/templates/signage-sdk-templates/Widget_Overlay/data/newsWidget.json +21 -0
  816. package/files/templates/signage-sdk-templates/Widget_Overlay/data/shareWidget.json +112 -0
  817. package/files/templates/signage-sdk-templates/Widget_Overlay/data/weatherWidget.json +45 -0
  818. package/files/templates/signage-sdk-templates/Widget_Overlay/fonts/MuseoSans300.otf +0 -0
  819. package/files/templates/signage-sdk-templates/Widget_Overlay/fonts/MuseoSans500.otf +0 -0
  820. package/files/templates/signage-sdk-templates/Widget_Overlay/fonts/MuseoSans700.otf +0 -0
  821. package/files/templates/signage-sdk-templates/Widget_Overlay/index.html +62 -0
  822. package/files/templates/signage-sdk-templates/Widget_Overlay/js/controller.js +390 -0
  823. package/files/templates/signage-sdk-templates/Widget_Overlay/js/helpers/util.js +162 -0
  824. package/files/templates/signage-sdk-templates/Widget_Overlay/readme.txt +26 -0
  825. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/Namo.jpg +0 -0
  826. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/NotAvailable.png +0 -0
  827. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/clear.png +0 -0
  828. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/clouds.png +0 -0
  829. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/default.png +0 -0
  830. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/koreanFt.jpg +0 -0
  831. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/mist.png +0 -0
  832. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/rain.png +0 -0
  833. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/snow.png +0 -0
  834. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/thunder.png +0 -0
  835. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/tpl_07_icon_down_01.png +0 -0
  836. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/tpl_07_icon_down_02.png +0 -0
  837. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/tpl_07_icon_up_01.png +0 -0
  838. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/tpl_07_icon_up_02.png +0 -0
  839. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/tpl_07_img_news.png +0 -0
  840. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/tpl_07_img_news1.png +0 -0
  841. package/files/templates/signage-sdk-templates/Widget_Overlay/res/images/tpl_07_video_dim.png +0 -0
  842. package/files/templates/signage-sdk-templates/Widget_Overlay/res/videos/tpl_07_video.mp4 +0 -0
  843. package/files/templates/signage-sdk-templates/appinfo/appinfo.json +11 -0
  844. package/files/templates/signage-sdk-templates/idcap_api/1.1.0/js/idcap.js +21 -0
  845. package/files/templates/signage-sdk-templates/idcap_api/1.1.0/js/release_notes.txt +25 -0
  846. package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova/2.7.0/cordova.webos.js +7025 -0
  847. package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova/LICENSE +7025 -0
  848. package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova-cd/1.3/configuration.js +1 -0
  849. package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova-cd/1.3/deviceInfo.js +1 -0
  850. package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova-cd/1.3/inputSource.js +1 -0
  851. package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova-cd/1.3/power.js +1 -0
  852. package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova-cd/1.3/signage.js +1 -0
  853. package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova-cd/1.3/sound.js +1 -0
  854. package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova-cd/1.3/storage.js +1 -0
  855. package/files/templates/signage-sdk-templates/scap_api/1.3/js/cordova-cd/1.3/video.js +1 -0
  856. package/files/templates/signage-sdk-templates/scap_api/1.3/js/release_notes.txt +109 -0
  857. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova/2.7.0/cordova.webos.js +7038 -0
  858. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova/LICENSE +201 -0
  859. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/configuration.js +1 -0
  860. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/deviceInfo.js +1 -0
  861. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/inputSource.js +1 -0
  862. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/power.js +1 -0
  863. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/security.js +1 -0
  864. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/signage.js +1 -0
  865. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/sound.js +1 -0
  866. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/storage.js +1 -0
  867. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/time.js +1 -0
  868. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/utility.js +1 -0
  869. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/cordova-cd/video.js +1 -0
  870. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/all.css +358 -0
  871. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/fonts/mplus-1m-bold-webfont.eot +0 -0
  872. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/fonts/mplus-1m-bold-webfont.svg +134 -0
  873. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/fonts/mplus-1m-bold-webfont.ttf +0 -0
  874. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/fonts/mplus-1m-bold-webfont.woff +0 -0
  875. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/fonts/mplus-1m-regular-webfont.eot +0 -0
  876. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/fonts/mplus-1m-regular-webfont.svg +134 -0
  877. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/fonts/mplus-1m-regular-webfont.ttf +0 -0
  878. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/fonts/mplus-1m-regular-webfont.woff +0 -0
  879. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/handheld.css +217 -0
  880. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/css/screen.css +405 -0
  881. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/files.html +577 -0
  882. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/index.html +1203 -0
  883. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/intro.html +100 -0
  884. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/all.js +326 -0
  885. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/dessert.css +34 -0
  886. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-apollo.js +51 -0
  887. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-clj.js +64 -0
  888. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-css.js +78 -0
  889. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-go.js +58 -0
  890. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-hs.js +101 -0
  891. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-lisp.js +93 -0
  892. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-lua.js +59 -0
  893. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-ml.js +56 -0
  894. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-n.js +62 -0
  895. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-proto.js +35 -0
  896. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-scala.js +54 -0
  897. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-sql.js +57 -0
  898. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-tex.js +46 -0
  899. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-vb.js +61 -0
  900. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-vhdl.js +34 -0
  901. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-wiki.js +53 -0
  902. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-xq.js +67 -0
  903. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/lang-yaml.js +27 -0
  904. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/prettify.css +52 -0
  905. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/highlighter/prettify.js +1477 -0
  906. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/javascript/html5.js +6 -0
  907. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#clearCache.html +550 -0
  908. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getCurrentTime.html +560 -0
  909. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getLocaleList.html +560 -0
  910. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getOSDLanguage.html +560 -0
  911. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getOSDLock.html +560 -0
  912. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getPictureMode.html +560 -0
  913. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getPictureProperty.html +560 -0
  914. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getProperty.html +561 -0
  915. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getServerProperty.html +560 -0
  916. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getTimeZone.html +560 -0
  917. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getTimeZoneList.html +560 -0
  918. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getUSBLock.html +560 -0
  919. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#getVirtualKeyboardLanguage.html +560 -0
  920. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#restartApplication.html +550 -0
  921. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setCurrentTime.html +566 -0
  922. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setOSDLanguage.html +566 -0
  923. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setOSDLock.html +566 -0
  924. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setPictureMode.html +566 -0
  925. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setPictureProperty.html +566 -0
  926. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setProperty.html +561 -0
  927. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setServerProperty.html +610 -0
  928. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setTimeZone.html +566 -0
  929. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setUSBLock.html +566 -0
  930. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration#setVirtualKeyboardLanguage.html +566 -0
  931. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration.AppMode.html +685 -0
  932. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration.AppType.html +640 -0
  933. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Configuration.PictureMode.html +910 -0
  934. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#connectWifi.html +561 -0
  935. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getBeaconInfo.html +560 -0
  936. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getEddystoneInfo.html +560 -0
  937. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getNetworkInfo.html +560 -0
  938. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getNetworkMacInfo.html +560 -0
  939. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getPlatformInfo.html +560 -0
  940. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getProxyInfo.html +560 -0
  941. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getSoftApInfo.html +560 -0
  942. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getSystemUsageInfo.html +566 -0
  943. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getWifiList.html +560 -0
  944. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#getiBeaconInfo.html +560 -0
  945. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#setBeaconInfo.html +561 -0
  946. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#setEddystoneInfo.html +566 -0
  947. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#setNetworkInfo.html +561 -0
  948. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#setProxyInfo.html +566 -0
  949. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#setSoftApInfo.html +561 -0
  950. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#setiBeaconInfo.html +566 -0
  951. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#startWps.html +566 -0
  952. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo#stopWps.html +555 -0
  953. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/DeviceInfo.EddystoneFrame.html +640 -0
  954. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Error.ERROR_CODE.html +820 -0
  955. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Error.html +460 -0
  956. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/InputSource#changeInputSource.html +566 -0
  957. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/InputSource#getInputSourceStatus.html +560 -0
  958. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/InputSource#initialize.html +561 -0
  959. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#addOffTimer.html +566 -0
  960. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#addOnTimer.html +566 -0
  961. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#deleteOffTimer.html +566 -0
  962. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#deleteOnTimer.html +566 -0
  963. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#enableAllOffTimer.html +566 -0
  964. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#enableAllOnTimer.html +566 -0
  965. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#enableWakeOnLan.html +566 -0
  966. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#executePowerCommand.html +566 -0
  967. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#getDPMWakeup.html +560 -0
  968. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#getOffTimerList.html +560 -0
  969. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#getOnTimerList.html +560 -0
  970. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#getPMMode.html +560 -0
  971. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#getPowerOnDelay.html +560 -0
  972. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#getPowerStatus.html +560 -0
  973. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#setDPMWakeup.html +566 -0
  974. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#setDisplayMode.html +566 -0
  975. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#setPMMode.html +566 -0
  976. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power#setPowerOnDelay.html +566 -0
  977. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power.DPMSignalType.html +640 -0
  978. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power.DisplayMode.html +640 -0
  979. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power.PMMode.html +775 -0
  980. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power.PowerCommand.html +640 -0
  981. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Power.TimerWeek.html +910 -0
  982. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Security#existServerCertificate.html +561 -0
  983. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Security#registerServerCertificate.html +561 -2
  984. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Security#unregisterServerCertificate.html +561 -0
  985. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#captureScreen.html +561 -0
  986. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#enableCheckScreen.html +566 -0
  987. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getFailoverMode.html +555 -0
  988. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getIntelligentAuto.html +560 -0
  989. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getLanDaisyChain.html +560 -0
  990. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getPowerSaveMode.html +555 -0
  991. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getSignageInfo.html +555 -0
  992. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getStudioMode.html +560 -0
  993. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getSystemMonitoringInfo.html +555 -0
  994. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getTileInfo.html +555 -0
  995. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getUsageData.html +555 -0
  996. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#getUsagePermission.html +555 -0
  997. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#registerSystemMonitor.html +573 -0
  998. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setDigitalAudioInputMode.html +567 -0
  999. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setFailoverMode.html +567 -0
  1000. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setIntelligentAuto.html +566 -0
  1001. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setIsmMethod.html +567 -0
  1002. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setLanDaisyChain.html +566 -0
  1003. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setPortraitMode.html +567 -0
  1004. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setPowerSaveMode.html +567 -0
  1005. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setStudioMode.html +566 -0
  1006. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setTileInfo.html +567 -0
  1007. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#setUsagePermission.html +567 -0
  1008. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage#unregisterSystemMonitor.html +555 -0
  1009. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.AutomaticStandbyMode.html +640 -0
  1010. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.DigitalAudioInput.html +640 -0
  1011. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.DpmMode.html +910 -0
  1012. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.EventType.html +775 -0
  1013. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.FailoverMode.html +685 -0
  1014. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.ImgResolution.html +640 -0
  1015. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.IsmMethod.html +910 -0
  1016. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.KeyOperationMode.html +685 -0
  1017. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.MonitoringSource.html +775 -0
  1018. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Signage.OsdPortraitMode.html +640 -0
  1019. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound#getSoundMode.html +560 -0
  1020. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound#getSoundOut.html +560 -0
  1021. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound#getSoundStatus.html +560 -0
  1022. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound#setExternalSpeaker.html +566 -0
  1023. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound#setMuted.html +566 -0
  1024. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound#setSoundMode.html +566 -0
  1025. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound#setSoundOut.html +566 -0
  1026. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound#setVolumeLevel.html +566 -0
  1027. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound.SoundMode.html +820 -0
  1028. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Sound.SpeakerType.html +640 -0
  1029. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#changeLogoImage.html +566 -0
  1030. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#copyFile.html +561 -0
  1031. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#downloadFirmware.html +566 -0
  1032. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#exists.html +561 -0
  1033. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#fsync.html +561 -0
  1034. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#getFirmwareUpgradeStatus.html +560 -0
  1035. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#getStorageInfo.html +555 -0
  1036. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#listFiles.html +561 -0
  1037. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#mkdir.html +561 -0
  1038. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#moveFile.html +561 -0
  1039. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#readFile.html +563 -0
  1040. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#removeAll.html +561 -0
  1041. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#removeApplication.html +566 -0
  1042. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#removeFile.html +561 -0
  1043. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#statFile.html +561 -0
  1044. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#unzipFile.html +561 -0
  1045. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#upgradeApplication.html +566 -0
  1046. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#upgradeFirmware.html +560 -0
  1047. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage#writeFile.html +561 -0
  1048. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage.AppMode.html +640 -0
  1049. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage.AppType.html +640 -0
  1050. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Storage.SCAP_URI.html +512 -0
  1051. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Time#addHolidaySchedule.html +566 -0
  1052. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Time#delAllHolidaySchedules.html +566 -0
  1053. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Time#delHolidaySchedule.html +566 -0
  1054. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Time#getAllHolidaySchedules.html +560 -0
  1055. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Time#getHolidayScheduleMode.html +560 -0
  1056. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Time#setHolidayScheduleMode.html +566 -0
  1057. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Utility#createToast.html +561 -0
  1058. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Video#getContentRotation.html +560 -0
  1059. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Video#getVideoStatus.html +560 -0
  1060. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Video#setContentRotation.html +566 -0
  1061. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Video#setRotatedVideoTransform.html +566 -0
  1062. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Video#setVideoSize.html +566 -0
  1063. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/Video#setVideoViewTransform.html +566 -0
  1064. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/_global_.html +453 -0
  1065. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/image/media_status.jpg +0 -0
  1066. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/image/setVideoSize.png +0 -0
  1067. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_configuration.js.html +2651 -0
  1068. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_deviceInfo.js.html +1860 -0
  1069. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_inputSource.js.html +1382 -0
  1070. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_power.js.html +2697 -0
  1071. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_security.js.html +357 -0
  1072. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_signage.js.html +3601 -0
  1073. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_sound.js.html +1123 -0
  1074. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_storage.js.html +2615 -0
  1075. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_time.js.html +720 -0
  1076. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_utility.js.html +196 -0
  1077. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/doc/symbols/src/js_video.js.html +1090 -0
  1078. package/files/templates/signage-sdk-templates/scap_api/1.4.1/js/release_notes.txt +148 -0
  1079. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova/2.7.0/cordova.webos.js +7038 -0
  1080. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova/LICENSE +201 -0
  1081. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/configuration.js +1 -0
  1082. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/deviceInfo.js +1 -0
  1083. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/inputSource.js +1 -0
  1084. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/power.js +1 -0
  1085. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/security.js +1 -0
  1086. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/signage.js +1 -0
  1087. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/sound.js +1 -0
  1088. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/storage.js +1 -0
  1089. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/time.js +1 -0
  1090. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/utility.js +1 -0
  1091. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/cordova-cd/video.js +1 -0
  1092. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/all.css +358 -0
  1093. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/fonts/mplus-1m-bold-webfont.eot +0 -0
  1094. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/fonts/mplus-1m-bold-webfont.svg +134 -0
  1095. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/fonts/mplus-1m-bold-webfont.ttf +0 -0
  1096. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/fonts/mplus-1m-bold-webfont.woff +0 -0
  1097. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/fonts/mplus-1m-regular-webfont.eot +0 -0
  1098. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/fonts/mplus-1m-regular-webfont.svg +134 -0
  1099. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/fonts/mplus-1m-regular-webfont.ttf +0 -0
  1100. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/fonts/mplus-1m-regular-webfont.woff +0 -0
  1101. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/handheld.css +217 -0
  1102. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/css/screen.css +405 -0
  1103. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/files.html +599 -0
  1104. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/index.html +1280 -0
  1105. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/intro.html +100 -0
  1106. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/all.js +326 -0
  1107. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/dessert.css +34 -0
  1108. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-apollo.js +51 -0
  1109. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-clj.js +64 -0
  1110. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-css.js +78 -0
  1111. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-go.js +58 -0
  1112. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-hs.js +101 -0
  1113. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-lisp.js +93 -0
  1114. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-lua.js +59 -0
  1115. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-ml.js +56 -0
  1116. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-n.js +62 -0
  1117. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-proto.js +35 -0
  1118. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-scala.js +54 -0
  1119. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-sql.js +57 -0
  1120. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-tex.js +46 -0
  1121. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-vb.js +61 -0
  1122. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-vhdl.js +34 -0
  1123. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-wiki.js +53 -0
  1124. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-xq.js +67 -0
  1125. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/lang-yaml.js +27 -0
  1126. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/prettify.css +52 -0
  1127. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/highlighter/prettify.js +1477 -0
  1128. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/javascript/html5.js +6 -0
  1129. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#clearCache.html +572 -0
  1130. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getCurrentTime.html +582 -0
  1131. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getLocaleList.html +582 -0
  1132. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getOSDLanguage.html +582 -0
  1133. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getOSDLock.html +582 -0
  1134. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getPictureMode.html +582 -0
  1135. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getPictureProperty.html +582 -0
  1136. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getProperty.html +583 -0
  1137. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getServerProperty.html +582 -0
  1138. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getTimeZone.html +582 -0
  1139. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getTimeZoneList.html +582 -0
  1140. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getUSBLock.html +582 -0
  1141. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#getVirtualKeyboardLanguage.html +582 -0
  1142. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#restartApplication.html +572 -0
  1143. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setCurrentTime.html +588 -0
  1144. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setOSDLanguage.html +588 -0
  1145. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setOSDLock.html +588 -0
  1146. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setPictureMode.html +588 -0
  1147. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setPictureProperty.html +588 -0
  1148. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setProperty.html +583 -0
  1149. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setServerProperty.html +632 -0
  1150. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setTimeZone.html +588 -0
  1151. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setUSBLock.html +588 -0
  1152. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration#setVirtualKeyboardLanguage.html +588 -0
  1153. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration.AppMode.html +707 -0
  1154. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration.AppType.html +662 -0
  1155. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Configuration.PictureMode.html +932 -0
  1156. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#connectWifi.html +583 -0
  1157. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getBeaconInfo.html +582 -0
  1158. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getEddystoneInfo.html +582 -0
  1159. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getExternalInputList.html +588 -0
  1160. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getNetworkInfo.html +582 -0
  1161. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getNetworkMacInfo.html +582 -0
  1162. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getPlatformInfo.html +582 -0
  1163. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getProxyInfo.html +582 -0
  1164. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getSoftApInfo.html +582 -0
  1165. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getSystemUsageInfo.html +588 -0
  1166. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getWifiList.html +582 -0
  1167. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#getiBeaconInfo.html +582 -0
  1168. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#setBeaconInfo.html +583 -0
  1169. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#setEddystoneInfo.html +588 -0
  1170. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#setNetworkInfo.html +583 -0
  1171. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#setProxyInfo.html +588 -0
  1172. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#setSoftApInfo.html +583 -0
  1173. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#setiBeaconInfo.html +588 -0
  1174. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#startWps.html +588 -0
  1175. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo#stopWps.html +577 -0
  1176. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/DeviceInfo.EddystoneFrame.html +662 -0
  1177. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Error.ERROR_CODE.html +842 -0
  1178. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Error.html +482 -0
  1179. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/InputSource#changeInputSource.html +588 -0
  1180. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/InputSource#getInputSourceStatus.html +582 -0
  1181. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/InputSource#initialize.html +583 -0
  1182. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#addOffTimer.html +588 -0
  1183. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#addOnTimer.html +588 -0
  1184. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#deleteOffTimer.html +588 -0
  1185. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#deleteOnTimer.html +588 -0
  1186. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#enableAllOffTimer.html +588 -0
  1187. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#enableAllOnTimer.html +588 -0
  1188. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#enableWakeOnLan.html +588 -0
  1189. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#executePowerCommand.html +588 -0
  1190. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#getDPMWakeup.html +582 -0
  1191. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#getOffTimerList.html +582 -0
  1192. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#getOnOffTimeSchedule.html +582 -0
  1193. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#getOnTimerList.html +582 -0
  1194. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#getPMMode.html +582 -0
  1195. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#getPowerOnDelay.html +582 -0
  1196. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#getPowerStatus.html +582 -0
  1197. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#setDPMWakeup.html +588 -0
  1198. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#setDisplayMode.html +588 -0
  1199. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#setOnOffTimeSchedule.html +583 -0
  1200. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#setPMMode.html +588 -0
  1201. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#setPowerOnDelay.html +588 -0
  1202. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power#unsetOnOffTimeSchedule.html +582 -0
  1203. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power.DPMSignalType.html +662 -0
  1204. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power.DisplayMode.html +662 -0
  1205. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power.PMMode.html +797 -0
  1206. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power.PowerCommand.html +662 -0
  1207. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Power.TimerWeek.html +932 -0
  1208. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Security#existServerCertificate.html +583 -0
  1209. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Security#registerServerCertificate.html +583 -2
  1210. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Security#unregisterServerCertificate.html +583 -0
  1211. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#captureScreen.html +583 -0
  1212. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#enableCheckScreen.html +588 -0
  1213. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getFailoverMode.html +577 -0
  1214. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getIntelligentAuto.html +582 -0
  1215. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getLanDaisyChain.html +582 -0
  1216. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getPowerSaveMode.html +577 -0
  1217. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getSignageInfo.html +577 -0
  1218. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getStudioMode.html +582 -0
  1219. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getSystemMonitoringInfo.html +577 -0
  1220. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getTileInfo.html +577 -0
  1221. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getUsageData.html +577 -0
  1222. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#getUsagePermission.html +577 -0
  1223. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#registerRS232CEventListener.html +594 -0
  1224. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#registerSystemMonitor.html +595 -0
  1225. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setDigitalAudioInputMode.html +589 -0
  1226. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setFailoverMode.html +589 -0
  1227. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setIntelligentAuto.html +588 -0
  1228. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setIsmMethod.html +589 -0
  1229. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setLanDaisyChain.html +588 -0
  1230. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setPortraitMode.html +589 -0
  1231. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setPowerSaveMode.html +589 -0
  1232. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setStudioMode.html +588 -0
  1233. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setTileInfo.html +589 -0
  1234. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#setUsagePermission.html +589 -0
  1235. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#unregisterRS232CEventListener.html +582 -0
  1236. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage#unregisterSystemMonitor.html +577 -0
  1237. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.AutomaticStandbyMode.html +662 -0
  1238. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.DigitalAudioInput.html +662 -0
  1239. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.DpmMode.html +932 -0
  1240. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.EventType.html +797 -0
  1241. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.FailoverMode.html +707 -0
  1242. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.ImgResolution.html +662 -0
  1243. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.IsmMethod.html +932 -0
  1244. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.KeyOperationMode.html +707 -0
  1245. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.MonitoringSource.html +797 -0
  1246. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Signage.OsdPortraitMode.html +662 -0
  1247. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound#getSoundMode.html +582 -0
  1248. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound#getSoundOut.html +582 -0
  1249. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound#getSoundStatus.html +582 -0
  1250. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound#setExternalSpeaker.html +588 -0
  1251. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound#setMuted.html +588 -0
  1252. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound#setSoundMode.html +588 -0
  1253. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound#setSoundOut.html +588 -0
  1254. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound#setVolumeLevel.html +588 -0
  1255. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound.SoundMode.html +842 -0
  1256. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Sound.SpeakerType.html +662 -0
  1257. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#changeLogoImage.html +588 -0
  1258. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#copyFile.html +583 -0
  1259. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#decryptFile.html +583 -0
  1260. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#downloadFirmware.html +588 -0
  1261. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#exists.html +583 -0
  1262. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#fsync.html +583 -0
  1263. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#getFirmwareUpgradeStatus.html +582 -0
  1264. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#getMD5Hash.html +583 -0
  1265. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#getStorageInfo.html +577 -0
  1266. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#listFiles.html +583 -0
  1267. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#mkdir.html +583 -0
  1268. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#moveFile.html +583 -0
  1269. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#readFile.html +585 -0
  1270. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#removeAll.html +583 -0
  1271. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#removeApplication.html +588 -0
  1272. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#removeFile.html +583 -0
  1273. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#statFile.html +583 -0
  1274. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#unzipFile.html +583 -0
  1275. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#upgradeApplication.html +588 -0
  1276. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#upgradeFirmware.html +582 -0
  1277. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage#writeFile.html +583 -0
  1278. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage.AppMode.html +662 -0
  1279. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage.AppType.html +662 -0
  1280. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Storage.SCAP_URI.html +534 -0
  1281. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Time#addHolidaySchedule.html +588 -0
  1282. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Time#delAllHolidaySchedules.html +588 -0
  1283. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Time#delHolidaySchedule.html +588 -0
  1284. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Time#getAllHolidaySchedules.html +582 -0
  1285. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Time#getHolidaySchedule.html +582 -0
  1286. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Time#getHolidayScheduleMode.html +582 -0
  1287. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Time#setHolidaySchedule.html +583 -0
  1288. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Time#setHolidayScheduleMode.html +588 -0
  1289. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Time#unsetHolidaySchedule.html +582 -0
  1290. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Utility#createToast.html +583 -0
  1291. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Video#getContentRotation.html +586 -0
  1292. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Video#getVideoStatus.html +582 -0
  1293. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Video#setContentRotation.html +592 -0
  1294. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Video#setRotatedVideoTransform.html +592 -0
  1295. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Video#setVideoSize.html +588 -0
  1296. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/Video#setVideoViewTransform.html +592 -0
  1297. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/_global_.html +475 -0
  1298. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/image/media_status.jpg +0 -0
  1299. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/image/setVideoSize.png +0 -0
  1300. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_configuration.js.html +2651 -0
  1301. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_deviceInfo.js.html +1930 -0
  1302. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_inputSource.js.html +1383 -0
  1303. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_power.js.html +2942 -0
  1304. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_security.js.html +352 -0
  1305. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_signage.js.html +3853 -0
  1306. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_sound.js.html +1123 -0
  1307. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_storage.js.html +2747 -0
  1308. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_time.js.html +976 -0
  1309. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_utility.js.html +196 -0
  1310. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/doc/symbols/src/js_video.js.html +754 -0
  1311. package/files/templates/signage-sdk-templates/scap_api/1.5.0/js/release_notes.txt +148 -0
  1312. package/files/templates/signage-sdk-templates/serviceinfo/package.json +11 -0
  1313. package/files/templates/signage-sdk-templates/serviceinfo/services.json +8 -0
  1314. package/files/templates/signage-sdk-templates/signageicon/icon.png +0 -0
  1315. package/files/templates/signage-sdk-templates/signageicon/largeIcon.png +0 -0
  1316. package/files/templates/signage-sdk-templates/webos-service/helloclient.js +23 -0
  1317. package/files/templates/signage-sdk-templates/webos-service/helloworld_webos_service.js +128 -0
  1318. package/files/templates/tv-sdk-templates/appinfo/appinfo.json +10 -10
  1319. package/files/templates/tv-sdk-templates/bootplate-web/index.html +58 -58
  1320. package/files/templates/tv-sdk-templates/bootplate-web/webOSTVjs-1.2.10/LICENSE-2.0.txt +202 -202
  1321. package/files/templates/tv-sdk-templates/hosted-webapp/index.html +14 -14
  1322. package/files/templates/tv-sdk-templates/js-service/helloworld_service.js +39 -39
  1323. package/files/templates/tv-sdk-templates/packageinfo/packageinfo.json +3 -3
  1324. package/files/templates/tv-sdk-templates/serviceinfo/package.json +11 -11
  1325. package/files/templates/tv-sdk-templates/serviceinfo/services.json +8 -8
  1326. package/lib/base/ares.html +40 -40
  1327. package/lib/base/cli-appdata.js +289 -290
  1328. package/lib/base/cli-control.js +44 -44
  1329. package/lib/base/common-tools.js +29 -29
  1330. package/lib/base/error-handler.js +265 -265
  1331. package/lib/base/file-watcher.js +155 -155
  1332. package/lib/base/help-format.js +147 -147
  1333. package/lib/base/luna.js +178 -178
  1334. package/lib/base/novacom.js +1214 -1202
  1335. package/lib/base/sdkenv.js +59 -59
  1336. package/lib/base/server.js +137 -137
  1337. package/lib/base/setup-device.js +356 -335
  1338. package/lib/base/version-tools.js +79 -79
  1339. package/lib/com.sdk.ares.signage.hostedapp.ipk +0 -0
  1340. package/lib/device.js +1419 -1419
  1341. package/lib/generator.js +408 -377
  1342. package/lib/inspect.js +493 -493
  1343. package/lib/install.js +465 -463
  1344. package/lib/launch.js +607 -605
  1345. package/lib/log.js +584 -584
  1346. package/lib/package.js +2253 -2149
  1347. package/lib/pull.js +231 -231
  1348. package/lib/pusher.js +210 -210
  1349. package/lib/session.js +74 -74
  1350. package/lib/shell.js +193 -193
  1351. package/lib/tar-filter-pack.js +62 -62
  1352. package/lib/util/copy.js +31 -31
  1353. package/lib/util/createFileName.js +40 -40
  1354. package/lib/util/eof.js +30 -30
  1355. package/lib/util/json.js +63 -63
  1356. package/lib/util/merge.js +14 -14
  1357. package/lib/util/objclone.js +40 -40
  1358. package/lib/util/spinner.js +37 -37
  1359. package/npm-shrinkwrap.json +9242 -9242
  1360. package/package.json +100 -100
  1361. package/sbom-info.yaml +1758 -0
  1362. package/scripts/postinstall.js +24 -24
  1363. package/spec/helpers/reporter.js +65 -65
  1364. package/spec/jsSpecs/apiTest/generator.spec.js +372 -372
  1365. package/spec/jsSpecs/apiTest/inspector.spec.js +89 -89
  1366. package/spec/jsSpecs/apiTest/installer.spec.js +67 -67
  1367. package/spec/jsSpecs/apiTest/launcher.spec.js +150 -150
  1368. package/spec/jsSpecs/apiTest/packager.spec.js +194 -194
  1369. package/spec/jsSpecs/apiTest/puller.spec.js +101 -101
  1370. package/spec/jsSpecs/apiTest/pusher.spec.js +103 -103
  1371. package/spec/jsSpecs/apiTest/server.spec.js +115 -115
  1372. package/spec/jsSpecs/apiTest/setupDevice.spec.js +93 -93
  1373. package/spec/jsSpecs/apiTest/shell.spec.js +49 -49
  1374. package/spec/jsSpecs/ares-config.spec.js +88 -88
  1375. package/spec/jsSpecs/ares-device.spec.js +443 -443
  1376. package/spec/jsSpecs/ares-generate.spec.js +401 -397
  1377. package/spec/jsSpecs/ares-inspect.spec.js +252 -252
  1378. package/spec/jsSpecs/ares-install.spec.js +150 -150
  1379. package/spec/jsSpecs/ares-launch.spec.js +303 -301
  1380. package/spec/jsSpecs/ares-log.spec.js +824 -824
  1381. package/spec/jsSpecs/ares-novacom.spec.js +149 -149
  1382. package/spec/jsSpecs/ares-package.spec.js +1277 -1211
  1383. package/spec/jsSpecs/ares-pull.spec.js +157 -157
  1384. package/spec/jsSpecs/ares-push.spec.js +146 -146
  1385. package/spec/jsSpecs/ares-server.spec.js +160 -160
  1386. package/spec/jsSpecs/ares-setup-device.spec.js +299 -300
  1387. package/spec/jsSpecs/ares-shell.spec.js +220 -220
  1388. package/spec/jsSpecs/ares.spec.js +83 -83
  1389. package/spec/jsSpecs/common-spec.js +177 -169
  1390. package/spec/support/jasmine.json +22 -22
  1391. package/spec/tempFiles/com.lg.app.signage.dev_0.0.1_all.ipk +0 -0
  1392. package/spec/tempFiles/nativeApp/auto/pkg_arm64/appinfo.json +9 -9
  1393. package/spec/tempFiles/nativeApp/ose/pkg_arm/appinfo.json +8 -8
  1394. package/spec/tempFiles/nativeApp/ose/pkg_arm/package.properties +2 -2
  1395. package/spec/tempFiles/nativeApp/oseEmul/pkg_x86/appinfo.json +9 -9
  1396. package/spec/tempFiles/nativeApp/rsi/pkg_x86/appinfo.json +9 -9
  1397. package/spec/tempFiles/sign/sign.crt +32 -32
  1398. package/spec/tempFiles/sign/signPriv.key +52 -52
  1399. package/spec/test_data/ares-generate.json +91 -58
  1400. package/spec/test_data/ares.json +50 -50
  1401. package/webos-tools-cli-3.2.0.tgz +0 -0
  1402. package/webos-tools-cli-3.1.2.tgz +0 -0
@@ -1,1211 +1,1277 @@
1
- /*
2
- * Copyright (c) 2020-2024 LG Electronics Inc.
3
- *
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
-
7
- const path = require('path'),
8
- fs = require('fs'),
9
- exec = require('child_process').exec,
10
- common = require('./common-spec');
11
-
12
- const tempDirPath = path.join(__dirname, "..", "tempFiles"),
13
- sampleAppPath = path.join(tempDirPath, "sampleApp"),
14
- sampleServicePath = path.join(tempDirPath, "sampleService"),
15
- sampleResourcePath = path.join(tempDirPath, "sampleResource"),
16
- nativeDirPath = path.join(tempDirPath, "nativeApp"),
17
- pkgInfoPath = path.join(tempDirPath, "packageinfo.json"),
18
- outputPath = path.join(tempDirPath, "output"),
19
- appPathByRom = path.join(outputPath, "usr/palm/applications"),
20
- appPkgPath = path.join(outputPath, "com.webos.sample.app_1.0.0_all.ipk"),
21
- svcPkgPath = path.join(outputPath, "com.webos.sample_1.0.0_all.ipk"),
22
- appinfoPath = path.join(sampleAppPath, "appinfo.json"),
23
- signKeyPath = path.join(tempDirPath, "sign/signPriv.key"),
24
- crtPath = path.join(tempDirPath,"sign/sign.crt"),
25
- ipkBasePath = path.join(tempDirPath, "ipks"),
26
- pkgDirPath = path.join(tempDirPath, "pkgDir");
27
-
28
- const aresCmd = 'ares-package',
29
- sampleServicePaths = [];
30
-
31
- let cmd,
32
- expectedTemplate;
33
-
34
- beforeAll(function(done) {
35
- cmd = common.makeCmd(aresCmd);
36
- common.getExpectedResult("ares-generate")
37
- .then(function(result) {
38
- expectedTemplate = result.template;
39
- done();
40
- });
41
- });
42
-
43
- afterAll(function(done) {
44
- common.removeOutDir(sampleAppPath); // can be in afterAll
45
- common.removeOutDir(sampleServicePath); // can be in afterAll
46
- common.removeOutDir(pkgInfoPath);
47
- common.removeOutDir(pkgDirPath);
48
- done();
49
- });
50
-
51
- describe(aresCmd + ' -v', function() {
52
- it('Print help message with verbose log', function(done) {
53
- exec(cmd + ' -v', function(error, stdout, stderr) {
54
- if (stderr && stderr.length > 0) {
55
- common.detectNodeMessage(stderr);
56
- expect(stderr).toContain("verb argv");
57
- }
58
- expect(stdout).toContain("SYNOPSIS");
59
- expect(error).toBeNull();
60
- done();
61
- });
62
- });
63
- });
64
-
65
- describe(aresCmd, function() {
66
- beforeEach(function(done) {
67
- common.removeOutDir(sampleAppPath);
68
- done();
69
- });
70
-
71
- it('Generate a sample app for packaging', function(done) {
72
- const generateCmd = common.makeCmd('ares-generate');
73
- exec(generateCmd + ` -t ${expectedTemplate.webapp} -p "id=com.webos.sample.app" -p "version=1.0.0" ${sampleAppPath}`, function(error, stdout, stderr) {
74
- if (stderr && stderr.length > 0) {
75
- common.detectNodeMessage(stderr);
76
- }
77
- expect(stdout).toContain("Generating");
78
- expect(error).toBeNull();
79
- done();
80
- });
81
- });
82
- });
83
-
84
- describe(aresCmd, function() {
85
- beforeEach(function(done) {
86
- common.removeOutDir(sampleServicePath);
87
- done();
88
- });
89
-
90
- it('Generate two sample services for packaging', function(done) {
91
- const serviceid = ["com.webos.sample.app.service", "com.webos.sample.service1", "com.webos.sample.service2"];
92
- serviceid.forEach(function(svcId) {
93
- const svcPath = path.join(sampleServicePath, svcId);
94
- sampleServicePaths.push(path.join(sampleServicePath, svcId));
95
- const generateCmd = common.makeCmd('ares-generate');
96
- exec(generateCmd + ` -t ${expectedTemplate.jsservice} -s ${svcId} ${svcPath}`, function(error, stdout, stderr) {
97
- if (stderr && stderr.length > 0) {
98
- common.detectNodeMessage(stderr);
99
- }
100
- expect(stdout).toContain("Generating");
101
- done();
102
- });
103
- });
104
- });
105
- });
106
-
107
- describe(aresCmd, function() {
108
- beforeEach(function(done) {
109
- common.removeOutDir(outputPath);
110
- done();
111
- });
112
- afterEach(function(done) {
113
- common.removeOutDir(outputPath);
114
- done();
115
- });
116
-
117
- it('Package web app with -o(--outdir)', function(done) {
118
- exec(cmd + ` ${sampleAppPath} -o ${outputPath}`, function(error, stdout, stderr) {
119
- if (stderr && stderr.length > 0) {
120
- common.detectNodeMessage(stderr);
121
- }
122
- expect(stdout).toContain("Create", error);
123
- expect(stdout).toContain("Success", error);
124
- expect(fs.existsSync(appPkgPath)).toBe(true);
125
- done();
126
- });
127
- });
128
- });
129
-
130
- describe(aresCmd, function() {
131
- beforeEach(function(done) {
132
- common.removeOutDir(outputPath);
133
- done();
134
- });
135
-
136
- it('Package web app & service with -o(--outdir)', function(done) {
137
- exec(cmd + ` ${sampleAppPath} ${sampleServicePaths[0]} -o ${outputPath}`, function(error, stdout, stderr) {
138
- if (stderr && stderr.length > 0) {
139
- common.detectNodeMessage(stderr);
140
- }
141
- expect(stdout).toContain(outputPath);
142
- expect(stdout).toContain("Success", error);
143
- expect(fs.existsSync(appPkgPath)).toBe(true);
144
- done();
145
- });
146
- });
147
- });
148
-
149
- describe(aresCmd, function() {
150
- beforeEach(function(done) {
151
- common.removeOutDir(outputPath);
152
-
153
- const appinfo = {
154
- "id": "com.webos.sample.app",
155
- "vendor": "My Company",
156
- "type": "web",
157
- "main": "index.html",
158
- "title": "new app",
159
- "icon": "icon.png"
160
- };
161
- fs.writeFileSync(appinfoPath, JSON.stringify(appinfo), 'utf8');
162
- done();
163
- });
164
-
165
- it('App version does not exist', function(done) {
166
- exec(cmd + ` ${sampleAppPath} -o ${outputPath}`, function(error, stdout, stderr) {
167
- if (stderr && stderr.length > 0) {
168
- common.detectNodeMessage(stderr);
169
- }
170
- expect(stdout).toContain("Create", error);
171
- expect(stdout).toContain("Success", error);
172
- expect(fs.existsSync(appPkgPath)).toBe(true);
173
- done();
174
- });
175
- });
176
- });
177
-
178
- describe(aresCmd, function() {
179
- const expectedFilePath = path.join(outputPath, "com.webos.sample_1.0.0_all.ipk");
180
- beforeAll(function(done) {
181
- common.removeOutDir(pkgInfoPath);
182
- const pkgInfo = {
183
- "id": "com.webos.sample",
184
- "version": "1.0.0"
185
- };
186
- fs.writeFileSync(pkgInfoPath, JSON.stringify(pkgInfo), 'utf8');
187
- done();
188
- });
189
-
190
- beforeEach(function(done) {
191
- common.removeOutDir(outputPath);
192
- done();
193
- });
194
-
195
- afterAll(function(done) {
196
- common.removeOutDir(outputPath);
197
- common.removeOutDir(pkgInfoPath);
198
- done();
199
- });
200
-
201
- it('Package web app with -pi option', function(done) {
202
- exec(cmd + ` ${sampleAppPath} -pi com.webos.sample -o ${outputPath}`, function(error, stdout, stderr) {
203
- if (stderr && stderr.length > 0) {
204
- common.detectNodeMessage(stderr);
205
- }
206
- expect(stdout).toContain("Create", error);
207
- expect(stdout).toContain("Success", error);
208
- expect(fs.existsSync(expectedFilePath)).toBe(true);
209
- done();
210
- });
211
- });
212
-
213
- it('Package web app with -pf option', function(done) {
214
- exec(cmd + ` ${sampleAppPath} -pf ${pkgInfoPath} -o ${outputPath}`, function(error, stdout, stderr) {
215
- if (stderr && stderr.length > 0) {
216
- common.detectNodeMessage(stderr);
217
- }
218
- expect(stdout).toContain("Create", error);
219
- expect(stdout).toContain("Success", error);
220
- expect(fs.existsSync(expectedFilePath)).toBe(true);
221
- done();
222
- });
223
- });
224
- });
225
-
226
- describe(aresCmd + ' --pkginfofile(-pf)', function() {
227
- const pkgPath = path.join(outputPath, "com_1.0.0_all.ipk");
228
- beforeAll(function(done) {
229
- common.removeOutDir(pkgInfoPath);
230
- common.removeOutDir(outputPath);
231
- const pkginfo = {
232
- "id":"com",
233
- "version":"1.0.0"
234
- };
235
- fs.writeFileSync(pkgInfoPath, JSON.stringify(pkginfo), 'utf8');
236
- done();
237
- });
238
-
239
- afterAll(function(done) {
240
- common.removeOutDir(pkgInfoPath);
241
- common.removeOutDir(outputPath);
242
- done();
243
- });
244
-
245
- it('Package web app by packageinfo.json and -o(--outdir)', function(done) {
246
- exec(cmd + ` ${sampleAppPath} -pf ${pkgInfoPath} -o ${outputPath}`, function(error, stdout, stderr) {
247
- if (stderr && stderr.length > 0) {
248
- common.detectNodeMessage(stderr);
249
- }
250
- expect(stdout).toContain(outputPath);
251
- expect(stdout).toContain("Success", error);
252
- expect(fs.existsSync(pkgPath)).toBe(true);
253
- done();
254
- });
255
- });
256
-
257
- it('Check to exist app field in packageinfo.json', function(done) {
258
- exec(cmd + ` -I ${pkgPath}`, function(error, stdout, stderr) {
259
- if (stderr && stderr.length > 0) {
260
- common.detectNodeMessage(stderr);
261
- }
262
- expect(stdout).toContain('"app": "com.webos.sample.app"');
263
- done();
264
- });
265
- });
266
- });
267
-
268
- describe(aresCmd, function() {
269
- beforeEach(function(done) {
270
- common.removeOutDir(outputPath);
271
- done();
272
- });
273
-
274
- it('Package ose native app with -o(--outdir)', function(done) {
275
- const nativeAppPath = path.join(nativeDirPath, "ose/pkg_arm");
276
- const expectIpkName = "com.ose.target.native_1.0.0_arm.ipk";
277
- const expectIpkPath = path.join(outputPath, expectIpkName);
278
-
279
- exec(cmd + ` ${nativeAppPath} -o ${outputPath}`, function(error, stdout, stderr) {
280
- if (stderr && stderr.length > 0) {
281
- common.detectNodeMessage(stderr);
282
- }
283
- expect(stdout).toContain("Create", error);
284
- expect(stdout).toContain("Success", error);
285
- expect(stdout).toContain(expectIpkName, error);
286
- expect(fs.existsSync(expectIpkPath)).toBe(true, error);
287
- done();
288
- });
289
- });
290
-
291
- // emulator
292
- it('Package ose emulator native app with -o(--outdir)', function(done) {
293
- const nativeAppPath = path.join(nativeDirPath, "oseEmul/pkg_x86");
294
- const expectIpkName = "com.ose.emul.native_1.0.0_x86.ipk";
295
- const expectIpkPath = path.join(outputPath, expectIpkName);
296
-
297
- exec(cmd + ` ${nativeAppPath} -o ${outputPath}`, function(error, stdout, stderr) {
298
- if (stderr && stderr.length > 0) {
299
- common.detectNodeMessage(stderr);
300
- }
301
- expect(stdout).toContain("Create", error);
302
- expect(stdout).toContain("Success", error);
303
- expect(stdout).toContain(expectIpkName, error);
304
- expect(fs.existsSync(expectIpkPath)).toBe(true, error);
305
- done();
306
- });
307
- });
308
-
309
- // arm64 target
310
- it('Package auto native app with -o(--outdir)', function(done) {
311
- const nativeAppPath = path.join(nativeDirPath, "auto/pkg_arm64");
312
- const expectIpkName = "com.sample.gles2_1.0.0_aarch64.ipk";
313
- const expectIpkPath = path.join(outputPath, expectIpkName);
314
-
315
- exec(cmd + ` ${nativeAppPath} -o ${outputPath}`, function(error, stdout, stderr) {
316
- if (stderr && stderr.length > 0) {
317
- common.detectNodeMessage(stderr);
318
- }
319
- expect(stdout).toContain("Create", error);
320
- expect(stdout).toContain("Success", error);
321
- expect(stdout).toContain(expectIpkName, error);
322
- expect(fs.existsSync(expectIpkPath)).toBe(true, error);
323
- done();
324
- });
325
- });
326
-
327
- // rsi target
328
- it('Package rsi native app with -o(--outdir)', function(done) {
329
- const nativeAppPath = path.join(nativeDirPath, "rsi/pkg_x86");
330
- const expectIpkName = "com.sample.gles2_1.0.0_x86_64.ipk";
331
- const expectIpkPath = path.join(outputPath, expectIpkName);
332
-
333
- exec(cmd + ` ${nativeAppPath} -o ${outputPath}`, function(error, stdout, stderr) {
334
- if (stderr && stderr.length > 0) {
335
- common.detectNodeMessage(stderr);
336
- }
337
- expect(stdout).toContain("Create", error);
338
- expect(stdout).toContain("Success", error);
339
- expect(stdout).toContain(expectIpkName, error);
340
- expect(fs.existsSync(expectIpkPath)).toBe(true, error);
341
- done();
342
- });
343
- });
344
- });
345
-
346
- describe(aresCmd, function() {
347
- beforeAll(function(done) {
348
- common.removeOutDir(pkgInfoPath);
349
-
350
- const pkginfo = {
351
- "id": "com.webos.sample",
352
- "version": "1.0.0"
353
- };
354
- fs.writeFileSync(pkgInfoPath, JSON.stringify(pkginfo), 'utf8');
355
- done();
356
- });
357
-
358
- beforeEach(function(done) {
359
- common.removeOutDir(outputPath);
360
- done();
361
- });
362
-
363
- afterAll(function(done) {
364
- common.removeOutDir(outputPath);
365
- common.removeOutDir(pkgInfoPath);
366
- done();
367
- });
368
-
369
- it('Package only service with -pi and -o(--outdir)', function(done) {
370
- exec(cmd + ` ${sampleServicePaths[1]} ${sampleServicePaths[2]} -pi com.webos.sample -o ${outputPath}`, function(error, stdout, stderr) {
371
- if (stderr && stderr.length > 0) {
372
- common.detectNodeMessage(stderr);
373
- }
374
- expect(stdout).toContain(outputPath);
375
- expect(stdout).toContain("Success", error);
376
- expect(fs.existsSync(svcPkgPath)).toBe(true);
377
- done();
378
- });
379
- });
380
-
381
- it('Package only service with -pf and -o(--outdir)', function(done) {
382
- exec(cmd + ` ${sampleServicePaths[1]} ${sampleServicePaths[2]} -pf ${pkgInfoPath} -o ${outputPath}`, function(error, stdout, stderr) {
383
- if (stderr && stderr.length > 0) {
384
- common.detectNodeMessage(stderr);
385
- }
386
- expect(stdout).toContain(outputPath);
387
- expect(stdout).toContain("Success", error);
388
- expect(fs.existsSync(svcPkgPath)).toBe(true);
389
- done();
390
- });
391
- });
392
-
393
- it('Package service with -pf and -pv', function(done) {
394
- const expectedTmpFile = path.join(outputPath,"com.webos.sample_1.1.1_all.ipk");
395
- exec(cmd + ` ${sampleServicePaths[0]} -pf ${pkgInfoPath} -pv 1.1.1 -o ${outputPath}`, function(error, stdout, stderr) {
396
- if (stderr && stderr.length > 0) {
397
- common.detectNodeMessage(stderr);
398
- }
399
- expect(stdout).toContain(outputPath);
400
- expect(stdout).toContain("Success", error);
401
- expect(fs.existsSync(expectedTmpFile)).toBe(true);
402
- done();
403
- });
404
- });
405
- });
406
-
407
- describe(aresCmd + ' --check(-c)', function() {
408
- it('Check the application but do not pacakge', function(done) {
409
- exec(cmd + ` -c ${sampleAppPath} ${sampleServicePaths[0]}`, function(error, stdout, stderr) {
410
- if (stderr && stderr.length > 0) {
411
- common.detectNodeMessage(stderr);
412
- }
413
- expect(stdout).toContain("no problems detected");
414
- done();
415
- });
416
- });
417
- it('Check the services but do not pacakge', function(done) {
418
- exec(cmd + ` -c ${sampleServicePaths[1]} ${sampleServicePaths[2]} -pi com.webos.sample`, function(error, stdout, stderr) {
419
- if (stderr && stderr.length > 0) {
420
- common.detectNodeMessage(stderr);
421
- }
422
- expect(stdout).toContain("no problems detected");
423
- done();
424
- });
425
- });
426
- });
427
-
428
- describe(aresCmd + ' --rom(-r)', function() {
429
- beforeEach(function(done) {
430
- common.removeOutDir(outputPath);
431
- done();
432
- });
433
-
434
- afterEach(function(done) {
435
- common.removeOutDir(outputPath);
436
- done();
437
- });
438
-
439
- it('Create output a directory structure with app', function(done) {
440
- exec(cmd + ` -r ${sampleAppPath} ${sampleServicePaths[0]} -o ${outputPath}`, function(error, stdout, stderr) {
441
- if (stderr && stderr.length > 0) {
442
- common.detectNodeMessage(stderr);
443
- }
444
-
445
- const createdSvcPath = path.join(outputPath, 'usr/palm/services');
446
- expect(stdout).toContain('Create output directory');
447
- expect(fs.existsSync(appPathByRom)).toBe(true);
448
- expect(fs.existsSync(createdSvcPath)).toBe(true);
449
- done();
450
- });
451
- });
452
-
453
- it('Create output a directory structure without app', function(done) {
454
- exec(cmd + ` -r ${sampleServicePaths[1]} ${sampleServicePaths[2]} -pi com.webos.sample -o ${outputPath}`, function(error, stdout, stderr) {
455
- if (stderr && stderr.length > 0) {
456
- common.detectNodeMessage(stderr);
457
- }
458
-
459
- const createdSvcPath = path.join(outputPath, 'usr/palm/services');
460
- expect(stdout).toContain('Create output directory');
461
- expect(fs.existsSync(createdSvcPath)).toBe(true);
462
- done();
463
- });
464
- });
465
- });
466
-
467
- describe(aresCmd + ' --encrypt(-enc)', function() {
468
- beforeEach(function(done) {
469
- common.removeOutDir(outputPath);
470
- done();
471
- });
472
-
473
- afterEach(function(done) {
474
- common.removeOutDir(outputPath);
475
- done();
476
- });
477
-
478
- it('Encrypted ipk', function(done) {
479
- exec(cmd + ` -enc ${sampleAppPath} ${sampleServicePaths[0]} -o ${outputPath}`, function(error, stdout, stderr) {
480
- if (stderr && stderr.length > 0) {
481
- common.detectNodeMessage(stderr);
482
- expect(stderr).toContain("ares-package ERR! [syscall failure]: ENOENT: no such file or directory, open", error);
483
- expect(stderr).toContain("ares-package ERR! [Tips]: Please check if the path is valid", error);
484
- }
485
- expect(fs.existsSync(appPkgPath)).toBe(false);
486
- done();
487
- });
488
- });
489
- });
490
-
491
- describe(aresCmd + ' --sign(-s) & --certificate(-crt)', function() {
492
- beforeEach(function(done) {
493
- common.removeOutDir(outputPath);
494
- done();
495
- });
496
-
497
- afterEach(function(done) {
498
- common.removeOutDir(outputPath);
499
- done();
500
- });
501
-
502
- it('Sign ipk', function(done) {
503
- exec(cmd +` -s ${signKeyPath} -crt ${crtPath} ${sampleAppPath} ${sampleServicePaths[0]} -o ${outputPath}`, function(error, stdout, stderr) {
504
- if (stderr && stderr.length > 0) {
505
- common.detectNodeMessage(stderr);
506
- }
507
- expect(stdout).toContain('Create signed', error);
508
- expect(fs.existsSync(appPkgPath)).toBe(true);
509
- done();
510
- });
511
- });
512
- });
513
-
514
- describe(aresCmd + ' --app-exclude(-e)', function() {
515
- const tmpFilePath = path.join(sampleAppPath,"tmpFile");
516
-
517
- beforeEach(function(done) {
518
- common.removeOutDir(outputPath);
519
- fs.writeFileSync(tmpFilePath, "", 'utf8');
520
- done();
521
- });
522
-
523
- afterEach(function(done) {
524
- common.removeOutDir(tmpFilePath);
525
- common.removeOutDir(outputPath);
526
- done();
527
- });
528
-
529
- it('Check the application but do not pacakge', function(done) {
530
- exec(cmd + ` -e tmpFile ${sampleAppPath} -r -o ${outputPath}`, function(error, stdout, stderr) {
531
- if (stderr && stderr.length > 0) {
532
- common.detectNodeMessage(stderr);
533
- }
534
- expect(stdout).toContain("Success");
535
- expect(fs.existsSync(path.join(appPathByRom, "com.webos.sample.app/tmpFile"))).toBe(false);
536
- done();
537
- });
538
- });
539
- });
540
-
541
- describe(aresCmd, function() {
542
- const pkgInfo = {
543
- "id": "com",
544
- "version": "2.2.2"
545
- };
546
-
547
- beforeAll(function(done) {
548
- common.createOutDir(sampleResourcePath);
549
-
550
- const rscInfoDirPath = path.join(sampleResourcePath, "resourceinfo.json"),
551
- rscInfo = {
552
- "id": "com.domain.app.resource",
553
- "bindmountPath": "abcd"
554
- };
555
- fs.writeFileSync(rscInfoDirPath, JSON.stringify(rscInfo), 'utf8');
556
- fs.writeFileSync(pkgInfoPath, JSON.stringify(pkgInfo), 'utf8');
557
- done();
558
- });
559
-
560
- beforeEach(function(done) {
561
- common.removeOutDir(outputPath);
562
- done();
563
- });
564
-
565
- afterAll(function(done) {
566
- common.removeOutDir(outputPath);
567
- common.removeOutDir(pkgInfoPath);
568
- common.removeOutDir(sampleResourcePath);
569
- done();
570
- });
571
-
572
- it('Package resource with -pi and -o(--outdir)', function(done) {
573
- const expectedPiPkgPath = path.join(outputPath, "com_1.0.0_all.ipk");
574
-
575
- exec(cmd + ` ${sampleResourcePath} -pi com -o ${outputPath}`, function(error, stdout, stderr) {
576
- if (stderr && stderr.length > 0) {
577
- common.detectNodeMessage(stderr);
578
- }
579
- expect(stdout).toContain("Create", error);
580
- expect(stdout).toContain("Success", error);
581
- expect(fs.existsSync(expectedPiPkgPath)).toBe(true);
582
- done();
583
- });
584
- });
585
-
586
- it('Package resource with -pf and -o(--outdir)', function(done) {
587
- const expectedPfPkgPath = path.join(outputPath, "com_2.2.2_all.ipk");
588
-
589
- exec(cmd + ` ${sampleResourcePath} -pf ${pkgInfoPath} -o ${outputPath}`, function(error, stdout, stderr) {
590
- if (stderr && stderr.length > 0) {
591
- common.detectNodeMessage(stderr);
592
- }
593
- expect(stdout).toContain("Create", error);
594
- expect(stdout).toContain("Success", error);
595
- expect(fs.existsSync(expectedPfPkgPath)).toBe(true);
596
- done();
597
- });
598
- });
599
-
600
- it('Package resource with -pf(App version does not exist in packageinfo.json) and -o(--outdir)', function(done) {
601
- const expectedPfPkgPath = path.join(outputPath, "com_1.0.0_all.ipk");
602
- common.removeOutDir(pkgInfoPath);
603
- delete pkgInfo.version;
604
- fs.writeFileSync(pkgInfoPath, JSON.stringify(pkgInfo), 'utf8');
605
-
606
- exec(cmd + ` ${sampleResourcePath} -pf ${pkgInfoPath} -o ${outputPath}`, function(error, stdout, stderr) {
607
- if (stderr && stderr.length > 0) {
608
- common.detectNodeMessage(stderr);
609
- }
610
- expect(stdout).toContain("Create", error);
611
- expect(stdout).toContain("Success", error);
612
- expect(fs.existsSync(expectedPfPkgPath)).toBe(true);
613
- done();
614
- });
615
- });
616
- });
617
-
618
- describe(aresCmd + ' negative TC for app packaging', function() {
619
- beforeEach(function(done) {
620
- const appinfo = {
621
- "version": "1.0.0",
622
- "vendor": "My Company",
623
- "type": "web",
624
- "main": "index.html",
625
- "title": "new app",
626
- "icon": "icon.png"
627
- };
628
- fs.writeFileSync(appinfoPath, JSON.stringify(appinfo), 'utf8');
629
- done();
630
- });
631
-
632
- it('Check to exist app id', function(done) {
633
- exec(cmd + ` ${sampleAppPath} -o ${outputPath}`, function(error, stdout, stderr) {
634
- if (stderr && stderr.length > 0) {
635
- common.detectNodeMessage(stderr);
636
- stderr = stderr.trim().replace(/\s+['\n']/g, '\n');
637
- expect(stderr).toContain("ares-package ERR! [Tips]: Please input required field <id>", error);
638
- }
639
- done();
640
- });
641
- });
642
- });
643
-
644
- describe(aresCmd + ' negative TC for app packaging', function() {
645
- beforeEach(function(done) {
646
- const appinfo = {
647
- "id": "com.domain.app",
648
- "version": "1.0.0",
649
- "vendor": "My Company"
650
- };
651
- fs.writeFileSync(appinfoPath, JSON.stringify(appinfo), 'utf8');
652
- done();
653
- });
654
-
655
- it('Check to exist required fields in app meta file', function(done) {
656
- exec(cmd + ` ${sampleAppPath} -o ${outputPath}`, function(error, stdout, stderr) {
657
- if (stderr && stderr.length > 0) {
658
- common.detectNodeMessage(stderr);
659
- stderr = stderr.trim().replace(/\s+['\n']/g, '\n');
660
- expect(stderr).toContain("ares-package ERR! [Tips]: Invalid file <appinfo.json> :");
661
- expect(stderr).toContain("ares-package ERR! [Tips]: main is required");
662
- expect(stderr).toContain("ares-package ERR! [Tips]: title is required");
663
- expect(stderr).toContain("ares-package ERR! [Tips]: icon is required");
664
- expect(stderr).toContain("ares-package ERR! [Tips]: type is required");
665
- }
666
- done();
667
- });
668
- });
669
- });
670
-
671
- describe(aresCmd + ' negative TC for app packaging', function() {
672
- beforeEach(function(done) {
673
- const appinfo = {
674
- "id": "com.domain.app",
675
- "version": "1.0.0",
676
- "vendor": "My Company",
677
- "type": "invalidType",
678
- "main": "index.html",
679
- "title": "new app",
680
- "icon": "icon.png"
681
- };
682
- fs.writeFileSync(appinfoPath, JSON.stringify(appinfo), 'utf8');
683
- done();
684
- });
685
-
686
- it('Check to invalid app type', function(done) {
687
- exec(cmd + ` ${sampleAppPath} -o ${outputPath}`, function(error, stdout, stderr) {
688
- if (stderr && stderr.length > 0) {
689
- common.detectNodeMessage(stderr);
690
- stderr = stderr.trim().replace(/\s+['\n']/g, '\n');
691
- expect(stderr).toContain("ares-package ERR! [Tips]: Invalid file <appinfo.json> :");
692
- expect(stderr).toContain("ares-package ERR! [Tips]: type is not one of enum values: " +
693
- "web,stub,native,native_builtin,native_appshell,qml", error);
694
- }
695
- done();
696
- });
697
- });
698
- });
699
-
700
- describe(aresCmd + ' negative TC for app packaging', function() {
701
- beforeAll(function(done) {
702
- common.removeOutDir(pkgInfoPath);
703
- common.createOutDir(pkgDirPath);
704
-
705
- const pkgDirInfoPath = path.join(pkgDirPath, "packageinfo.json"),
706
- pkgInfo = {
707
- "id": "com.test",
708
- "version": "1.0.0"
709
- };
710
- fs.writeFileSync(pkgInfoPath, JSON.stringify(pkgInfo), 'utf8');
711
- fs.writeFileSync(pkgDirInfoPath, JSON.stringify(pkgInfo), 'utf8');
712
- done();
713
- });
714
-
715
- beforeEach(function(done) {
716
- common.removeOutDir(outputPath);
717
- done();
718
- });
719
-
720
- afterAll(function(done) {
721
- common.removeOutDir(outputPath);
722
- common.removeOutDir(pkgInfoPath);
723
- common.removeOutDir(pkgDirPath);
724
- done();
725
- });
726
-
727
- it('Check to invalid app id with -pi option', function(done) {
728
- exec(cmd + ` ${sampleAppPath} -pi com.test -o ${outputPath}`, function(error, stdout, stderr) {
729
- if (stderr && stderr.length > 0) {
730
- common.detectNodeMessage(stderr);
731
- stderr.trim().replace(/\s+['\n']/g, '\n');
732
- expect(stderr).toContain("ares-package ERR! Error: Invalid value <id> : com.domain.app", error);
733
- expect(stderr).toContain("ares-package ERR! [Tips]: App ID must start with package ID <com.test>", error);
734
- }
735
- done();
736
- });
737
- });
738
-
739
- it('Check to invalid app id with -pf option', function(done) {
740
- exec(cmd + ` ${sampleAppPath} -pf ${pkgInfoPath} -o ${outputPath}`, function(error, stdout, stderr) {
741
- if (stderr && stderr.length > 0) {
742
- common.detectNodeMessage(stderr);
743
- stderr.trim().replace(/\s+['\n']/g, '\n');
744
- expect(stderr).toContain("ares-package ERR! Error: Invalid value <id> : com.domain.app", error);
745
- expect(stderr).toContain("ares-package ERR! [Tips]: App ID must start with package ID <com.test>", error);
746
- }
747
- done();
748
- });
749
- });
750
-
751
- it('Check to do not support with -pi and -pf options together', function(done) {
752
- exec(cmd + ` ${sampleAppPath} -pf ${pkgInfoPath} -pi com.webos.sample -o ${outputPath}`, function(error, stdout, stderr) {
753
- if (stderr && stderr.length > 0) {
754
- common.detectNodeMessage(stderr);
755
- stderr.trim().replace(/\s+['\n']/g, '\n');
756
- expect(stderr).toContain("ares-package ERR! [Tips]: Do not use together with options <pkginfofile, pkgid>", error);
757
- }
758
- done();
759
- });
760
- });
761
-
762
- it('Check to do not support with pkgdir', function(done) {
763
- exec(cmd + ` ${sampleAppPath} ${pkgDirPath} -o ${outputPath}`, function(error, stdout, stderr) {
764
- if (stderr && stderr.length > 0) {
765
- common.detectNodeMessage(stderr);
766
- stderr.trim().replace(/\s+['\n']/g, '\n');
767
- expect(stderr).toContain("ares-package ERR! [Tips]: Cannot package the directory with package directory", error);
768
- }
769
- done();
770
- });
771
- });
772
-
773
- it('Check to do not support with pkgdir and -pi options together', function(done) {
774
- exec(cmd + ` ${sampleAppPath} ${pkgDirPath} -pi com -o ${outputPath}`, function(error, stdout, stderr) {
775
- if (stderr && stderr.length > 0) {
776
- common.detectNodeMessage(stderr);
777
- stderr.trim().replace(/\s+['\n']/g, '\n');
778
- expect(stderr).toContain("ares-package ERR! [Tips]: Cannot package the directory with package directory", error);
779
- }
780
- done();
781
- });
782
- });
783
-
784
- it('Check to do not support with pkgdir and -pf options together', function(done) {
785
- exec(cmd + ` ${sampleAppPath} ${pkgDirPath} -pf ${pkgInfoPath} -o ${outputPath}`, function(error, stdout, stderr) {
786
- if (stderr && stderr.length > 0) {
787
- common.detectNodeMessage(stderr);
788
- stderr.trim().replace(/\s+['\n']/g, '\n');
789
- expect(stderr).toContain("ares-package ERR! [Tips]: Cannot package the directory with package directory", error);
790
- }
791
- done();
792
- });
793
- });
794
- });
795
-
796
- describe(aresCmd + ' negative TC for services packaging', function() {
797
- beforeEach(function(done) {
798
- common.removeOutDir(outputPath);
799
- done();
800
- });
801
-
802
- it('Check to exist pi option', function(done) {
803
- exec(cmd + ` ${sampleServicePaths[1]} ${sampleServicePaths[2]} -o ${outputPath}`, function(error, stdout, stderr) {
804
- if (stderr && stderr.length > 0) {
805
- common.detectNodeMessage(stderr);
806
- stderr.trim().replace(/\s+['\n']/g, '\n');
807
- expect(stderr).toContain("ares-package ERR! [Tips]: packageId must be provided by using either the '--pkgid' or the '--pkginfofile' option", error);
808
- }
809
- done();
810
- });
811
- });
812
- });
813
-
814
- describe(aresCmd + ' negative TC for services packaging', function() {
815
- beforeEach(function(done) {
816
- common.removeOutDir(outputPath);
817
-
818
- const pkgInfo = {
819
- "id": "com.webos.sample",
820
- "version": "1.0.0"
821
- };
822
- fs.writeFileSync(pkgInfoPath, JSON.stringify(pkgInfo), 'utf8');
823
- done();
824
- });
825
-
826
- afterEach(function(done) {
827
- common.removeOutDir(outputPath);
828
- common.removeOutDir(pkgInfoPath);
829
- done();
830
- });
831
-
832
- it('Check to do not support -pi and -pf options together', function(done) {
833
- exec(cmd + ` ${sampleServicePaths[1]} ${sampleServicePaths[2]} -pf ${pkgInfoPath} -pi com.webos.sample -o ${outputPath}`, function(error, stdout, stderr) {
834
- if (stderr && stderr.length > 0) {
835
- common.detectNodeMessage(stderr);
836
- stderr.trim().replace(/\s+['\n']/g, '\n');
837
- expect(stderr).toContain("ares-package ERR! [Tips]: Do not use together with options <pkginfofile, pkgid>", error);
838
- }
839
- done();
840
- });
841
- });
842
- });
843
-
844
- describe(aresCmd + ' negative TC for services packaging', function() {
845
- const tmpPath = path.join(tempDirPath, "pkg.json");
846
-
847
- beforeEach(function(done) {
848
- common.removeOutDir(outputPath);
849
-
850
- const pkginfo = {
851
- "id": "com.webos.sample",
852
- "version": "1.0.0"
853
- };
854
- fs.writeFileSync(tmpPath, JSON.stringify(pkginfo), 'utf8');
855
- done();
856
- });
857
-
858
- afterEach(function(done) {
859
- common.removeOutDir(tmpPath);
860
- done();
861
- });
862
-
863
- it('Check to file name of package meta file', function(done) {
864
- exec(cmd + ` ${sampleServicePaths[1]} ${sampleServicePaths[2]} -pf ${tmpPath} -o ${outputPath}`, function(error, stdout, stderr) {
865
- if (stderr && stderr.length > 0) {
866
- common.detectNodeMessage(stderr);
867
- stderr.trim().replace(/\s+['\n']/g, '\n');
868
- expect(stderr).toContain("ares-package ERR! [Tips]: Invalid file <packageinfo.json>", error);
869
- }
870
- done();
871
- });
872
- });
873
- });
874
-
875
- describe(aresCmd + ' negative TC for services packaging', function() {
876
- const tmpPath = path.join(tempDirPath, "pkg.json");
877
-
878
- beforeEach(function(done) {
879
- common.removeOutDir(outputPath);
880
- common.removeOutDir(pkgInfoPath);
881
-
882
- const pkginfo = {
883
- "version": "1.0.0"
884
- };
885
- fs.writeFileSync(pkgInfoPath, JSON.stringify(pkginfo), 'utf8');
886
- done();
887
- });
888
-
889
- afterEach(function(done) {
890
- common.removeOutDir(tmpPath);
891
- done();
892
- });
893
-
894
- it('Check to exist id fields in pkg meta file', function(done) {
895
- exec(cmd + ` ${sampleServicePaths[1]} ${sampleServicePaths[2]} -pf ${pkgInfoPath} -o ${outputPath}`, function(error, stdout, stderr) {
896
- if (stderr && stderr.length > 0) {
897
- common.detectNodeMessage(stderr);
898
- stderr.trim().replace(/\s+['\n']/g, '\n');
899
- expect(stderr).toContain("ares-package ERR! [Tips]: Please input required field <id>", error);
900
- }
901
- done();
902
- });
903
- });
904
- });
905
-
906
- describe(aresCmd + ' negative TC for services packaging', function() {
907
- beforeAll(function(done) {
908
- common.createOutDir(pkgDirPath);
909
-
910
- const pkgDirInfoPath = path.join(pkgDirPath, "packageinfo.json"),
911
- pkgInfo = {
912
- "id": "com.test"
913
- };
914
- fs.writeFileSync(pkgInfoPath, JSON.stringify(pkgInfo), 'utf8');
915
- fs.writeFileSync(pkgDirInfoPath, JSON.stringify(pkgInfo), 'utf8');
916
- done();
917
- });
918
-
919
- beforeEach(function(done) {
920
- common.removeOutDir(outputPath);
921
- done();
922
- });
923
-
924
- afterAll(function(done) {
925
- common.removeOutDir(outputPath);
926
- common.removeOutDir(pkgInfoPath);
927
- common.removeOutDir(pkgDirPath);
928
- done();
929
- });
930
-
931
- it('Check to invalid service id with -pi option', function(done) {
932
- exec(cmd + ` ${sampleServicePaths[0]} -pi com.test -o ${outputPath}`, function(error, stdout, stderr) {
933
- if (stderr && stderr.length > 0) {
934
- common.detectNodeMessage(stderr);
935
- stderr.trim().replace(/\s+['\n']/g, '\n');
936
- expect(stderr).toContain("ares-package ERR! [Tips]: ServiceID must start with package id <com.test>", error);
937
- }
938
- done();
939
- });
940
- });
941
-
942
- it('Check to invalid service id with -pf option', function(done) {
943
- exec(cmd + ` ${sampleServicePaths[0]} -pf ${pkgInfoPath} -o ${outputPath}`, function(error, stdout, stderr) {
944
- if (stderr && stderr.length > 0) {
945
- common.detectNodeMessage(stderr);
946
- stderr.trim().replace(/\s+['\n']/g, '\n');
947
- expect(stderr).toContain("ares-package ERR! [Tips]: ServiceID must start with package id <com.test>", error);
948
- }
949
- done();
950
- });
951
- });
952
-
953
- it('Check to do not support with pkgdir', function(done) {
954
- exec(cmd + ` ${sampleServicePaths[1]} ${pkgDirPath} -o ${outputPath}`, function(error, stdout, stderr) {
955
- if (stderr && stderr.length > 0) {
956
- common.detectNodeMessage(stderr);
957
- stderr.trim().replace(/\s+['\n']/g, '\n');
958
- expect(stderr).toContain("ares-package ERR! [Tips]: Cannot package the directory with package directory", error);
959
- }
960
- done();
961
- });
962
- });
963
-
964
- it('Check to do not support with pkgdir and -pi options together', function(done) {
965
- exec(cmd + ` ${sampleServicePaths[1]} ${pkgDirPath} -pi com -o ${outputPath}`, function(error, stdout, stderr) {
966
- if (stderr && stderr.length > 0) {
967
- common.detectNodeMessage(stderr);
968
- stderr.trim().replace(/\s+['\n']/g, '\n');
969
- expect(stderr).toContain("ares-package ERR! [Tips]: Cannot package the directory with package directory", error);
970
- }
971
- done();
972
- });
973
- });
974
-
975
- it('Check to do not support with pkgdir and -pf options together', function(done) {
976
- exec(cmd + ` ${sampleServicePaths[1]} ${pkgDirPath} -pf ${pkgInfoPath} -o ${outputPath}`, function(error, stdout, stderr) {
977
- if (stderr && stderr.length > 0) {
978
- common.detectNodeMessage(stderr);
979
- stderr.trim().replace(/\s+['\n']/g, '\n');
980
- expect(stderr).toContain("ares-package ERR! [Tips]: Cannot package the directory with package directory", error);
981
- }
982
- done();
983
- });
984
- });
985
- });
986
-
987
- describe(aresCmd + ' negative TC for resource packaging', function() {
988
- const pkgInfo = {
989
- "id": "com.test",
990
- "version": "2.2.2"
991
- };
992
-
993
- beforeAll(function(done) {
994
- common.removeOutDir(pkgInfoPath);
995
- common.createOutDir(pkgDirPath);
996
- common.createOutDir(sampleResourcePath);
997
-
998
- const pkgDirInfoPath = path.join(pkgDirPath, "packageinfo.json"),
999
- rscInfoDirPath = path.join(sampleResourcePath, "resourceinfo.json"),
1000
- pkgDirInfo = {
1001
- "id": "com.domain"
1002
- },
1003
- rscInfo = {
1004
- "id": "com.domain.app.resource",
1005
- "bindmountPath": "abcd"
1006
- };
1007
- fs.writeFileSync(pkgInfoPath, JSON.stringify(pkgInfo), 'utf8');
1008
- fs.writeFileSync(pkgDirInfoPath, JSON.stringify(pkgDirInfo), 'utf8');
1009
- fs.writeFileSync(rscInfoDirPath, JSON.stringify(rscInfo), 'utf8');
1010
- done();
1011
- });
1012
-
1013
- beforeEach(function(done) {
1014
- common.removeOutDir(outputPath);
1015
- done();
1016
- });
1017
-
1018
- afterAll(function(done) {
1019
- common.removeOutDir(outputPath);
1020
- common.removeOutDir(pkgInfoPath);
1021
- common.removeOutDir(pkgDirPath);
1022
- common.removeOutDir(sampleResourcePath);
1023
- done();
1024
- });
1025
-
1026
- it('Check to exist pi option', function(done) {
1027
- exec(cmd + ` ${sampleResourcePath} -o ${outputPath}`, function(error, stdout, stderr) {
1028
- if (stderr && stderr.length > 0) {
1029
- common.detectNodeMessage(stderr);
1030
- stderr.trim().replace(/\s+['\n']/g, '\n');
1031
- expect(stderr).toContain("ares-package ERR! [Tips]: packageId must be provided by using either the '--pkgid' or the '--pkginfofile' option", error);
1032
- }
1033
- done();
1034
- });
1035
- });
1036
-
1037
- it('Check to invalid resource id with -pi option', function(done) {
1038
- exec(cmd + ` ${sampleResourcePath} -pi com.test -o ${outputPath}`, function(error, stdout, stderr) {
1039
- if (stderr && stderr.length > 0) {
1040
- common.detectNodeMessage(stderr);
1041
- stderr.trim().replace(/\s+['\n']/g, '\n');
1042
- expect(stderr).toContain("ares-package ERR! [Tips]: Resource ID must start with package ID <com.test>", error);
1043
- }
1044
- done();
1045
- });
1046
- });
1047
-
1048
- it('Check to invalid resource id with -pf option', function(done) {
1049
- exec(cmd + ` ${sampleResourcePath} -pf ${pkgInfoPath} -o ${outputPath}`, function(error, stdout, stderr) {
1050
- if (stderr && stderr.length > 0) {
1051
- common.detectNodeMessage(stderr);
1052
- stderr.trim().replace(/\s+['\n']/g, '\n');
1053
- expect(stderr).toContain("ares-package ERR! [Tips]: Resource ID must start with package ID <com.test>", error);
1054
- }
1055
- done();
1056
- });
1057
- });
1058
-
1059
- it('Check to do not support with -pi and -pf options together', function(done) {
1060
- exec(cmd + ` ${sampleResourcePath} -pi com -pf ${pkgInfoPath} -o ${outputPath}`, function(error, stdout, stderr) {
1061
- if (stderr && stderr.length > 0) {
1062
- common.detectNodeMessage(stderr);
1063
- stderr.trim().replace(/\s+['\n']/g, '\n');
1064
- expect(stderr).toContain("ares-package ERR! [Tips]: Do not use together with options <pkginfofile, pkgid>", error);
1065
- }
1066
- done();
1067
- });
1068
- });
1069
-
1070
- it('Check to do not support with pkgdir', function(done) {
1071
- exec(cmd + ` ${sampleResourcePath} ${pkgDirPath} -o ${outputPath}`, function(error, stdout, stderr) {
1072
- if (stderr && stderr.length > 0) {
1073
- common.detectNodeMessage(stderr);
1074
- stderr.trim().replace(/\s+['\n']/g, '\n');
1075
- expect(stderr).toContain("ares-package ERR! [Tips]: Cannot package the directory with package directory", error);
1076
- }
1077
- done();
1078
- });
1079
- });
1080
-
1081
- it('Check to do not support with pkgdir and -pi options together', function(done) {
1082
- exec(cmd + ` ${sampleResourcePath} ${pkgDirPath} -pi com -o ${outputPath}`, function(error, stdout, stderr) {
1083
- if (stderr && stderr.length > 0) {
1084
- common.detectNodeMessage(stderr);
1085
- stderr.trim().replace(/\s+['\n']/g, '\n');
1086
- expect(stderr).toContain("ares-package ERR! [Tips]: Cannot package the directory with package directory", error);
1087
- }
1088
- done();
1089
- });
1090
- });
1091
-
1092
- it('Check to do not support with pkgdir and -pf options together', function(done) {
1093
- exec(cmd + ` ${sampleResourcePath} ${pkgDirPath} -pf ${pkgInfoPath} -o ${outputPath}`, function(error, stdout, stderr) {
1094
- if (stderr && stderr.length > 0) {
1095
- common.detectNodeMessage(stderr);
1096
- stderr.trim().replace(/\s+['\n']/g, '\n');
1097
- expect(stderr).toContain("ares-package ERR! [Tips]: Cannot package the directory with package directory", error);
1098
- }
1099
- done();
1100
- });
1101
- });
1102
-
1103
- it('Check to cannot package with app', function(done) {
1104
- exec(cmd + ` ${sampleAppPath} ${sampleResourcePath} -o ${outputPath}`, function(error, stdout, stderr) {
1105
- if (stderr && stderr.length > 0) {
1106
- common.detectNodeMessage(stderr);
1107
- stderr.trim().replace(/\s+['\n']/g, '\n');
1108
- expect(stderr).toContain("ares-package ERR! [Tips]: Cannot package the app or service directory with resource directory", error);
1109
- }
1110
- done();
1111
- });
1112
- });
1113
-
1114
- it('Check to cannot package with service', function(done) {
1115
- exec(cmd + ` ${sampleServicePaths[0]} ${sampleResourcePath} -o ${outputPath}`, function(error, stdout, stderr) {
1116
- if (stderr && stderr.length > 0) {
1117
- common.detectNodeMessage(stderr);
1118
- stderr.trim().replace(/\s+['\n']/g, '\n');
1119
- expect(stderr).toContain("ares-package ERR! [Tips]: Cannot package the app or service directory with resource directory", error);
1120
- }
1121
- done();
1122
- });
1123
- });
1124
-
1125
- it('Check to cannot package with app and service', function(done) {
1126
- exec(cmd + ` ${sampleAppPath} ${sampleServicePaths[0]} ${sampleResourcePath} -o ${outputPath}`, function(error, stdout, stderr) {
1127
- if (stderr && stderr.length > 0) {
1128
- common.detectNodeMessage(stderr);
1129
- stderr.trim().replace(/\s+['\n']/g, '\n');
1130
- expect(stderr).toContain("ares-package ERR! [Tips]: Cannot package the app or service directory with resource directory", error);
1131
- }
1132
- done();
1133
- });
1134
- });
1135
-
1136
- it('Check to exist id fields in pkg meta file', function(done) {
1137
- common.removeOutDir(pkgInfoPath);
1138
- delete pkgInfo.id;
1139
- fs.writeFileSync(pkgInfoPath, JSON.stringify(pkgInfo), 'utf8');
1140
-
1141
- exec(cmd + ` ${sampleResourcePath} -pf ${pkgInfoPath} -o ${outputPath}`, function(error, stdout, stderr) {
1142
- if (stderr && stderr.length > 0) {
1143
- common.detectNodeMessage(stderr);
1144
- stderr = stderr.trim().replace(/\s+['\n']/g, '\n');
1145
- expect(stderr).toContain("ares-package ERR! [Tips]: Please input required field <id>", error);
1146
- }
1147
- done();
1148
- });
1149
- });
1150
- });
1151
-
1152
- describe(aresCmd + " info/info-detail options", function() {
1153
- it('Info of web app and service package', function(done) {
1154
- const webIpk = path.join(ipkBasePath, "com.web.app_1.0.0_all.ipk");
1155
-
1156
- exec(cmd + ` -I ${webIpk}`, function(error, stdout, stderr) {
1157
- if (stderr && stderr.length > 0) {
1158
- common.detectNodeMessage(stderr);
1159
- }
1160
- expect(stdout).toContain("< packageinfo.json >");
1161
- expect(stdout).toContain("< appinfo.json >");
1162
- expect(stdout).toContain("< services.json >");
1163
- expect(stdout).toContain("< package.json >");
1164
- done();
1165
- });
1166
- });
1167
-
1168
- it('Info of external native app and service package', function(done) {
1169
- const externalAppIpk = path.join(ipkBasePath, "com.sample.echo_0.0.1_all.ipk");
1170
-
1171
- exec(cmd + ` -i ${externalAppIpk}`, function(error, stdout, stderr) {
1172
- if (stderr && stderr.length > 0) {
1173
- common.detectNodeMessage(stderr);
1174
- }
1175
- expect(stdout).toContain("< Package Information >");
1176
- expect(stdout).toContain("< Application Information >");
1177
- expect(stdout).toContain("< Service Information >");
1178
- done();
1179
- });
1180
- });
1181
-
1182
- it('nagetive TC for not support file extension', function(done) {
1183
- exec(cmd + ` -i aaa`, function(error, stdout, stderr) {
1184
- if (stderr && stderr.length > 0) {
1185
- common.detectNodeMessage(stderr);
1186
- }
1187
- expect(stderr).toContain("ares-package ERR! [Tips]: Only .ipk file is supported. Please check the file extension <aaa>");
1188
- done();
1189
- });
1190
- });
1191
-
1192
- it('nagetive TC for not exist ipk file', function(done) {
1193
- exec(cmd + ` -i aaa.ipk`, function(error, stdout, stderr) {
1194
- if (stderr && stderr.length > 0) {
1195
- common.detectNodeMessage(stderr);
1196
- }
1197
- expect(stderr).toContain("ares-package ERR! [Tips]: The specified path does not exist <aaa.ipk>");
1198
- done();
1199
- });
1200
- });
1201
-
1202
- it('nagetive TC for not exist parameter', function(done) {
1203
- exec(cmd + ` -i`, function(error, stdout, stderr) {
1204
- if (stderr && stderr.length > 0) {
1205
- common.detectNodeMessage(stderr);
1206
- }
1207
- expect(stderr).toContain("ares-package ERR! [Tips]: Please specify a value <info>");
1208
- done();
1209
- });
1210
- });
1211
- });
1
+ /*
2
+ * Copyright (c) 2020-2024 LG Electronics Inc.
3
+ *
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+
7
+ const path = require('path'),
8
+ fs = require('fs'),
9
+ exec = require('child_process').exec,
10
+ common = require('./common-spec');
11
+
12
+ const tempDirPath = path.join(__dirname, "..", "tempFiles"),
13
+ sampleAppPath = path.join(tempDirPath, "sampleApp"),
14
+ sampleServicePath = path.join(tempDirPath, "sampleService"),
15
+ sampleResourcePath = path.join(tempDirPath, "sampleResource"),
16
+ nativeDirPath = path.join(tempDirPath, "nativeApp"),
17
+ pkgInfoPath = path.join(tempDirPath, "packageinfo.json"),
18
+ outputPath = path.join(tempDirPath, "output"),
19
+ appPathByRom = path.join(outputPath, "usr/palm/applications"),
20
+ appPkgPath = path.join(outputPath, "com.webos.sample.app_1.0.0_all.ipk"),
21
+ plainAppPkgPath = path.join(outputPath, "com.webos.sample.app_1.0.0_all.ipk_plain"),
22
+ svcPkgPath = path.join(outputPath, "com.webos.sample_1.0.0_all.ipk"),
23
+ appinfoPath = path.join(sampleAppPath, "appinfo.json"),
24
+ signKeyPath = path.join(tempDirPath, "sign/signPriv.key"),
25
+ crtPath = path.join(tempDirPath,"sign/sign.crt"),
26
+ ipkBasePath = path.join(tempDirPath, "ipks"),
27
+ pkgDirPath = path.join(tempDirPath, "pkgDir");
28
+
29
+ const aresCmd = 'ares-package',
30
+ sampleServicePaths = [];
31
+
32
+ let cmd,
33
+ options,
34
+ expectedTemplate;
35
+
36
+ beforeAll(function(done) {
37
+ cmd = common.makeCmd(aresCmd);
38
+ common.getOptions()
39
+ .then(function(result) {
40
+ options = result;
41
+ return common.getExpectedResult("ares-generate");
42
+ }).then(function(result) {
43
+ expectedTemplate = result.template;
44
+ done();
45
+ });
46
+ });
47
+
48
+ afterAll(function(done) {
49
+ common.removeOutDir(sampleAppPath); // can be in afterAll
50
+ common.removeOutDir(sampleServicePath); // can be in afterAll
51
+ common.removeOutDir(pkgInfoPath);
52
+ common.removeOutDir(pkgDirPath);
53
+ done();
54
+ });
55
+
56
+ describe(aresCmd + ' -v', function() {
57
+ it('Print help message with verbose log', function(done) {
58
+ exec(cmd + ' -v', function(error, stdout, stderr) {
59
+ if (stderr && stderr.length > 0) {
60
+ common.detectNodeMessage(stderr);
61
+ expect(stderr).toContain("verb argv");
62
+ }
63
+ expect(stdout).toContain("SYNOPSIS");
64
+ expect(error).toBeNull();
65
+ done();
66
+ });
67
+ });
68
+ });
69
+
70
+ describe(aresCmd, function() {
71
+ beforeEach(function(done) {
72
+ common.removeOutDir(sampleAppPath);
73
+ done();
74
+ });
75
+
76
+ it('Generate a sample app for packaging', function(done) {
77
+ const generateCmd = common.makeCmd('ares-generate');
78
+ exec(generateCmd + ` -t ${expectedTemplate.webapp} -p "id=com.webos.sample.app" -p "version=1.0.0" ${sampleAppPath}`, function(error, stdout, stderr) {
79
+ if (stderr && stderr.length > 0) {
80
+ common.detectNodeMessage(stderr);
81
+ }
82
+ expect(stdout).toContain("Generating");
83
+ expect(error).toBeNull();
84
+ done();
85
+ });
86
+ });
87
+ });
88
+
89
+ describe(aresCmd, function() {
90
+ beforeEach(function(done) {
91
+ common.removeOutDir(sampleServicePath);
92
+ done();
93
+ });
94
+
95
+ it('Generate two sample services for packaging', function(done) {
96
+ const serviceid = ["com.webos.sample.app.service", "com.webos.sample.service1", "com.webos.sample.service2"];
97
+ serviceid.forEach(function(svcId) {
98
+ const svcPath = path.join(sampleServicePath, svcId);
99
+ sampleServicePaths.push(path.join(sampleServicePath, svcId));
100
+ const generateCmd = common.makeCmd('ares-generate');
101
+ exec(generateCmd + ` -t ${expectedTemplate.jsservice} -s ${svcId} ${svcPath}`, function(error, stdout, stderr) {
102
+ if (stderr && stderr.length > 0) {
103
+ common.detectNodeMessage(stderr);
104
+ }
105
+ expect(stdout).toContain("Generating");
106
+ done();
107
+ });
108
+ });
109
+ });
110
+ });
111
+
112
+ describe(aresCmd, function() {
113
+ beforeEach(function(done) {
114
+ common.removeOutDir(outputPath);
115
+ done();
116
+ });
117
+ afterEach(function(done) {
118
+ common.removeOutDir(outputPath);
119
+ done();
120
+ });
121
+
122
+ it('Package web app with -o(--outdir)', function(done) {
123
+ exec(cmd + ` ${sampleAppPath} -o ${outputPath}`, function(error, stdout, stderr) {
124
+ if (stderr && stderr.length > 0) {
125
+ common.detectNodeMessage(stderr);
126
+ }
127
+ expect(stdout).toContain("Create", error);
128
+ expect(stdout).toContain("Success", error);
129
+ expect(fs.existsSync(appPkgPath)).toBe(true);
130
+ done();
131
+ });
132
+ });
133
+ });
134
+
135
+ describe(aresCmd, function() {
136
+ beforeEach(function(done) {
137
+ common.removeOutDir(outputPath);
138
+ done();
139
+ });
140
+
141
+ it('Package web app & service with -o(--outdir)', function(done) {
142
+ exec(cmd + ` ${sampleAppPath} ${sampleServicePaths[0]} -o ${outputPath}`, function(error, stdout, stderr) {
143
+ if (stderr && stderr.length > 0) {
144
+ common.detectNodeMessage(stderr);
145
+ }
146
+ expect(stdout).toContain(outputPath);
147
+ expect(stdout).toContain("Success", error);
148
+ expect(fs.existsSync(appPkgPath)).toBe(true);
149
+ done();
150
+ });
151
+ });
152
+ });
153
+
154
+ describe(aresCmd, function() {
155
+ beforeEach(function(done) {
156
+ common.removeOutDir(outputPath);
157
+
158
+ const appinfo = {
159
+ "id": "com.webos.sample.app",
160
+ "vendor": "My Company",
161
+ "type": "web",
162
+ "main": "index.html",
163
+ "title": "new app",
164
+ "icon": "icon.png"
165
+ };
166
+ fs.writeFileSync(appinfoPath, JSON.stringify(appinfo), 'utf8');
167
+ done();
168
+ });
169
+
170
+ it('App version does not exist', function(done) {
171
+ exec(cmd + ` ${sampleAppPath} -o ${outputPath}`, function(error, stdout, stderr) {
172
+ if (stderr && stderr.length > 0) {
173
+ common.detectNodeMessage(stderr);
174
+ }
175
+ expect(stdout).toContain("Create", error);
176
+ expect(stdout).toContain("Success", error);
177
+ expect(fs.existsSync(appPkgPath)).toBe(true);
178
+ done();
179
+ });
180
+ });
181
+ });
182
+
183
+ describe(aresCmd, function() {
184
+ const expectedFilePath = path.join(outputPath, "com.webos.sample_1.0.0_all.ipk");
185
+ beforeAll(function(done) {
186
+ common.removeOutDir(pkgInfoPath);
187
+ const pkgInfo = {
188
+ "id": "com.webos.sample",
189
+ "version": "1.0.0"
190
+ };
191
+ fs.writeFileSync(pkgInfoPath, JSON.stringify(pkgInfo), 'utf8');
192
+ done();
193
+ });
194
+
195
+ beforeEach(function(done) {
196
+ common.removeOutDir(outputPath);
197
+ done();
198
+ });
199
+
200
+ afterAll(function(done) {
201
+ common.removeOutDir(outputPath);
202
+ common.removeOutDir(pkgInfoPath);
203
+ done();
204
+ });
205
+
206
+ it('Package web app with -pi option', function(done) {
207
+ exec(cmd + ` ${sampleAppPath} -pi com.webos.sample -o ${outputPath}`, function(error, stdout, stderr) {
208
+ if (stderr && stderr.length > 0) {
209
+ common.detectNodeMessage(stderr);
210
+ }
211
+ expect(stdout).toContain("Create", error);
212
+ expect(stdout).toContain("Success", error);
213
+ expect(fs.existsSync(expectedFilePath)).toBe(true);
214
+ done();
215
+ });
216
+ });
217
+
218
+ it('Package web app with -pf option', function(done) {
219
+ exec(cmd + ` ${sampleAppPath} -pf ${pkgInfoPath} -o ${outputPath}`, function(error, stdout, stderr) {
220
+ if (stderr && stderr.length > 0) {
221
+ common.detectNodeMessage(stderr);
222
+ }
223
+ expect(stdout).toContain("Create", error);
224
+ expect(stdout).toContain("Success", error);
225
+ expect(fs.existsSync(expectedFilePath)).toBe(true);
226
+ done();
227
+ });
228
+ });
229
+ });
230
+
231
+ describe(aresCmd + ' --pkginfofile(-pf)', function() {
232
+ const pkgPath = path.join(outputPath, "com_1.0.0_all.ipk");
233
+ beforeAll(function(done) {
234
+ common.removeOutDir(pkgInfoPath);
235
+ common.removeOutDir(outputPath);
236
+ const pkginfo = {
237
+ "id":"com",
238
+ "version":"1.0.0"
239
+ };
240
+ fs.writeFileSync(pkgInfoPath, JSON.stringify(pkginfo), 'utf8');
241
+ done();
242
+ });
243
+
244
+ afterAll(function(done) {
245
+ common.removeOutDir(pkgInfoPath);
246
+ common.removeOutDir(outputPath);
247
+ done();
248
+ });
249
+
250
+ it('Package web app by packageinfo.json and -o(--outdir)', function(done) {
251
+ exec(cmd + ` ${sampleAppPath} -pf ${pkgInfoPath} -o ${outputPath}`, function(error, stdout, stderr) {
252
+ if (stderr && stderr.length > 0) {
253
+ common.detectNodeMessage(stderr);
254
+ }
255
+ expect(stdout).toContain(outputPath);
256
+ expect(stdout).toContain("Success", error);
257
+ expect(fs.existsSync(pkgPath)).toBe(true);
258
+ done();
259
+ });
260
+ });
261
+
262
+ it('Check to exist app field in packageinfo.json', function(done) {
263
+ exec(cmd + ` -I ${pkgPath}`, function(error, stdout, stderr) {
264
+ if (stderr && stderr.length > 0) {
265
+ common.detectNodeMessage(stderr);
266
+ }
267
+ expect(stdout).toContain('"app": "com.webos.sample.app"');
268
+ done();
269
+ });
270
+ });
271
+ });
272
+
273
+ describe(aresCmd, function() {
274
+ beforeEach(function(done) {
275
+ common.removeOutDir(outputPath);
276
+ done();
277
+ });
278
+
279
+ it('Package ose native app with -o(--outdir)', function(done) {
280
+ const nativeAppPath = path.join(nativeDirPath, "ose/pkg_arm");
281
+ const expectIpkName = "com.ose.target.native_1.0.0_arm.ipk";
282
+ const expectIpkPath = path.join(outputPath, expectIpkName);
283
+
284
+ exec(cmd + ` ${nativeAppPath} -o ${outputPath}`, function(error, stdout, stderr) {
285
+ if (stderr && stderr.length > 0) {
286
+ common.detectNodeMessage(stderr);
287
+ }
288
+ expect(stdout).toContain("Create", error);
289
+ expect(stdout).toContain("Success", error);
290
+ expect(stdout).toContain(expectIpkName, error);
291
+ expect(fs.existsSync(expectIpkPath)).toBe(true, error);
292
+ done();
293
+ });
294
+ });
295
+
296
+ // emulator
297
+ it('Package ose emulator native app with -o(--outdir)', function(done) {
298
+ const nativeAppPath = path.join(nativeDirPath, "oseEmul/pkg_x86");
299
+ const expectIpkName = "com.ose.emul.native_1.0.0_x86.ipk";
300
+ const expectIpkPath = path.join(outputPath, expectIpkName);
301
+
302
+ exec(cmd + ` ${nativeAppPath} -o ${outputPath}`, function(error, stdout, stderr) {
303
+ if (stderr && stderr.length > 0) {
304
+ common.detectNodeMessage(stderr);
305
+ }
306
+ expect(stdout).toContain("Create", error);
307
+ expect(stdout).toContain("Success", error);
308
+ expect(stdout).toContain(expectIpkName, error);
309
+ expect(fs.existsSync(expectIpkPath)).toBe(true, error);
310
+ done();
311
+ });
312
+ });
313
+
314
+ // arm64 target
315
+ it('Package auto native app with -o(--outdir)', function(done) {
316
+ const nativeAppPath = path.join(nativeDirPath, "auto/pkg_arm64");
317
+ const expectIpkName = "com.sample.gles2_1.0.0_aarch64.ipk";
318
+ const expectIpkPath = path.join(outputPath, expectIpkName);
319
+
320
+ exec(cmd + ` ${nativeAppPath} -o ${outputPath}`, function(error, stdout, stderr) {
321
+ if (stderr && stderr.length > 0) {
322
+ common.detectNodeMessage(stderr);
323
+ }
324
+ expect(stdout).toContain("Create", error);
325
+ expect(stdout).toContain("Success", error);
326
+ expect(stdout).toContain(expectIpkName, error);
327
+ expect(fs.existsSync(expectIpkPath)).toBe(true, error);
328
+ done();
329
+ });
330
+ });
331
+
332
+ // rsi target
333
+ it('Package rsi native app with -o(--outdir)', function(done) {
334
+ const nativeAppPath = path.join(nativeDirPath, "rsi/pkg_x86");
335
+ const expectIpkName = "com.sample.gles2_1.0.0_x86_64.ipk";
336
+ const expectIpkPath = path.join(outputPath, expectIpkName);
337
+
338
+ exec(cmd + ` ${nativeAppPath} -o ${outputPath}`, function(error, stdout, stderr) {
339
+ if (stderr && stderr.length > 0) {
340
+ common.detectNodeMessage(stderr);
341
+ }
342
+ expect(stdout).toContain("Create", error);
343
+ expect(stdout).toContain("Success", error);
344
+ expect(stdout).toContain(expectIpkName, error);
345
+ expect(fs.existsSync(expectIpkPath)).toBe(true, error);
346
+ done();
347
+ });
348
+ });
349
+ });
350
+
351
+ describe(aresCmd, function() {
352
+ beforeAll(function(done) {
353
+ common.removeOutDir(pkgInfoPath);
354
+
355
+ const pkginfo = {
356
+ "id": "com.webos.sample",
357
+ "version": "1.0.0"
358
+ };
359
+ fs.writeFileSync(pkgInfoPath, JSON.stringify(pkginfo), 'utf8');
360
+ done();
361
+ });
362
+
363
+ beforeEach(function(done) {
364
+ common.removeOutDir(outputPath);
365
+ done();
366
+ });
367
+
368
+ afterAll(function(done) {
369
+ common.removeOutDir(outputPath);
370
+ common.removeOutDir(pkgInfoPath);
371
+ done();
372
+ });
373
+
374
+ it('Package only service with -pi and -o(--outdir)', function(done) {
375
+ exec(cmd + ` ${sampleServicePaths[1]} ${sampleServicePaths[2]} -pi com.webos.sample -o ${outputPath}`, function(error, stdout, stderr) {
376
+ if (stderr && stderr.length > 0) {
377
+ common.detectNodeMessage(stderr);
378
+ }
379
+ expect(stdout).toContain(outputPath);
380
+ expect(stdout).toContain("Success", error);
381
+ expect(fs.existsSync(svcPkgPath)).toBe(true);
382
+ done();
383
+ });
384
+ });
385
+
386
+ it('Package only service with -pf and -o(--outdir)', function(done) {
387
+ exec(cmd + ` ${sampleServicePaths[1]} ${sampleServicePaths[2]} -pf ${pkgInfoPath} -o ${outputPath}`, function(error, stdout, stderr) {
388
+ if (stderr && stderr.length > 0) {
389
+ common.detectNodeMessage(stderr);
390
+ }
391
+ expect(stdout).toContain(outputPath);
392
+ expect(stdout).toContain("Success", error);
393
+ expect(fs.existsSync(svcPkgPath)).toBe(true);
394
+ done();
395
+ });
396
+ });
397
+
398
+ it('Package service with -pf and -pv', function(done) {
399
+ const expectedTmpFile = path.join(outputPath,"com.webos.sample_1.1.1_all.ipk");
400
+ exec(cmd + ` ${sampleServicePaths[0]} -pf ${pkgInfoPath} -pv 1.1.1 -o ${outputPath}`, function(error, stdout, stderr) {
401
+ if (stderr && stderr.length > 0) {
402
+ common.detectNodeMessage(stderr);
403
+ }
404
+ expect(stdout).toContain(outputPath);
405
+ expect(stdout).toContain("Success", error);
406
+ expect(fs.existsSync(expectedTmpFile)).toBe(true);
407
+ done();
408
+ });
409
+ });
410
+ });
411
+
412
+ describe(aresCmd + ' --check(-c)', function() {
413
+ it('Check the application but do not pacakge', function(done) {
414
+ exec(cmd + ` -c ${sampleAppPath} ${sampleServicePaths[0]}`, function(error, stdout, stderr) {
415
+ if (stderr && stderr.length > 0) {
416
+ common.detectNodeMessage(stderr);
417
+ }
418
+ expect(stdout).toContain("no problems detected");
419
+ done();
420
+ });
421
+ });
422
+ it('Check the services but do not pacakge', function(done) {
423
+ exec(cmd + ` -c ${sampleServicePaths[1]} ${sampleServicePaths[2]} -pi com.webos.sample`, function(error, stdout, stderr) {
424
+ if (stderr && stderr.length > 0) {
425
+ common.detectNodeMessage(stderr);
426
+ }
427
+ expect(stdout).toContain("no problems detected");
428
+ done();
429
+ });
430
+ });
431
+ });
432
+
433
+ describe(aresCmd + ' --rom(-r)', function() {
434
+ beforeEach(function(done) {
435
+ common.removeOutDir(outputPath);
436
+ done();
437
+ });
438
+
439
+ afterEach(function(done) {
440
+ common.removeOutDir(outputPath);
441
+ done();
442
+ });
443
+
444
+ it('Create output a directory structure with app', function(done) {
445
+ exec(cmd + ` -r ${sampleAppPath} ${sampleServicePaths[0]} -o ${outputPath}`, function(error, stdout, stderr) {
446
+ if (stderr && stderr.length > 0) {
447
+ common.detectNodeMessage(stderr);
448
+ }
449
+
450
+ const createdSvcPath = path.join(outputPath, 'usr/palm/services');
451
+ expect(stdout).toContain('Create output directory');
452
+ expect(fs.existsSync(appPathByRom)).toBe(true);
453
+ expect(fs.existsSync(createdSvcPath)).toBe(true);
454
+ done();
455
+ });
456
+ });
457
+
458
+ it('Create output a directory structure without app', function(done) {
459
+ exec(cmd + ` -r ${sampleServicePaths[1]} ${sampleServicePaths[2]} -pi com.webos.sample -o ${outputPath}`, function(error, stdout, stderr) {
460
+ if (stderr && stderr.length > 0) {
461
+ common.detectNodeMessage(stderr);
462
+ }
463
+
464
+ const createdSvcPath = path.join(outputPath, 'usr/palm/services');
465
+ expect(stdout).toContain('Create output directory');
466
+ expect(fs.existsSync(createdSvcPath)).toBe(true);
467
+ done();
468
+ });
469
+ });
470
+ });
471
+
472
+ describe(aresCmd + ' --encrypt(-enc)', function() {
473
+ beforeEach(function(done) {
474
+ common.removeOutDir(outputPath);
475
+ done();
476
+ });
477
+
478
+ afterEach(function(done) {
479
+ common.removeOutDir(outputPath);
480
+ done();
481
+ });
482
+
483
+ it('Encrypted ipk', function(done) {
484
+ exec(cmd + ` -enc ${sampleAppPath} ${sampleServicePaths[0]} -o ${outputPath}`, function(error, stdout, stderr) {
485
+ if (stderr && stderr.length > 0) {
486
+ common.detectNodeMessage(stderr);
487
+ expect(stderr).toContain("ares-package ERR! [syscall failure]: ENOENT: no such file or directory, open", error);
488
+ expect(stderr).toContain("ares-package ERR! [Tips]: Please check if the path is valid", error);
489
+ }
490
+ if(options.profile && options.profile === 'signage'){
491
+ expect(fs.existsSync(appPkgPath)).toBe(true);
492
+ } else {
493
+ expect(fs.existsSync(appPkgPath)).toBe(false);
494
+ }
495
+ done();
496
+ });
497
+ });
498
+
499
+ it('Encrypted ipk and keep plain IPK', function(done) {
500
+ exec(cmd + ` -enc -rpi ${sampleAppPath} ${sampleServicePaths[0]} -o ${outputPath}`, function(error, stdout, stderr) {
501
+ if (stderr && stderr.length > 0) {
502
+ common.detectNodeMessage(stderr);
503
+ expect(stderr).toContain("ares-package ERR! [syscall failure]: ENOENT: no such file or directory, open", error);
504
+ expect(stderr).toContain("ares-package ERR! [Tips]: Please check if the path is valid", error);
505
+ }
506
+ if(options.profile && options.profile === 'signage'){
507
+ expect(fs.existsSync(appPkgPath)).toBe(true);
508
+ expect(fs.existsSync(plainAppPkgPath)).toBe(true);
509
+ } else {
510
+ expect(fs.existsSync(appPkgPath)).toBe(false);
511
+ expect(fs.existsSync(plainAppPkgPath)).toBe(false);
512
+ }
513
+ done();
514
+ });
515
+ });
516
+ });
517
+
518
+ describe(aresCmd + ' --sign(-s) & --certificate(-crt)', function() {
519
+ beforeEach(function(done) {
520
+ common.removeOutDir(outputPath);
521
+ done();
522
+ });
523
+
524
+ afterEach(function(done) {
525
+ common.removeOutDir(outputPath);
526
+ done();
527
+ });
528
+
529
+ it('Sign ipk', function(done) {
530
+ exec(cmd +` -s ${signKeyPath} -crt ${crtPath} ${sampleAppPath} ${sampleServicePaths[0]} -o ${outputPath}`, function(error, stdout, stderr) {
531
+ if (stderr && stderr.length > 0) {
532
+ common.detectNodeMessage(stderr);
533
+ }
534
+ expect(stdout).toContain('Create signed', error);
535
+ expect(fs.existsSync(appPkgPath)).toBe(true);
536
+ done();
537
+ });
538
+ });
539
+ });
540
+
541
+ describe(aresCmd + ' --app-exclude(-e)', function() {
542
+ const tmpFilePath = path.join(sampleAppPath,"tmpFile");
543
+ const outDirOne = 'st';
544
+ const outDirTwo = 'te' + outDirOne; // 'test'
545
+ const outDirOnePath = path.join(sampleAppPath, outDirOne);
546
+ const outDirTwoPath = path.join(sampleAppPath, outDirTwo);
547
+ const fileName = 'script.js';
548
+ const fileOnePath = path.join(sampleAppPath, outDirOne, fileName);
549
+ const fileTwoPath = path.join(sampleAppPath, outDirTwo, fileName);
550
+
551
+ beforeEach(function(done) {
552
+ common.removeOutDir(outputPath);
553
+ common.createOutDir(outDirOnePath);
554
+ common.createOutDir(outDirTwoPath);
555
+ fs.writeFileSync(tmpFilePath, "", 'utf8');
556
+ fs.writeFileSync(fileOnePath, "", 'utf8');
557
+ fs.writeFileSync(fileTwoPath, "", 'utf8');
558
+ done();
559
+ });
560
+
561
+ afterEach(function(done) {
562
+ common.removeOutDir(tmpFilePath);
563
+ common.removeOutDir(fileOnePath);
564
+ common.removeOutDir(fileTwoPath);
565
+ common.removeOutDir(outDirOnePath);
566
+ common.removeOutDir(outDirTwoPath);
567
+ common.removeOutDir(outputPath);
568
+ done();
569
+ });
570
+
571
+ it('Check the application but do not package', function(done) {
572
+ exec(cmd + ` -e tmpFile ${sampleAppPath} -r -o ${outputPath}`, function(error, stdout, stderr) {
573
+ if (stderr && stderr.length > 0) {
574
+ common.detectNodeMessage(stderr);
575
+ }
576
+ expect(stdout).toContain("Success");
577
+ expect(fs.existsSync(path.join(appPathByRom, "com.webos.sample.app/tmpFile"))).toBe(false);
578
+ done();
579
+ });
580
+ });
581
+
582
+ it('Exclude folder by name', function(done) {
583
+ exec(cmd + ` -e ${outDirOne} ${sampleAppPath} -r -o ${outputPath}`, function(error, stdout, stderr) {
584
+ if (stderr && stderr.length > 0) {
585
+ common.detectNodeMessage(stderr);
586
+ }
587
+ expect(stdout).toContain("Success");
588
+ expect(fs.existsSync(path.join(appPathByRom, `com.webos.sample.app/${outDirOne}`))).toBe(false);
589
+ expect(fs.existsSync(path.join(appPathByRom, `com.webos.sample.app/${outDirTwo}`))).toBe(true);
590
+ done();
591
+ });
592
+ });
593
+
594
+ it('Exclude file by file path', function(done) {
595
+ exec(cmd + ` -e ${outDirOne} ${sampleAppPath} -r -o ${outputPath}`, function(error, stdout, stderr) {
596
+ if (stderr && stderr.length > 0) {
597
+ common.detectNodeMessage(stderr);
598
+ }
599
+ expect(stdout).toContain("Success");
600
+ expect(fs.existsSync(path.join(appPathByRom, `com.webos.sample.app/${path.join(outDirOne, fileName)}`))).toBe(false);
601
+ expect(fs.existsSync(path.join(appPathByRom, `com.webos.sample.app/${path.join(outDirTwo, fileName)}`))).toBe(true);
602
+ done();
603
+ });
604
+ });
605
+ });
606
+
607
+ describe(aresCmd, function() {
608
+ const pkgInfo = {
609
+ "id": "com",
610
+ "version": "2.2.2"
611
+ };
612
+
613
+ beforeAll(function(done) {
614
+ common.createOutDir(sampleResourcePath);
615
+
616
+ const rscInfoDirPath = path.join(sampleResourcePath, "resourceinfo.json"),
617
+ rscInfo = {
618
+ "id": "com.domain.app.resource",
619
+ "bindmountPath": "abcd"
620
+ };
621
+ fs.writeFileSync(rscInfoDirPath, JSON.stringify(rscInfo), 'utf8');
622
+ fs.writeFileSync(pkgInfoPath, JSON.stringify(pkgInfo), 'utf8');
623
+ done();
624
+ });
625
+
626
+ beforeEach(function(done) {
627
+ common.removeOutDir(outputPath);
628
+ done();
629
+ });
630
+
631
+ afterAll(function(done) {
632
+ common.removeOutDir(outputPath);
633
+ common.removeOutDir(pkgInfoPath);
634
+ common.removeOutDir(sampleResourcePath);
635
+ done();
636
+ });
637
+
638
+ it('Package resource with -pi and -o(--outdir)', function(done) {
639
+ const expectedPiPkgPath = path.join(outputPath, "com_1.0.0_all.ipk");
640
+
641
+ exec(cmd + ` ${sampleResourcePath} -pi com -o ${outputPath}`, function(error, stdout, stderr) {
642
+ if (stderr && stderr.length > 0) {
643
+ common.detectNodeMessage(stderr);
644
+ }
645
+ expect(stdout).toContain("Create", error);
646
+ expect(stdout).toContain("Success", error);
647
+ expect(fs.existsSync(expectedPiPkgPath)).toBe(true);
648
+ done();
649
+ });
650
+ });
651
+
652
+ it('Package resource with -pf and -o(--outdir)', function(done) {
653
+ const expectedPfPkgPath = path.join(outputPath, "com_2.2.2_all.ipk");
654
+
655
+ exec(cmd + ` ${sampleResourcePath} -pf ${pkgInfoPath} -o ${outputPath}`, function(error, stdout, stderr) {
656
+ if (stderr && stderr.length > 0) {
657
+ common.detectNodeMessage(stderr);
658
+ }
659
+ expect(stdout).toContain("Create", error);
660
+ expect(stdout).toContain("Success", error);
661
+ expect(fs.existsSync(expectedPfPkgPath)).toBe(true);
662
+ done();
663
+ });
664
+ });
665
+
666
+ it('Package resource with -pf(App version does not exist in packageinfo.json) and -o(--outdir)', function(done) {
667
+ const expectedPfPkgPath = path.join(outputPath, "com_1.0.0_all.ipk");
668
+ common.removeOutDir(pkgInfoPath);
669
+ delete pkgInfo.version;
670
+ fs.writeFileSync(pkgInfoPath, JSON.stringify(pkgInfo), 'utf8');
671
+
672
+ exec(cmd + ` ${sampleResourcePath} -pf ${pkgInfoPath} -o ${outputPath}`, function(error, stdout, stderr) {
673
+ if (stderr && stderr.length > 0) {
674
+ common.detectNodeMessage(stderr);
675
+ }
676
+ expect(stdout).toContain("Create", error);
677
+ expect(stdout).toContain("Success", error);
678
+ expect(fs.existsSync(expectedPfPkgPath)).toBe(true);
679
+ done();
680
+ });
681
+ });
682
+ });
683
+
684
+ describe(aresCmd + ' negative TC for app packaging', function() {
685
+ beforeEach(function(done) {
686
+ const appinfo = {
687
+ "version": "1.0.0",
688
+ "vendor": "My Company",
689
+ "type": "web",
690
+ "main": "index.html",
691
+ "title": "new app",
692
+ "icon": "icon.png"
693
+ };
694
+ fs.writeFileSync(appinfoPath, JSON.stringify(appinfo), 'utf8');
695
+ done();
696
+ });
697
+
698
+ it('Check to exist app id', function(done) {
699
+ exec(cmd + ` ${sampleAppPath} -o ${outputPath}`, function(error, stdout, stderr) {
700
+ if (stderr && stderr.length > 0) {
701
+ common.detectNodeMessage(stderr);
702
+ stderr = stderr.trim().replace(/\s+['\n']/g, '\n');
703
+ expect(stderr).toContain("ares-package ERR! [Tips]: Please input required field <id>", error);
704
+ }
705
+ done();
706
+ });
707
+ });
708
+ });
709
+
710
+ describe(aresCmd + ' negative TC for app packaging', function() {
711
+ beforeEach(function(done) {
712
+ const appinfo = {
713
+ "id": "com.domain.app",
714
+ "version": "1.0.0",
715
+ "vendor": "My Company"
716
+ };
717
+ fs.writeFileSync(appinfoPath, JSON.stringify(appinfo), 'utf8');
718
+ done();
719
+ });
720
+
721
+ it('Check to exist required fields in app meta file', function(done) {
722
+ exec(cmd + ` ${sampleAppPath} -o ${outputPath}`, function(error, stdout, stderr) {
723
+ if (stderr && stderr.length > 0) {
724
+ common.detectNodeMessage(stderr);
725
+ stderr = stderr.trim().replace(/\s+['\n']/g, '\n');
726
+ expect(stderr).toContain("ares-package ERR! [Tips]: Invalid file <appinfo.json> :");
727
+ expect(stderr).toContain("ares-package ERR! [Tips]: main is required");
728
+ expect(stderr).toContain("ares-package ERR! [Tips]: title is required");
729
+ expect(stderr).toContain("ares-package ERR! [Tips]: icon is required");
730
+ expect(stderr).toContain("ares-package ERR! [Tips]: type is required");
731
+ }
732
+ done();
733
+ });
734
+ });
735
+ });
736
+
737
+ describe(aresCmd + ' negative TC for app packaging', function() {
738
+ beforeEach(function(done) {
739
+ const appinfo = {
740
+ "id": "com.domain.app",
741
+ "version": "1.0.0",
742
+ "vendor": "My Company",
743
+ "type": "invalidType",
744
+ "main": "index.html",
745
+ "title": "new app",
746
+ "icon": "icon.png"
747
+ };
748
+ fs.writeFileSync(appinfoPath, JSON.stringify(appinfo), 'utf8');
749
+ done();
750
+ });
751
+
752
+ it('Check to invalid app type', function(done) {
753
+ exec(cmd + ` ${sampleAppPath} -o ${outputPath}`, function(error, stdout, stderr) {
754
+ if (stderr && stderr.length > 0) {
755
+ common.detectNodeMessage(stderr);
756
+ stderr = stderr.trim().replace(/\s+['\n']/g, '\n');
757
+ expect(stderr).toContain("ares-package ERR! [Tips]: Invalid file <appinfo.json> :");
758
+ expect(stderr).toContain("ares-package ERR! [Tips]: type is not one of enum values: " +
759
+ "web,stub,native,native_builtin,native_appshell,qml", error);
760
+ }
761
+ done();
762
+ });
763
+ });
764
+ });
765
+
766
+ describe(aresCmd + ' negative TC for app packaging', function() {
767
+ beforeAll(function(done) {
768
+ common.removeOutDir(pkgInfoPath);
769
+ common.createOutDir(pkgDirPath);
770
+
771
+ const pkgDirInfoPath = path.join(pkgDirPath, "packageinfo.json"),
772
+ pkgInfo = {
773
+ "id": "com.test",
774
+ "version": "1.0.0"
775
+ };
776
+ fs.writeFileSync(pkgInfoPath, JSON.stringify(pkgInfo), 'utf8');
777
+ fs.writeFileSync(pkgDirInfoPath, JSON.stringify(pkgInfo), 'utf8');
778
+ done();
779
+ });
780
+
781
+ beforeEach(function(done) {
782
+ common.removeOutDir(outputPath);
783
+ done();
784
+ });
785
+
786
+ afterAll(function(done) {
787
+ common.removeOutDir(outputPath);
788
+ common.removeOutDir(pkgInfoPath);
789
+ common.removeOutDir(pkgDirPath);
790
+ done();
791
+ });
792
+
793
+ it('Check to invalid app id with -pi option', function(done) {
794
+ exec(cmd + ` ${sampleAppPath} -pi com.test -o ${outputPath}`, function(error, stdout, stderr) {
795
+ if (stderr && stderr.length > 0) {
796
+ common.detectNodeMessage(stderr);
797
+ stderr.trim().replace(/\s+['\n']/g, '\n');
798
+ expect(stderr).toContain("ares-package ERR! Error: Invalid value <id> : com.domain.app", error);
799
+ expect(stderr).toContain("ares-package ERR! [Tips]: App ID must start with package ID <com.test>", error);
800
+ }
801
+ done();
802
+ });
803
+ });
804
+
805
+ it('Check to invalid app id with -pf option', function(done) {
806
+ exec(cmd + ` ${sampleAppPath} -pf ${pkgInfoPath} -o ${outputPath}`, function(error, stdout, stderr) {
807
+ if (stderr && stderr.length > 0) {
808
+ common.detectNodeMessage(stderr);
809
+ stderr.trim().replace(/\s+['\n']/g, '\n');
810
+ expect(stderr).toContain("ares-package ERR! Error: Invalid value <id> : com.domain.app", error);
811
+ expect(stderr).toContain("ares-package ERR! [Tips]: App ID must start with package ID <com.test>", error);
812
+ }
813
+ done();
814
+ });
815
+ });
816
+
817
+ it('Check to do not support with -pi and -pf options together', function(done) {
818
+ exec(cmd + ` ${sampleAppPath} -pf ${pkgInfoPath} -pi com.webos.sample -o ${outputPath}`, function(error, stdout, stderr) {
819
+ if (stderr && stderr.length > 0) {
820
+ common.detectNodeMessage(stderr);
821
+ stderr.trim().replace(/\s+['\n']/g, '\n');
822
+ expect(stderr).toContain("ares-package ERR! [Tips]: Do not use together with options <pkginfofile, pkgid>", error);
823
+ }
824
+ done();
825
+ });
826
+ });
827
+
828
+ it('Check to do not support with pkgdir', function(done) {
829
+ exec(cmd + ` ${sampleAppPath} ${pkgDirPath} -o ${outputPath}`, function(error, stdout, stderr) {
830
+ if (stderr && stderr.length > 0) {
831
+ common.detectNodeMessage(stderr);
832
+ stderr.trim().replace(/\s+['\n']/g, '\n');
833
+ expect(stderr).toContain("ares-package ERR! [Tips]: Cannot package the directory with package directory", error);
834
+ }
835
+ done();
836
+ });
837
+ });
838
+
839
+ it('Check to do not support with pkgdir and -pi options together', function(done) {
840
+ exec(cmd + ` ${sampleAppPath} ${pkgDirPath} -pi com -o ${outputPath}`, function(error, stdout, stderr) {
841
+ if (stderr && stderr.length > 0) {
842
+ common.detectNodeMessage(stderr);
843
+ stderr.trim().replace(/\s+['\n']/g, '\n');
844
+ expect(stderr).toContain("ares-package ERR! [Tips]: Cannot package the directory with package directory", error);
845
+ }
846
+ done();
847
+ });
848
+ });
849
+
850
+ it('Check to do not support with pkgdir and -pf options together', function(done) {
851
+ exec(cmd + ` ${sampleAppPath} ${pkgDirPath} -pf ${pkgInfoPath} -o ${outputPath}`, function(error, stdout, stderr) {
852
+ if (stderr && stderr.length > 0) {
853
+ common.detectNodeMessage(stderr);
854
+ stderr.trim().replace(/\s+['\n']/g, '\n');
855
+ expect(stderr).toContain("ares-package ERR! [Tips]: Cannot package the directory with package directory", error);
856
+ }
857
+ done();
858
+ });
859
+ });
860
+ });
861
+
862
+ describe(aresCmd + ' negative TC for services packaging', function() {
863
+ beforeEach(function(done) {
864
+ common.removeOutDir(outputPath);
865
+ done();
866
+ });
867
+
868
+ it('Check to exist pi option', function(done) {
869
+ exec(cmd + ` ${sampleServicePaths[1]} ${sampleServicePaths[2]} -o ${outputPath}`, function(error, stdout, stderr) {
870
+ if (stderr && stderr.length > 0) {
871
+ common.detectNodeMessage(stderr);
872
+ stderr.trim().replace(/\s+['\n']/g, '\n');
873
+ expect(stderr).toContain("ares-package ERR! [Tips]: packageId must be provided by using either the '--pkgid' or the '--pkginfofile' option", error);
874
+ }
875
+ done();
876
+ });
877
+ });
878
+ });
879
+
880
+ describe(aresCmd + ' negative TC for services packaging', function() {
881
+ beforeEach(function(done) {
882
+ common.removeOutDir(outputPath);
883
+
884
+ const pkgInfo = {
885
+ "id": "com.webos.sample",
886
+ "version": "1.0.0"
887
+ };
888
+ fs.writeFileSync(pkgInfoPath, JSON.stringify(pkgInfo), 'utf8');
889
+ done();
890
+ });
891
+
892
+ afterEach(function(done) {
893
+ common.removeOutDir(outputPath);
894
+ common.removeOutDir(pkgInfoPath);
895
+ done();
896
+ });
897
+
898
+ it('Check to do not support -pi and -pf options together', function(done) {
899
+ exec(cmd + ` ${sampleServicePaths[1]} ${sampleServicePaths[2]} -pf ${pkgInfoPath} -pi com.webos.sample -o ${outputPath}`, function(error, stdout, stderr) {
900
+ if (stderr && stderr.length > 0) {
901
+ common.detectNodeMessage(stderr);
902
+ stderr.trim().replace(/\s+['\n']/g, '\n');
903
+ expect(stderr).toContain("ares-package ERR! [Tips]: Do not use together with options <pkginfofile, pkgid>", error);
904
+ }
905
+ done();
906
+ });
907
+ });
908
+ });
909
+
910
+ describe(aresCmd + ' negative TC for services packaging', function() {
911
+ const tmpPath = path.join(tempDirPath, "pkg.json");
912
+
913
+ beforeEach(function(done) {
914
+ common.removeOutDir(outputPath);
915
+
916
+ const pkginfo = {
917
+ "id": "com.webos.sample",
918
+ "version": "1.0.0"
919
+ };
920
+ fs.writeFileSync(tmpPath, JSON.stringify(pkginfo), 'utf8');
921
+ done();
922
+ });
923
+
924
+ afterEach(function(done) {
925
+ common.removeOutDir(tmpPath);
926
+ done();
927
+ });
928
+
929
+ it('Check to file name of package meta file', function(done) {
930
+ exec(cmd + ` ${sampleServicePaths[1]} ${sampleServicePaths[2]} -pf ${tmpPath} -o ${outputPath}`, function(error, stdout, stderr) {
931
+ if (stderr && stderr.length > 0) {
932
+ common.detectNodeMessage(stderr);
933
+ stderr.trim().replace(/\s+['\n']/g, '\n');
934
+ expect(stderr).toContain("ares-package ERR! [Tips]: Invalid file <packageinfo.json>", error);
935
+ }
936
+ done();
937
+ });
938
+ });
939
+ });
940
+
941
+ describe(aresCmd + ' negative TC for services packaging', function() {
942
+ const tmpPath = path.join(tempDirPath, "pkg.json");
943
+
944
+ beforeEach(function(done) {
945
+ common.removeOutDir(outputPath);
946
+ common.removeOutDir(pkgInfoPath);
947
+
948
+ const pkginfo = {
949
+ "version": "1.0.0"
950
+ };
951
+ fs.writeFileSync(pkgInfoPath, JSON.stringify(pkginfo), 'utf8');
952
+ done();
953
+ });
954
+
955
+ afterEach(function(done) {
956
+ common.removeOutDir(tmpPath);
957
+ done();
958
+ });
959
+
960
+ it('Check to exist id fields in pkg meta file', function(done) {
961
+ exec(cmd + ` ${sampleServicePaths[1]} ${sampleServicePaths[2]} -pf ${pkgInfoPath} -o ${outputPath}`, function(error, stdout, stderr) {
962
+ if (stderr && stderr.length > 0) {
963
+ common.detectNodeMessage(stderr);
964
+ stderr.trim().replace(/\s+['\n']/g, '\n');
965
+ expect(stderr).toContain("ares-package ERR! [Tips]: Please input required field <id>", error);
966
+ }
967
+ done();
968
+ });
969
+ });
970
+ });
971
+
972
+ describe(aresCmd + ' negative TC for services packaging', function() {
973
+ beforeAll(function(done) {
974
+ common.createOutDir(pkgDirPath);
975
+
976
+ const pkgDirInfoPath = path.join(pkgDirPath, "packageinfo.json"),
977
+ pkgInfo = {
978
+ "id": "com.test"
979
+ };
980
+ fs.writeFileSync(pkgInfoPath, JSON.stringify(pkgInfo), 'utf8');
981
+ fs.writeFileSync(pkgDirInfoPath, JSON.stringify(pkgInfo), 'utf8');
982
+ done();
983
+ });
984
+
985
+ beforeEach(function(done) {
986
+ common.removeOutDir(outputPath);
987
+ done();
988
+ });
989
+
990
+ afterAll(function(done) {
991
+ common.removeOutDir(outputPath);
992
+ common.removeOutDir(pkgInfoPath);
993
+ common.removeOutDir(pkgDirPath);
994
+ done();
995
+ });
996
+
997
+ it('Check to invalid service id with -pi option', function(done) {
998
+ exec(cmd + ` ${sampleServicePaths[0]} -pi com.test -o ${outputPath}`, function(error, stdout, stderr) {
999
+ if (stderr && stderr.length > 0) {
1000
+ common.detectNodeMessage(stderr);
1001
+ stderr.trim().replace(/\s+['\n']/g, '\n');
1002
+ expect(stderr).toContain("ares-package ERR! [Tips]: ServiceID must start with package id <com.test>", error);
1003
+ }
1004
+ done();
1005
+ });
1006
+ });
1007
+
1008
+ it('Check to invalid service id with -pf option', function(done) {
1009
+ exec(cmd + ` ${sampleServicePaths[0]} -pf ${pkgInfoPath} -o ${outputPath}`, function(error, stdout, stderr) {
1010
+ if (stderr && stderr.length > 0) {
1011
+ common.detectNodeMessage(stderr);
1012
+ stderr.trim().replace(/\s+['\n']/g, '\n');
1013
+ expect(stderr).toContain("ares-package ERR! [Tips]: ServiceID must start with package id <com.test>", error);
1014
+ }
1015
+ done();
1016
+ });
1017
+ });
1018
+
1019
+ it('Check to do not support with pkgdir', function(done) {
1020
+ exec(cmd + ` ${sampleServicePaths[1]} ${pkgDirPath} -o ${outputPath}`, function(error, stdout, stderr) {
1021
+ if (stderr && stderr.length > 0) {
1022
+ common.detectNodeMessage(stderr);
1023
+ stderr.trim().replace(/\s+['\n']/g, '\n');
1024
+ expect(stderr).toContain("ares-package ERR! [Tips]: Cannot package the directory with package directory", error);
1025
+ }
1026
+ done();
1027
+ });
1028
+ });
1029
+
1030
+ it('Check to do not support with pkgdir and -pi options together', function(done) {
1031
+ exec(cmd + ` ${sampleServicePaths[1]} ${pkgDirPath} -pi com -o ${outputPath}`, function(error, stdout, stderr) {
1032
+ if (stderr && stderr.length > 0) {
1033
+ common.detectNodeMessage(stderr);
1034
+ stderr.trim().replace(/\s+['\n']/g, '\n');
1035
+ expect(stderr).toContain("ares-package ERR! [Tips]: Cannot package the directory with package directory", error);
1036
+ }
1037
+ done();
1038
+ });
1039
+ });
1040
+
1041
+ it('Check to do not support with pkgdir and -pf options together', function(done) {
1042
+ exec(cmd + ` ${sampleServicePaths[1]} ${pkgDirPath} -pf ${pkgInfoPath} -o ${outputPath}`, function(error, stdout, stderr) {
1043
+ if (stderr && stderr.length > 0) {
1044
+ common.detectNodeMessage(stderr);
1045
+ stderr.trim().replace(/\s+['\n']/g, '\n');
1046
+ expect(stderr).toContain("ares-package ERR! [Tips]: Cannot package the directory with package directory", error);
1047
+ }
1048
+ done();
1049
+ });
1050
+ });
1051
+ });
1052
+
1053
+ describe(aresCmd + ' negative TC for resource packaging', function() {
1054
+ const pkgInfo = {
1055
+ "id": "com.test",
1056
+ "version": "2.2.2"
1057
+ };
1058
+
1059
+ beforeAll(function(done) {
1060
+ common.removeOutDir(pkgInfoPath);
1061
+ common.createOutDir(pkgDirPath);
1062
+ common.createOutDir(sampleResourcePath);
1063
+
1064
+ const pkgDirInfoPath = path.join(pkgDirPath, "packageinfo.json"),
1065
+ rscInfoDirPath = path.join(sampleResourcePath, "resourceinfo.json"),
1066
+ pkgDirInfo = {
1067
+ "id": "com.domain"
1068
+ },
1069
+ rscInfo = {
1070
+ "id": "com.domain.app.resource",
1071
+ "bindmountPath": "abcd"
1072
+ };
1073
+ fs.writeFileSync(pkgInfoPath, JSON.stringify(pkgInfo), 'utf8');
1074
+ fs.writeFileSync(pkgDirInfoPath, JSON.stringify(pkgDirInfo), 'utf8');
1075
+ fs.writeFileSync(rscInfoDirPath, JSON.stringify(rscInfo), 'utf8');
1076
+ done();
1077
+ });
1078
+
1079
+ beforeEach(function(done) {
1080
+ common.removeOutDir(outputPath);
1081
+ done();
1082
+ });
1083
+
1084
+ afterAll(function(done) {
1085
+ common.removeOutDir(outputPath);
1086
+ common.removeOutDir(pkgInfoPath);
1087
+ common.removeOutDir(pkgDirPath);
1088
+ common.removeOutDir(sampleResourcePath);
1089
+ done();
1090
+ });
1091
+
1092
+ it('Check to exist pi option', function(done) {
1093
+ exec(cmd + ` ${sampleResourcePath} -o ${outputPath}`, function(error, stdout, stderr) {
1094
+ if (stderr && stderr.length > 0) {
1095
+ common.detectNodeMessage(stderr);
1096
+ stderr.trim().replace(/\s+['\n']/g, '\n');
1097
+ expect(stderr).toContain("ares-package ERR! [Tips]: packageId must be provided by using either the '--pkgid' or the '--pkginfofile' option", error);
1098
+ }
1099
+ done();
1100
+ });
1101
+ });
1102
+
1103
+ it('Check to invalid resource id with -pi option', function(done) {
1104
+ exec(cmd + ` ${sampleResourcePath} -pi com.test -o ${outputPath}`, function(error, stdout, stderr) {
1105
+ if (stderr && stderr.length > 0) {
1106
+ common.detectNodeMessage(stderr);
1107
+ stderr.trim().replace(/\s+['\n']/g, '\n');
1108
+ expect(stderr).toContain("ares-package ERR! [Tips]: Resource ID must start with package ID <com.test>", error);
1109
+ }
1110
+ done();
1111
+ });
1112
+ });
1113
+
1114
+ it('Check to invalid resource id with -pf option', function(done) {
1115
+ exec(cmd + ` ${sampleResourcePath} -pf ${pkgInfoPath} -o ${outputPath}`, function(error, stdout, stderr) {
1116
+ if (stderr && stderr.length > 0) {
1117
+ common.detectNodeMessage(stderr);
1118
+ stderr.trim().replace(/\s+['\n']/g, '\n');
1119
+ expect(stderr).toContain("ares-package ERR! [Tips]: Resource ID must start with package ID <com.test>", error);
1120
+ }
1121
+ done();
1122
+ });
1123
+ });
1124
+
1125
+ it('Check to do not support with -pi and -pf options together', function(done) {
1126
+ exec(cmd + ` ${sampleResourcePath} -pi com -pf ${pkgInfoPath} -o ${outputPath}`, function(error, stdout, stderr) {
1127
+ if (stderr && stderr.length > 0) {
1128
+ common.detectNodeMessage(stderr);
1129
+ stderr.trim().replace(/\s+['\n']/g, '\n');
1130
+ expect(stderr).toContain("ares-package ERR! [Tips]: Do not use together with options <pkginfofile, pkgid>", error);
1131
+ }
1132
+ done();
1133
+ });
1134
+ });
1135
+
1136
+ it('Check to do not support with pkgdir', function(done) {
1137
+ exec(cmd + ` ${sampleResourcePath} ${pkgDirPath} -o ${outputPath}`, function(error, stdout, stderr) {
1138
+ if (stderr && stderr.length > 0) {
1139
+ common.detectNodeMessage(stderr);
1140
+ stderr.trim().replace(/\s+['\n']/g, '\n');
1141
+ expect(stderr).toContain("ares-package ERR! [Tips]: Cannot package the directory with package directory", error);
1142
+ }
1143
+ done();
1144
+ });
1145
+ });
1146
+
1147
+ it('Check to do not support with pkgdir and -pi options together', function(done) {
1148
+ exec(cmd + ` ${sampleResourcePath} ${pkgDirPath} -pi com -o ${outputPath}`, function(error, stdout, stderr) {
1149
+ if (stderr && stderr.length > 0) {
1150
+ common.detectNodeMessage(stderr);
1151
+ stderr.trim().replace(/\s+['\n']/g, '\n');
1152
+ expect(stderr).toContain("ares-package ERR! [Tips]: Cannot package the directory with package directory", error);
1153
+ }
1154
+ done();
1155
+ });
1156
+ });
1157
+
1158
+ it('Check to do not support with pkgdir and -pf options together', function(done) {
1159
+ exec(cmd + ` ${sampleResourcePath} ${pkgDirPath} -pf ${pkgInfoPath} -o ${outputPath}`, function(error, stdout, stderr) {
1160
+ if (stderr && stderr.length > 0) {
1161
+ common.detectNodeMessage(stderr);
1162
+ stderr.trim().replace(/\s+['\n']/g, '\n');
1163
+ expect(stderr).toContain("ares-package ERR! [Tips]: Cannot package the directory with package directory", error);
1164
+ }
1165
+ done();
1166
+ });
1167
+ });
1168
+
1169
+ it('Check to cannot package with app', function(done) {
1170
+ exec(cmd + ` ${sampleAppPath} ${sampleResourcePath} -o ${outputPath}`, function(error, stdout, stderr) {
1171
+ if (stderr && stderr.length > 0) {
1172
+ common.detectNodeMessage(stderr);
1173
+ stderr.trim().replace(/\s+['\n']/g, '\n');
1174
+ expect(stderr).toContain("ares-package ERR! [Tips]: Cannot package the app or service directory with resource directory", error);
1175
+ }
1176
+ done();
1177
+ });
1178
+ });
1179
+
1180
+ it('Check to cannot package with service', function(done) {
1181
+ exec(cmd + ` ${sampleServicePaths[0]} ${sampleResourcePath} -o ${outputPath}`, function(error, stdout, stderr) {
1182
+ if (stderr && stderr.length > 0) {
1183
+ common.detectNodeMessage(stderr);
1184
+ stderr.trim().replace(/\s+['\n']/g, '\n');
1185
+ expect(stderr).toContain("ares-package ERR! [Tips]: Cannot package the app or service directory with resource directory", error);
1186
+ }
1187
+ done();
1188
+ });
1189
+ });
1190
+
1191
+ it('Check to cannot package with app and service', function(done) {
1192
+ exec(cmd + ` ${sampleAppPath} ${sampleServicePaths[0]} ${sampleResourcePath} -o ${outputPath}`, function(error, stdout, stderr) {
1193
+ if (stderr && stderr.length > 0) {
1194
+ common.detectNodeMessage(stderr);
1195
+ stderr.trim().replace(/\s+['\n']/g, '\n');
1196
+ expect(stderr).toContain("ares-package ERR! [Tips]: Cannot package the app or service directory with resource directory", error);
1197
+ }
1198
+ done();
1199
+ });
1200
+ });
1201
+
1202
+ it('Check to exist id fields in pkg meta file', function(done) {
1203
+ common.removeOutDir(pkgInfoPath);
1204
+ delete pkgInfo.id;
1205
+ fs.writeFileSync(pkgInfoPath, JSON.stringify(pkgInfo), 'utf8');
1206
+
1207
+ exec(cmd + ` ${sampleResourcePath} -pf ${pkgInfoPath} -o ${outputPath}`, function(error, stdout, stderr) {
1208
+ if (stderr && stderr.length > 0) {
1209
+ common.detectNodeMessage(stderr);
1210
+ stderr = stderr.trim().replace(/\s+['\n']/g, '\n');
1211
+ expect(stderr).toContain("ares-package ERR! [Tips]: Please input required field <id>", error);
1212
+ }
1213
+ done();
1214
+ });
1215
+ });
1216
+ });
1217
+
1218
+ describe(aresCmd + " info/info-detail options", function() {
1219
+ it('Info of web app and service package', function(done) {
1220
+ const webIpk = path.join(ipkBasePath, "com.web.app_1.0.0_all.ipk");
1221
+
1222
+ exec(cmd + ` -I ${webIpk}`, function(error, stdout, stderr) {
1223
+ if (stderr && stderr.length > 0) {
1224
+ common.detectNodeMessage(stderr);
1225
+ }
1226
+ expect(stdout).toContain("< packageinfo.json >");
1227
+ expect(stdout).toContain("< appinfo.json >");
1228
+ expect(stdout).toContain("< services.json >");
1229
+ expect(stdout).toContain("< package.json >");
1230
+ done();
1231
+ });
1232
+ });
1233
+
1234
+ it('Info of external native app and service package', function(done) {
1235
+ const externalAppIpk = path.join(ipkBasePath, "com.sample.echo_0.0.1_all.ipk");
1236
+
1237
+ exec(cmd + ` -i ${externalAppIpk}`, function(error, stdout, stderr) {
1238
+ if (stderr && stderr.length > 0) {
1239
+ common.detectNodeMessage(stderr);
1240
+ }
1241
+ expect(stdout).toContain("< Package Information >");
1242
+ expect(stdout).toContain("< Application Information >");
1243
+ expect(stdout).toContain("< Service Information >");
1244
+ done();
1245
+ });
1246
+ });
1247
+
1248
+ it('nagetive TC for not support file extension', function(done) {
1249
+ exec(cmd + ` -i aaa`, function(error, stdout, stderr) {
1250
+ if (stderr && stderr.length > 0) {
1251
+ common.detectNodeMessage(stderr);
1252
+ }
1253
+ expect(stderr).toContain("ares-package ERR! [Tips]: Only .ipk file is supported. Please check the file extension <aaa>");
1254
+ done();
1255
+ });
1256
+ });
1257
+
1258
+ it('nagetive TC for not exist ipk file', function(done) {
1259
+ exec(cmd + ` -i aaa.ipk`, function(error, stdout, stderr) {
1260
+ if (stderr && stderr.length > 0) {
1261
+ common.detectNodeMessage(stderr);
1262
+ }
1263
+ expect(stderr).toContain("ares-package ERR! [Tips]: The specified path does not exist <aaa.ipk>");
1264
+ done();
1265
+ });
1266
+ });
1267
+
1268
+ it('nagetive TC for not exist parameter', function(done) {
1269
+ exec(cmd + ` -i`, function(error, stdout, stderr) {
1270
+ if (stderr && stderr.length > 0) {
1271
+ common.detectNodeMessage(stderr);
1272
+ }
1273
+ expect(stderr).toContain("ares-package ERR! [Tips]: Please specify a value <info>");
1274
+ done();
1275
+ });
1276
+ });
1277
+ });