PK !:Z]]assets/entry/resources.indexRestool 1.021]KEYSIDSS$% napi_test_suite app_nameC JS_Phone_Empty Feature Abilitymainability_description5$entry/resources/base/media/icon.pngiconPK !:0assets/entry/resources/base/media/attributes.keyPK !:/assets/entry/resources/base/media/constants.keyPK !:.assets/entry/resources/base/media/contents.keyPK !:Mذ*assets/entry/resources/base/media/icon.pngPNG  IHDRrr݅}wIDATxypŕ13I>$[>cl J[T`sne+9j,\v+[Il6g e'csv6^!hƲ[3B^H|^^ _8;PK`Ȓ#A0 9y&M4R" 8($`#(D7hΰp lŖS`R{dx0 |X<9G &5.BQt!BuNP%OMQ>p|0_指.DZD'X  gHA%q9zIn+Wą Q)KA0 WB فQ]Oۂ\8gρܫRB%21)'•yܬquxf0~:b (0>Y(%;Z]"D!.R*ƺ!m2I kPfLN-OY-AT'8"P%\q C8)NG Ť!L~8 ϟcDZ$!둰;7ږ7>BP ]c\ KqL #aK(D#2FٱHSfgZJT>{- %XB!2].CAJ}k3U1.U.qC.J<}[&∁Hn-O}(oF|eXebA*Fq9(.;h¼+&QXhHwl@2U=ʍ/6>s ֏p!m w9Ns[GgH(W$z2R~Q܏%mۃ1ۅg+E* $QRX‘P:Z'pɱP{qEr*:7$y#^*jPԧ#B3\Bv":=˘6G)\W*|A. ``#yZ'"iEzk9[xdrO.uVAS-r3JpiEGPl ۡ>um0b@\}A[ޢ!"+CGfK΃ihHA El9i/XOMBR<0%(8V #@S2`ƴOAdoW`Z9;߇M>i ;k!q %w] M!sZ+Vov?=7YUy%gG/w5&:,v$xd<Kgډ\7'ެ3WX:yoqH*x a):]9Rhyfl)ippyzzSpLǥXD8@#E@{^@l+9`"e1d,~V 89ZXAʎ\\%TBo,(jf]XRxnȻz qpHp9/y~AKT?T|Zt~g̐nw6QZ6PS5!Ɩ}7W+-/࿞- 3Ńt$>0o|"nCuR"5[A@fhX Z?AgdyCbJF,\yƩCpՕAqLZ ʃ{Um%UJTÌfM/\!lA ͯ\*nmҨ3"V9SoWLӷ%п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`єa$v0iKA҉Xڔe2,EZ$7M$ jK"Sa $oJ"#8(L%bZF92b%U"y#vDI|,`='P Gzg`tT@s,;d1ePD(ދ5QތFĚdwuFF3BXf`D3;$cYu>)Cr7&:@6ȲRDy1y! 5  ybaRC꣍%-L-GfS,>W$@L"abmHqLy@ѧF5QGS$gZ[K@SmT(¨vJ ɀGeDD[Şwvޒ?a>isB{w9x|BcuZ [i -C;#iY>.)4.Vx4wG*S\)z ln,wcJdsi3,V(Tytڄ` #=cM6rGY%H"Xcs۲v K܎mkmnvT]Dq=,BkG>djt-b9u)X\2"aTbsx3FN' g(jC4#hB0 \LԢHi`nqJB] BЅ"CBXvh!?}Rȼ"IENDB`PK !:+assets/entry/resources/base/media/nodes.keyPK !:өip))assets/js/default/app.js/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, /******/ l: false, /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ /******/ // Flag the module as loaded /******/ module.l = true; /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /******/ /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules; /******/ /******/ // expose the module cache /******/ __webpack_require__.c = installedModules; /******/ /******/ // define getter function for harmony exports /******/ __webpack_require__.d = function(exports, name, getter) { /******/ if(!__webpack_require__.o(exports, name)) { /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); /******/ } /******/ }; /******/ /******/ // define __esModule on exports /******/ __webpack_require__.r = function(exports) { /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); /******/ } /******/ Object.defineProperty(exports, '__esModule', { value: true }); /******/ }; /******/ /******/ // create a fake namespace object /******/ // mode & 1: value is a module id, require it /******/ // mode & 2: merge all properties of value into the ns /******/ // mode & 4: return value when already ns object /******/ // mode & 8|1: behave like require /******/ __webpack_require__.t = function(value, mode) { /******/ if(mode & 1) value = __webpack_require__(value); /******/ if(mode & 8) return value; /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; /******/ var ns = Object.create(null); /******/ __webpack_require__.r(ns); /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); /******/ return ns; /******/ }; /******/ /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = function(module) { /******/ var getter = module && module.__esModule ? /******/ function getDefault() { return module['default']; } : /******/ function getModuleExports() { return module; }; /******/ __webpack_require__.d(getter, 'a', getter); /******/ return getter; /******/ }; /******/ /******/ // Object.prototype.hasOwnProperty.call /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; /******/ /******/ // __webpack_public_path__ /******/ __webpack_require__.p = ""; /******/ /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = "c:\\Users\\zhaoxingju\\Desktop\\Test\\napi_test_suite\\entry\\src\\main\\js\\default\\app.js?entry"); /******/ }) /************************************************************************/ /******/ ({ /***/ "./lib/manifest-plugin.js!c:\\Users\\zhaoxingju\\Desktop\\Test\\napi_test_suite\\entry\\build\\intermediates\\res\\debug\\jsManifest\\default\\manifest.json": /*!******************************************************************************************************************************************************!*\ !*** ./lib/manifest-plugin.js!c:/Users/zhaoxingju/Desktop/Test/napi_test_suite/entry/build/intermediates/res/debug/jsManifest/default/manifest.json ***! \******************************************************************************************************************************************************/ /*! exports provided: appID, appName, versionName, versionCode, minPlatformVersion, pages, deviceType, window, default */ /***/ (function(module) { module.exports = JSON.parse("{\"appID\":\"com.example.napi_test_suite\",\"appName\":\"MyApplication\",\"versionName\":\"1.0\",\"versionCode\":1,\"minPlatformVersion\":5,\"pages\":[\"pages/index/index\"],\"deviceType\":[\"phone\"],\"window\":{\"designWidth\":720,\"autoDesignWidth\":false}}"); /***/ }), /***/ "./lib/script.js!./node_modules/babel-loader/lib/index.js?presets[]=E:\\tool\\HOS-SDK\\js\\2.1.1.18\\build-tools\\ace-loader\\node_modules\\@babel\\preset-env&plugins[]=E:\\tool\\HOS-SDK\\js\\2.1.1.18\\build-tools\\ace-loader\\node_modules\\@babel\\plugin-transform-modules-commonjs&comments=false!./lib/resource-reference-script.js!./lib/manifest-loader.js?path=c:\\Users\\zhaoxingju\\Desktop\\Test\\napi_test_suite\\entry\\src\\main\\js\\default\\app.js!c:\\Users\\zhaoxingju\\Desktop\\Test\\napi_test_suite\\entry\\src\\main\\js\\default\\app.js": /*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./lib/script.js!./node_modules/babel-loader/lib?presets[]=E:/tool/HOS-SDK/js/2.1.1.18/build-tools/ace-loader/node_modules/@babel/preset-env&plugins[]=E:/tool/HOS-SDK/js/2.1.1.18/build-tools/ace-loader/node_modules/@babel/plugin-transform-modules-commonjs&comments=false!./lib/resource-reference-script.js!./lib/manifest-loader.js?path=c:/Users/zhaoxingju/Desktop/Test/napi_test_suite/entry/src/main/js/default/app.js!c:/Users/zhaoxingju/Desktop/Test/napi_test_suite/entry/src/main/js/default/app.js ***! \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { module.exports = function(module, exports, $app_require$){"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _default = { onCreate: function onCreate() { console.info('AceApplication onCreate'); }, onDestroy: function onDestroy() { console.info('AceApplication onDestroy'); } }; exports["default"] = _default; ; (exports["default"] || module.exports).manifest = __webpack_require__(/*! !./lib/manifest-plugin.js!../../../../build/intermediates/res/debug/jsManifest/default/manifest.json */ "./lib/manifest-plugin.js!c:\\Users\\zhaoxingju\\Desktop\\Test\\napi_test_suite\\entry\\build\\intermediates\\res\\debug\\jsManifest\\default\\manifest.json"); function requireModule(moduleName) { const systemList = ['system.router', 'system.app', 'system.prompt', 'system.configuration', 'system.image', 'system.device', 'system.mediaquery', 'system.animator', 'system.grid', 'system.resource'] var target = '' if (systemList.includes(moduleName.replace('@', ''))) { target = $app_require$(moduleName.replace(/@/, '@app-module/')); if (typeof target !== 'undefined') { return target; } } var shortName = moduleName.replace(/@[^.]+.([^.]+)/, '$1'); if (typeof systemplugin !== 'undefined') { target = systemplugin; for (let key of shortName.split('.')) { target = target[key]; if(!target) { break; } } if (typeof target !== 'undefined') { return target; } } target = requireNapi(shortName); return target; } } /* generated by ace-loader */ /***/ }), /***/ "c:\\Users\\zhaoxingju\\Desktop\\Test\\napi_test_suite\\entry\\src\\main\\js\\default\\app.js?entry": /*!***********************************************************************************************!*\ !*** c:/Users/zhaoxingju/Desktop/Test/napi_test_suite/entry/src/main/js/default/app.js?entry ***! \***********************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { var $app_script$ = __webpack_require__(/*! !./lib/script.js!./node_modules/babel-loader?presets[]=E:/tool/HOS-SDK/js/2.1.1.18/build-tools/ace-loader/node_modules/@babel/preset-env&plugins[]=E:/tool/HOS-SDK/js/2.1.1.18/build-tools/ace-loader/node_modules/@babel/plugin-transform-modules-commonjs&comments=false!./lib/resource-reference-script.js!./lib/manifest-loader.js?path=c:/Users/zhaoxingju/Desktop/Test/napi_test_suite/entry/src/main/js/default/app.js!./app.js */ "./lib/script.js!./node_modules/babel-loader/lib/index.js?presets[]=E:\\tool\\HOS-SDK\\js\\2.1.1.18\\build-tools\\ace-loader\\node_modules\\@babel\\preset-env&plugins[]=E:\\tool\\HOS-SDK\\js\\2.1.1.18\\build-tools\\ace-loader\\node_modules\\@babel\\plugin-transform-modules-commonjs&comments=false!./lib/resource-reference-script.js!./lib/manifest-loader.js?path=c:\\Users\\zhaoxingju\\Desktop\\Test\\napi_test_suite\\entry\\src\\main\\js\\default\\app.js!c:\\Users\\zhaoxingju\\Desktop\\Test\\napi_test_suite\\entry\\src\\main\\js\\default\\app.js") $app_define$('@app-application/app', [], function($app_require$, $app_exports$, $app_module$) { $app_script$($app_module$, $app_exports$, $app_require$) if ($app_exports$.__esModule && $app_exports$.default) { $app_module$.exports = $app_exports$.default } }) $app_bootstrap$('@app-application/app',undefined,undefined) /***/ }) /******/ }); //# sourceMappingURL=app.js.mapPK !:ێYpassets/js/default/app.js.map{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///c:/Users/zhaoxingju/Desktop/Test/napi_test_suite/entry/src/main/js/default/app.js","webpack:///c:/Users/zhaoxingju/Desktop/Test/napi_test_suite/entry/src/main/js/default/app.js?f1c5"],"names":["onCreate","console","info","onDestroy","exports","module","manifest","require"],"mappings":";QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eClFe;AACXA,UADW,sBACA;AACPC,WAAO,CAACC,IAAR,CAAa,yBAAb;AACH,GAHU;AAIXC,WAJW,uBAIC;AACRF,WAAO,CAACC,IAAR,CAAa,0BAAb;AACH;AANU,C;;AAQf;AAAC,CAACE,OAAO,WAAP,IAAmBC,MAAM,CAACD,OAA3B,EAAoCE,QAApC,GAA+CC,mBAAO,CAAC,yQAAD,CAAtD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACRD,mBAAmB,mBAAO,CAAC,m9BAA0qB;;AAErsB;;AAEA;AACA;AACA;AACA;;AAEA,OAAO;AACP,iE","file":"./app.js","sourceRoot":""}PK !:38k00!assets/js/default/i18n/en-US.json{"strings": {"hello": "Hello","world": "World"}}PK !:鼞22!assets/js/default/i18n/zh-CN.json{"strings": {"hello": "您好","world": "世界"}}PK !:Yaassets/js/default/manifest.json{"appID": "com.example.napi_test_suite","appName": "MyApplication","versionName": "1.0","versionCode": 1,"minPlatformVersion": 5,"pages": ["pages/index/index"],"deviceType": ["phone"],"window": {"designWidth": 720,"autoDesignWidth": false}}PK !:**&assets/js/default/pages/index/index.js/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, /******/ l: false, /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ /******/ // Flag the module as loaded /******/ module.l = true; /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /******/ /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules; /******/ /******/ // expose the module cache /******/ __webpack_require__.c = installedModules; /******/ /******/ // define getter function for harmony exports /******/ __webpack_require__.d = function(exports, name, getter) { /******/ if(!__webpack_require__.o(exports, name)) { /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); /******/ } /******/ }; /******/ /******/ // define __esModule on exports /******/ __webpack_require__.r = function(exports) { /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); /******/ } /******/ Object.defineProperty(exports, '__esModule', { value: true }); /******/ }; /******/ /******/ // create a fake namespace object /******/ // mode & 1: value is a module id, require it /******/ // mode & 2: merge all properties of value into the ns /******/ // mode & 4: return value when already ns object /******/ // mode & 8|1: behave like require /******/ __webpack_require__.t = function(value, mode) { /******/ if(mode & 1) value = __webpack_require__(value); /******/ if(mode & 8) return value; /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; /******/ var ns = Object.create(null); /******/ __webpack_require__.r(ns); /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); /******/ return ns; /******/ }; /******/ /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = function(module) { /******/ var getter = module && module.__esModule ? /******/ function getDefault() { return module['default']; } : /******/ function getModuleExports() { return module; }; /******/ __webpack_require__.d(getter, 'a', getter); /******/ return getter; /******/ }; /******/ /******/ // Object.prototype.hasOwnProperty.call /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; /******/ /******/ // __webpack_public_path__ /******/ __webpack_require__.p = ""; /******/ /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = "c:\\Users\\zhaoxingju\\Desktop\\Test\\napi_test_suite\\entry\\src\\main\\js\\default\\pages\\index\\index.hml?entry"); /******/ }) /************************************************************************/ /******/ ({ /***/ "./lib/json.js!./lib/style.js!c:\\Users\\zhaoxingju\\Desktop\\Test\\napi_test_suite\\entry\\src\\main\\js\\default\\pages\\index\\index.css": /*!*************************************************************************************************************************************!*\ !*** ./lib/json.js!./lib/style.js!c:/Users/zhaoxingju/Desktop/Test/napi_test_suite/entry/src/main/js/default/pages/index/index.css ***! \*************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = { ".container": { "flexDirection": "column", "justifyContent": "center", "alignItems": "center" }, ".title": { "fontSize": "100px" } } /***/ }), /***/ "./lib/json.js!./lib/template.js!c:\\Users\\zhaoxingju\\Desktop\\Test\\napi_test_suite\\entry\\src\\main\\js\\default\\pages\\index\\index.hml": /*!****************************************************************************************************************************************!*\ !*** ./lib/json.js!./lib/template.js!c:/Users/zhaoxingju/Desktop/Test/napi_test_suite/entry/src/main/js/default/pages/index/index.hml ***! \****************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { module.exports = { "attr": { "debugLine": "pages/index/index:1", "className": "container" }, "type": "div", "classList": [ "container" ], "children": [ { "attr": { "debugLine": "pages/index/index:2", "className": "title", "value": function () {return (this.$t('strings.hello')) + ' ' + (this.title)} }, "type": "text", "classList": [ "title" ] } ] } /***/ }), /***/ "./lib/script.js!./node_modules/babel-loader/lib/index.js?presets[]=E:\\tool\\HOS-SDK\\js\\2.1.1.18\\build-tools\\ace-loader\\node_modules\\@babel\\preset-env&plugins[]=E:\\tool\\HOS-SDK\\js\\2.1.1.18\\build-tools\\ace-loader\\node_modules\\@babel\\plugin-transform-modules-commonjs&comments=false!./lib/resource-reference-script.js!c:\\Users\\zhaoxingju\\Desktop\\Test\\napi_test_suite\\entry\\src\\main\\js\\default\\pages\\index\\index.js": /*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./lib/script.js!./node_modules/babel-loader/lib?presets[]=E:/tool/HOS-SDK/js/2.1.1.18/build-tools/ace-loader/node_modules/@babel/preset-env&plugins[]=E:/tool/HOS-SDK/js/2.1.1.18/build-tools/ace-loader/node_modules/@babel/plugin-transform-modules-commonjs&comments=false!./lib/resource-reference-script.js!c:/Users/zhaoxingju/Desktop/Test/napi_test_suite/entry/src/main/js/default/pages/index/index.js ***! \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { module.exports = function(module, exports, $app_require$){"use strict"; var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "./node_modules/@babel/runtime/helpers/interopRequireDefault.js"); Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _system = _interopRequireDefault(requireModule("@system.file")); var _system2 = _interopRequireDefault(requireModule("@system.app")); var _system3 = _interopRequireDefault(requireModule("@system.device")); var _system4 = _interopRequireDefault(requireModule("@system.router")); var _index = __webpack_require__(/*! deccjsunit/index */ "./node_modules/deccjsunit/index.js"); var _default = { data: { title: "" }, onInit: function onInit() { this.title = this.$t('strings.world'); }, onShow: function onShow() { console.info('onShow finish'); var core = _index.Core.getInstance(); var expectExtend = new _index.ExpectExtend({ 'id': 'extend' }); var reportExtend = new _index.ReportExtend(_system["default"]); core.addService('expect', expectExtend); core.addService('report', reportExtend); core.init(); var configService = core.getDefaultService('config'); configService.setConfig(this); __webpack_require__(/*! ../../../test/List.test */ "c:\\Users\\zhaoxingju\\Desktop\\Test\\napi_test_suite\\entry\\src\\main\\js\\test\\List.test.js"); core.execute(); }, onReady: function onReady() {} }; exports["default"] = _default; function requireModule(moduleName) { const systemList = ['system.router', 'system.app', 'system.prompt', 'system.configuration', 'system.image', 'system.device', 'system.mediaquery', 'system.animator', 'system.grid', 'system.resource'] var target = '' if (systemList.includes(moduleName.replace('@', ''))) { target = $app_require$(moduleName.replace(/@/, '@app-module/')); if (typeof target !== 'undefined') { return target; } } var shortName = moduleName.replace(/@[^.]+.([^.]+)/, '$1'); if (typeof systemplugin !== 'undefined') { target = systemplugin; for (let key of shortName.split('.')) { target = target[key]; if(!target) { break; } } if (typeof target !== 'undefined') { return target; } } target = requireNapi(shortName); return target; } var moduleOwn = exports.default || module.exports; var accessors = ['public', 'protected', 'private']; if (moduleOwn.data && accessors.some(function (acc) { return moduleOwn[acc]; })) { throw new Error('For VM objects, attribute data must not coexist with public, protected, or private. Please replace data with public.'); } else if (!moduleOwn.data) { moduleOwn.data = {}; moduleOwn._descriptor = {}; accessors.forEach(function(acc) { var accType = typeof moduleOwn[acc]; if (accType === 'object') { moduleOwn.data = Object.assign(moduleOwn.data, moduleOwn[acc]); for (var name in moduleOwn[acc]) { moduleOwn._descriptor[name] = {access : acc}; } } else if (accType === 'function') { console.warn('For VM objects, attribute ' + acc + ' value must not be a function. Change the value to an object.'); } }); }} /* generated by ace-loader */ /***/ }), /***/ "./node_modules/@babel/runtime/helpers/asyncToGenerator.js": /*!*****************************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/asyncToGenerator.js ***! \*****************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } module.exports = _asyncToGenerator; /***/ }), /***/ "./node_modules/@babel/runtime/helpers/interopRequireDefault.js": /*!**********************************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/interopRequireDefault.js ***! \**********************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } module.exports = _interopRequireDefault; /***/ }), /***/ "./node_modules/@babel/runtime/helpers/newArrowCheck.js": /*!**************************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/newArrowCheck.js ***! \**************************************************************/ /*! no static exports found */ /***/ (function(module, exports) { function _newArrowCheck(innerThis, boundThis) { if (innerThis !== boundThis) { throw new TypeError("Cannot instantiate an arrow function"); } } module.exports = _newArrowCheck; /***/ }), /***/ "./node_modules/@babel/runtime/helpers/typeof.js": /*!*******************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/typeof.js ***! \*******************************************************/ /*! no static exports found */ /***/ (function(module, exports) { function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { module.exports = _typeof = function _typeof(obj) { return typeof obj; }; } else { module.exports = _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } module.exports = _typeof; /***/ }), /***/ "./node_modules/@babel/runtime/regenerator/index.js": /*!**********************************************************!*\ !*** ./node_modules/@babel/runtime/regenerator/index.js ***! \**********************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(/*! regenerator-runtime */ "./node_modules/regenerator-runtime/runtime.js"); /***/ }), /***/ "./node_modules/deccjsunit/index.js": /*!******************************************!*\ !*** ./node_modules/deccjsunit/index.js ***! \******************************************/ /*! exports provided: Core, InstrumentLog, ReportExtend, ExpectExtend, describe, beforeAll, beforeEach, afterEach, afterAll, it, expect */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _src_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./src/core */ "./node_modules/deccjsunit/src/core.js"); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Core", function() { return _src_core__WEBPACK_IMPORTED_MODULE_0__["default"]; }); /* harmony import */ var _src_module_report_InstrumentLog__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./src/module/report/InstrumentLog */ "./node_modules/deccjsunit/src/module/report/InstrumentLog.js"); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "InstrumentLog", function() { return _src_module_report_InstrumentLog__WEBPACK_IMPORTED_MODULE_1__["default"]; }); /* harmony import */ var _src_module_report_ReportExtend__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./src/module/report/ReportExtend */ "./node_modules/deccjsunit/src/module/report/ReportExtend.js"); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ReportExtend", function() { return _src_module_report_ReportExtend__WEBPACK_IMPORTED_MODULE_2__["default"]; }); /* harmony import */ var _src_module_assert_ExpectExtend__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./src/module/assert/ExpectExtend */ "./node_modules/deccjsunit/src/module/assert/ExpectExtend.js"); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ExpectExtend", function() { return _src_module_assert_ExpectExtend__WEBPACK_IMPORTED_MODULE_3__["default"]; }); /* harmony import */ var _src_interface__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./src/interface */ "./node_modules/deccjsunit/src/interface.js"); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "describe", function() { return _src_interface__WEBPACK_IMPORTED_MODULE_4__["describe"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "beforeAll", function() { return _src_interface__WEBPACK_IMPORTED_MODULE_4__["beforeAll"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "beforeEach", function() { return _src_interface__WEBPACK_IMPORTED_MODULE_4__["beforeEach"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "afterEach", function() { return _src_interface__WEBPACK_IMPORTED_MODULE_4__["afterEach"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "afterAll", function() { return _src_interface__WEBPACK_IMPORTED_MODULE_4__["afterAll"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "it", function() { return _src_interface__WEBPACK_IMPORTED_MODULE_4__["it"]; }); /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "expect", function() { return _src_interface__WEBPACK_IMPORTED_MODULE_4__["expect"]; }); /* * Copyright (c) 2020 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /***/ }), /***/ "./node_modules/deccjsunit/src/core.js": /*!*********************************************!*\ !*** ./node_modules/deccjsunit/src/core.js ***! \*********************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./service */ "./node_modules/deccjsunit/src/service.js"); /* harmony import */ var _event__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./event */ "./node_modules/deccjsunit/src/event.js"); /* * Copyright (c) 2020 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ class Core { static getInstance () { if (!this.instance) { this.instance = new Core() } return this.instance } constructor () { this.instance = null this.services = { suite: {}, spec: {}, config: {}, expect: {}, log: {}, report: {} } this.events = { suite: {}, spec: {}, task: {} } } addService (name, service) { let serviceObj = {} if (!this.services[name]) { this.services[name] = serviceObj } else { serviceObj = this.services[name] } serviceObj[service.id] = service } getDefaultService (name) { return this.services[name].default } getServices (name) { return this.services[name] } registerEvent (serviceName, event) { let eventObj = {} if (!this.events[serviceName]) { this.events[serviceName] = eventObj } else { eventObj = this.events[serviceName] } eventObj[event.id] = event } unRegisterEvent (serviceName, eventID) { const eventObj = this.events[serviceName] if (eventObj) { delete eventObj[eventID] } } subscribeEvent (serviceName, serviceObj) { const eventObj = this.events[serviceName] if (eventObj) { for (const attr in eventObj) { eventObj[attr]['subscribeEvent'](serviceObj) } } } fireEvents (serviceName, eventName) { const eventObj = this.events[serviceName] if (eventObj) { for (const attr in eventObj) { eventObj[attr][eventName]() } } } addToGlobal (apis) { if (typeof globalThis !== 'undefined') { for (let api in apis) { globalThis[api] = apis[api] } } for (const api in apis) { this[api] = apis[api] } } init () { this.addService('suite', new _service__WEBPACK_IMPORTED_MODULE_0__["SuiteService"]({ id: 'default' })) this.addService('spec', new _service__WEBPACK_IMPORTED_MODULE_0__["SpecService"]({ id: 'default' })) this.addService('expect', new _service__WEBPACK_IMPORTED_MODULE_0__["ExpectService"]({ id: 'default' })) this.addService('report', new _service__WEBPACK_IMPORTED_MODULE_0__["ReportService"]({ id: 'default' })) this.addService('config', new _service__WEBPACK_IMPORTED_MODULE_0__["ConfigService"]({ id: 'default' })) this.registerEvent('task', new _event__WEBPACK_IMPORTED_MODULE_1__["TaskEvent"]({ id: 'default', coreContext: this })) this.registerEvent('suite', new _event__WEBPACK_IMPORTED_MODULE_1__["SuiteEvent"]({ id: 'default', coreContext: this })) this.registerEvent('spec', new _event__WEBPACK_IMPORTED_MODULE_1__["SpecEvent"]({ id: 'default', coreContext: this })) this.subscribeEvent('spec', this.getDefaultService('report')) this.subscribeEvent('suite', this.getDefaultService('report')) this.subscribeEvent('task', this.getDefaultService('report')) const context = this for (const key in this.services) { const serviceObj = this.services[key] for (const serviceID in serviceObj) { const service = serviceObj[serviceID] service.init(context) if (typeof service.apis === 'function') { const apis = service.apis() if (apis) { this.addToGlobal(apis) } } } } } execute () { const suiteService = this.getDefaultService('suite') suiteService.execute() } } /* harmony default export */ __webpack_exports__["default"] = (Core); /***/ }), /***/ "./node_modules/deccjsunit/src/event.js": /*!**********************************************!*\ !*** ./node_modules/deccjsunit/src/event.js ***! \**********************************************/ /*! exports provided: SpecEvent, TaskEvent, SuiteEvent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SpecEvent", function() { return SpecEvent; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TaskEvent", function() { return TaskEvent; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SuiteEvent", function() { return SuiteEvent; }); /* * Copyright (c) 2020 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ class SpecEvent { constructor (attr) { this.id = attr.id this.coreContext = attr.context this.eventMonitors = [] } subscribeEvent (service) { this.eventMonitors.push(service) } specStart () { for (let monitor in this.eventMonitors) { this.eventMonitors[monitor]['specStart']() } } specDone () { for (const monitor in this.eventMonitors) { this.eventMonitors[monitor]['specDone']() } } } class SuiteEvent { constructor (attr) { this.id = attr.id this.suiteContext = attr.coreContext this.eventMonitors = [] } subscribeEvent (service) { this.eventMonitors.push(service) } suiteStart () { for (let monitor in this.eventMonitors) { this.eventMonitors[monitor]['suiteStart']() } } suiteDone () { for (let monitor in this.eventMonitors) { this.eventMonitors[monitor]['suiteDone']() } } } class TaskEvent { constructor (attr) { this.id = attr.id this.coreContext = attr.coreContext this.eventMonitors = [] } subscribeEvent (service) { this.eventMonitors.push(service) } taskStart () { for (let monitor in this.eventMonitors) { this.eventMonitors[monitor]['taskStart']() } } taskDone () { for (let monitor in this.eventMonitors) { this.eventMonitors[monitor]['taskDone']() } } } /***/ }), /***/ "./node_modules/deccjsunit/src/interface.js": /*!**************************************************!*\ !*** ./node_modules/deccjsunit/src/interface.js ***! \**************************************************/ /*! exports provided: describe, it, beforeAll, beforeEach, afterEach, afterAll, expect */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "describe", function() { return describe; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "it", function() { return it; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "beforeAll", function() { return beforeAll; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "beforeEach", function() { return beforeEach; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "afterEach", function() { return afterEach; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "afterAll", function() { return afterAll; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "expect", function() { return expect; }); /* harmony import */ var _core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./core */ "./node_modules/deccjsunit/src/core.js"); /* * Copyright (c) 2020 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ const core = _core__WEBPACK_IMPORTED_MODULE_0__["default"].getInstance() const describe = function (desc, func) { if (typeof globalThis !== 'undefined') { return globalThis.describe(desc, func) } return core.describe(desc, func) } const it = function (desc, filter, func) { if (typeof globalThis !== 'undefined') { return globalThis.it(desc, filter, func) } return core.it(desc, filter, func) } const beforeEach = function (func) { if (typeof globalThis !== 'undefined') { return globalThis.beforeEach(func) } return core.beforeEach(func) } const afterEach = function (func) { if (typeof globalThis !== 'undefined') { return globalThis.afterEach(func) } return core.afterEach(func) } const beforeAll = function (func) { if (typeof globalThis !== 'undefined') { return globalThis.beforeAll(func) } return core.beforeAll(func) } const afterAll = function (func) { if (typeof globalThis !== 'undefined') { return globalThis.afterAll(func) } return core.afterAll(func) } const expect = function (actualValue) { if (typeof globalThis !== 'undefined') { return globalThis.expect(actualValue) } return core.expect(actualValue) } /***/ }), /***/ "./node_modules/deccjsunit/src/module/assert/ExpectExtend.js": /*!*******************************************************************!*\ !*** ./node_modules/deccjsunit/src/module/assert/ExpectExtend.js ***! \*******************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _assertNull__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./assertNull */ "./node_modules/deccjsunit/src/module/assert/assertNull.js"); /* harmony import */ var _assertClose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./assertClose */ "./node_modules/deccjsunit/src/module/assert/assertClose.js"); /* harmony import */ var _assertContain__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./assertContain */ "./node_modules/deccjsunit/src/module/assert/assertContain.js"); /* harmony import */ var _assertLess__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./assertLess */ "./node_modules/deccjsunit/src/module/assert/assertLess.js"); /* harmony import */ var _assertLarger__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./assertLarger */ "./node_modules/deccjsunit/src/module/assert/assertLarger.js"); /* harmony import */ var _assertFail__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./assertFail */ "./node_modules/deccjsunit/src/module/assert/assertFail.js"); /* harmony import */ var _assertUndefined__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./assertUndefined */ "./node_modules/deccjsunit/src/module/assert/assertUndefined.js"); /* harmony import */ var _assertFalse__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./assertFalse */ "./node_modules/deccjsunit/src/module/assert/assertFalse.js"); /* harmony import */ var _assertInstanceOf__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./assertInstanceOf */ "./node_modules/deccjsunit/src/module/assert/assertInstanceOf.js"); /* harmony import */ var _assertThrowError__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./assertThrowError */ "./node_modules/deccjsunit/src/module/assert/assertThrowError.js"); /* * Copyright (c) 2020 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ class ExpectExtend { constructor (attr) { this.id = attr.id this.matchers = {} } /** * add extends matchers to except service */ extendsMatchers () { this.matchers.assertNull = _assertNull__WEBPACK_IMPORTED_MODULE_0__["default"] this.matchers.assertClose = _assertClose__WEBPACK_IMPORTED_MODULE_1__["default"] this.matchers.assertContain = _assertContain__WEBPACK_IMPORTED_MODULE_2__["default"] this.matchers.assertLess = _assertLess__WEBPACK_IMPORTED_MODULE_3__["default"] this.matchers.assertLarger = _assertLarger__WEBPACK_IMPORTED_MODULE_4__["default"] this.matchers.assertFail = _assertFail__WEBPACK_IMPORTED_MODULE_5__["default"] this.matchers.assertUndefined = _assertUndefined__WEBPACK_IMPORTED_MODULE_6__["default"] this.matchers.assertFalse = _assertFalse__WEBPACK_IMPORTED_MODULE_7__["default"] this.matchers.assertInstanceOf = _assertInstanceOf__WEBPACK_IMPORTED_MODULE_8__["default"] this.matchers.assertThrowError = _assertThrowError__WEBPACK_IMPORTED_MODULE_9__["default"] } init (coreContext) { this.coreContext = coreContext this.extendsMatchers() const expectService = this.coreContext.getDefaultService('expect') expectService.addMatchers(this.matchers) } apis () { return { 'expect': function (actualValue) { return this.coreContext.getDefaultService('expect').expect(actualValue) } // 'assertRejected':assertRejected } } } /* harmony default export */ __webpack_exports__["default"] = (ExpectExtend); /***/ }), /***/ "./node_modules/deccjsunit/src/module/assert/assertClose.js": /*!******************************************************************!*\ !*** ./node_modules/deccjsunit/src/module/assert/assertClose.js ***! \******************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* * Copyright (c) 2020 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ function assertClose (actualValue, expected) { console.log('expected:' + expected[0] + ',precision:' + expected[1]) if (actualValue === null && expected[0] === null) { throw new Error('actualValue and expected can not be both null!!!') } let result = false let diff = Math.abs(expected[0] - actualValue) let actualAbs = Math.abs(actualValue) if (diff / actualAbs < expected[1]) { result = true } return { pass: result, message: '|' + actualValue + ' - ' + expected[0] + '|/' + actualValue + ' is not less than ' + expected[1] } } /* harmony default export */ __webpack_exports__["default"] = (assertClose); /***/ }), /***/ "./node_modules/deccjsunit/src/module/assert/assertContain.js": /*!********************************************************************!*\ !*** ./node_modules/deccjsunit/src/module/assert/assertContain.js ***! \********************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* * Copyright (c) 2020 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * the actualValue contain expect * @param actualValue * @param expect: the expect value * @example * expect(array).toBeContain(anItem) * expect(String).toBeContain(subString) * @returns {{pass: boolean, message: string}} */ function assertContain (actualValue, expect) { let result = false if (Object.prototype.toString.call(actualValue).indexOf('Array')) { for (let i in actualValue) { if (actualValue[i] == expect[0]) { result = true } } } let type = Object.prototype.toString.call(actualValue) if (type === '[object String]') { result = actualValue.indexOf(expect[0]) >= 0 } return { pass: result, message: 'except false, ' + actualValue + ' do not has ' + expect[0] } } /* harmony default export */ __webpack_exports__["default"] = (assertContain); /***/ }), /***/ "./node_modules/deccjsunit/src/module/assert/assertFail.js": /*!*****************************************************************!*\ !*** ./node_modules/deccjsunit/src/module/assert/assertFail.js ***! \*****************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* * Copyright (c) 2020 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * fail this it * @example * expect(a).toBeFail() * @returns {{pass: boolean, message: string}} */ function assertFail () { return { pass: false, message: 'fail ' } } /* harmony default export */ __webpack_exports__["default"] = (assertFail); /***/ }), /***/ "./node_modules/deccjsunit/src/module/assert/assertFalse.js": /*!******************************************************************!*\ !*** ./node_modules/deccjsunit/src/module/assert/assertFalse.js ***! \******************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* * Copyright (c) 2020 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * the actualValue is False * @param actualValue * @returns {{pass: boolean, message: string}} */ function assertFalse (actualValue) { return { pass: actualValue === false, message: 'except false, actualValue is ' + actualValue } } /* harmony default export */ __webpack_exports__["default"] = (assertFalse); /***/ }), /***/ "./node_modules/deccjsunit/src/module/assert/assertInstanceOf.js": /*!***********************************************************************!*\ !*** ./node_modules/deccjsunit/src/module/assert/assertInstanceOf.js ***! \***********************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* * Copyright (c) 2020 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * the actualValue to be an instance of the expected class * @param actualValue : actualValue * @param expected : * @returns {{pass: boolean, message: string}|{pass: boolean}} */ function assertInstanceOf (actualValue, expected) { if (Object.prototype.toString.call(actualValue) == '[object ' + expected[0] + ']') { return { pass: true } } else { return { pass: false, message: actualValue + ' is ' + Object.prototype.toString.call(actualValue) + 'not ' + expected[0] } } } /* harmony default export */ __webpack_exports__["default"] = (assertInstanceOf); /***/ }), /***/ "./node_modules/deccjsunit/src/module/assert/assertLarger.js": /*!*******************************************************************!*\ !*** ./node_modules/deccjsunit/src/module/assert/assertLarger.js ***! \*******************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* * Copyright (c) 2020 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * the actualValue to be larger then expected * @param actualValue : actualValue * @param expected : * @returns {{pass: boolean, message: string}|{pass: boolean}} */ function assertLarger (actualValue, expected) { return { pass: actualValue > expected[0], message: actualValue + ' is not larger than ' + expected[0] } } /* harmony default export */ __webpack_exports__["default"] = (assertLarger); /***/ }), /***/ "./node_modules/deccjsunit/src/module/assert/assertLess.js": /*!*****************************************************************!*\ !*** ./node_modules/deccjsunit/src/module/assert/assertLess.js ***! \*****************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* * Copyright (c) 2020 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ function assertLess (actualValue, expected) { return { pass: actualValue < expected[0], message: actualValue + ' is not less than ' + expected[0] } } /* harmony default export */ __webpack_exports__["default"] = (assertLess); /***/ }), /***/ "./node_modules/deccjsunit/src/module/assert/assertNull.js": /*!*****************************************************************!*\ !*** ./node_modules/deccjsunit/src/module/assert/assertNull.js ***! \*****************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* * Copyright (c) 2020 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ function assertNull (actualValue) { return { pass: actualValue == null, message: 'except null, actualValue is ' + actualValue } } /* harmony default export */ __webpack_exports__["default"] = (assertNull); /***/ }), /***/ "./node_modules/deccjsunit/src/module/assert/assertThrowError.js": /*!***********************************************************************!*\ !*** ./node_modules/deccjsunit/src/module/assert/assertThrowError.js ***! \***********************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* * Copyright (c) 2020 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * expect a function on Error * @param actualValue * @returns {{pass: boolean, message: string}} */ function assertThrowError (actualValue, expected) { let result = false let err if (typeof actualValue != 'function') { throw new Error('actualValue is not a function') } try { actualValue() return { pass: result, message: 'expected throw error ,but not throw an error!' } } catch (e) { err = e } if (err instanceof Error) { console.log(err.message) if (err.message == expected[0]) { result = true } } return { pass: result, message: 'expected throw message fail , ' + err.message + ' is not ' + expected[0] } } /* harmony default export */ __webpack_exports__["default"] = (assertThrowError); /***/ }), /***/ "./node_modules/deccjsunit/src/module/assert/assertUndefined.js": /*!**********************************************************************!*\ !*** ./node_modules/deccjsunit/src/module/assert/assertUndefined.js ***! \**********************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* * Copyright (c) 2020 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ function assertUndefined (actualValue) { return { pass: void 0 === actualValue, message: 'except Undefined, actualValue is ' + actualValue } } /* harmony default export */ __webpack_exports__["default"] = (assertUndefined); /***/ }), /***/ "./node_modules/deccjsunit/src/module/report/InstrumentLog.js": /*!********************************************************************!*\ !*** ./node_modules/deccjsunit/src/module/report/InstrumentLog.js ***! \********************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* * Copyright (c) 2020 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ class InstrumentLog { constructor (attr) { this.id = attr.id this.index = 0 } init (coreContext) { this.coreContext = coreContext this.suiteService = this.coreContext.getDefaultService('suite') this.specService = this.coreContext.getDefaultService('spec') } taskStart () { } taskDone () { let summry = this.suiteService.getSummry() var action = {} var actionData = {} actionData.data = '\\' + 'INSTRUMENTATION_RESULT: stream=Tests run: ' + summry.total + ', Failures: ' + summry.failure + ' ' + '\\' + 'INSTRUMENTATION_CODE: ' + (summry.failure > 0 ? -1 : 0) + '\\' action.bundleName = 'decc.testkit.runner' action.abilityName = 'decc.testkit.runner.MessageAbility' action.messageCode = 1001 action.data = actionData action.abilityType = 1 action.syncOption = 0 console.info('call ability data: ' + JSON.stringify(action)) FeatureAbility.callAbility(action).then(data => { console.info('call ability resolved: ' + data) }, error => { console.error('call ability rejected: ' + error) }) } suiteStart () { } suiteDone () { } specStart () { var action = {} var actionData = {} let suiteService = this.coreContext.getDefaultService('suite') actionData.data = '\\' + 'INSTRUMENTATION_STATUS: class=' + suiteService.getCurrentRunningSuite().description actionData.data += '\\' + 'INSTRUMENTATION_STATUS: current=' + (this.index + 1) actionData.data += '\\' + 'INSTRUMENTATION_STATUS: id=JS' actionData.data += '\\' + 'INSTRUMENTATION_STATUS: numtests=' + suiteService.getSummry().total actionData.data += '\\' + 'INSTRUMENTATION_STATUS: stream=' actionData.data += '\\' + 'INSTRUMENTATION_STATUS: test=' + this.specService.currentRunningSpec.description actionData.data += '\\' + 'INSTRUMENTATION_STATUS_CODE: 1' + '\\' this.index = this.index + 1 action.bundleName = 'decc.testkit.runner' action.abilityName = 'decc.testkit.runner.MessageAbility' action.messageCode = 1001 action.data = actionData action.abilityType = 1 action.syncOption = 0 console.info('call ability data: ' + JSON.stringify(action)) FeatureAbility.callAbility(action).then(data => { console.info('call ability resolved: ' + data) }, error => { console.error('call ability rejected: ' + error) }) } specDone () { var action = {} var actionData = {} actionData.data = '\\' + 'INSTRUMENTATION_STATUS: class=' + this.suiteService.getCurrentRunningSuite().description actionData.data += '\\' + 'INSTRUMENTATION_STATUS: current=' + this.index actionData.data += '\\' + 'INSTRUMENTATION_STATUS: id=JS' actionData.data += '\\' + 'INSTRUMENTATION_STATUS: numtests=' + this.suiteService.getSummry().total let emsg = '' if (this.specService.currentRunningSpec.error) { actionData.data += '\\' + 'INSTRUMENTATION_STATUS: stack=' + this.specService.currentRunningSpec.error actionData.data += '\\' + 'INSTRUMENTATION_STATUS: stream=' + '\\' + 'Error in ' + this.specService.currentRunningSpec.description + '\\' + this.specService.currentRunningSpec.error actionData.data += '\\' + 'INSTRUMENTATION_STATUS: test=' + this.specService.currentRunningSpec.description actionData.data += '\\' + 'INSTRUMENTATION_STATUS_CODE: -1' + '\\' } else if (this.specService.currentRunningSpec.result) { if (this.specService.currentRunningSpec.result.failExpects.length > 0) { this.specService.currentRunningSpec.result.failExpects.forEach(failExpect => { emsg = failExpect.message || ('expect ' + failExpect.actualValue + ' ' + failExpect.checkFunc + ' ' + (failExpect.expectValue || '')) }) actionData.data += '\\' + 'INSTRUMENTATION_STATUS: stack=' + emsg actionData.data += '\\' + 'INSTRUMENTATION_STATUS: stream=' + '\\' + 'Error in ' + this.specService.currentRunningSpec.description + '\\' + emsg actionData.data += '\\' + 'INSTRUMENTATION_STATUS: test=' + this.specService.currentRunningSpec.description actionData.data += '\\' + 'INSTRUMENTATION_STATUS_CODE: -2' + '\\' } else { actionData.data += '\\' + 'INSTRUMENTATION_STATUS: stream=' actionData.data += '\\' + 'INSTRUMENTATION_STATUS: test=' + this.specService.currentRunningSpec.description actionData.data += '\\' + 'INSTRUMENTATION_STATUS_CODE: 0' + '\\' } } else { actionData.data += '\\' } action.bundleName = 'decc.testkit.runner' action.abilityName = 'decc.testkit.runner.MessageAbility' action.messageCode = 1001 action.data = actionData action.abilityType = 1 action.syncOption = 0 console.info('call ability data: ' + JSON.stringify(action)) FeatureAbility.callAbility(action).then(data => { console.info('call ability resolved: ' + data) }, error => { console.error('call ability rejected: ' + error) }) } } /* harmony default export */ __webpack_exports__["default"] = (InstrumentLog); /***/ }), /***/ "./node_modules/deccjsunit/src/module/report/ReportExtend.js": /*!*******************************************************************!*\ !*** ./node_modules/deccjsunit/src/module/report/ReportExtend.js ***! \*******************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* * Copyright (c) 2020 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ class ReportExtend { constructor (fileModule) { this.id = 'extend' this.fileModule = fileModule } init (coreContext) { this.coreContext = coreContext this.suiteService = this.coreContext.getDefaultService('suite') } taskStart () { } taskDone () { const report = { tag: 'testsuites', name: 'summary_report', timestamp: new Date().toDateString(), time: '1', errors: 0, failures: 0, tests: 0, children: [] } const rootSuite = this.suiteService.rootSuite if (rootSuite && rootSuite.childSuites) { for (let testsuite of rootSuite.childSuites) { let suiteReport = { tag: 'testsuite', name: testsuite['description'], errors: 0, tests: 0, failures: 0, time: '0.1', children: [] } let specs = testsuite['specs'] for (let testcase of specs) { report.tests++ suiteReport.tests++ let caseReport = { tag: 'testcase', name: testcase['description'], status: 'run', time: '0.0', classname: testsuite['description'] } if (testcase.error) { caseReport['result'] = false caseReport['children'] = [{ tag: 'error', type: '', message: testcase.error.message }] report.errors++ suiteReport.errors++ } else if (testcase.result.failExpects.length > 0) { caseReport['result'] = false let message = '' testcase.result.failExpects.forEach(failExpect => { message += failExpect.message || ('expect ' + failExpect.actualValue + ' ' + failExpect.checkFunc + ' ' + (failExpect.expectValue || '')) + ';' }) caseReport['children'] = [{ tag: 'failure', type: '', message: message }] report.failures++ suiteReport.failures++ } else { caseReport['result'] = true } suiteReport.children.push(caseReport) } report.children.push(suiteReport) } } let reportXml = '\n' + json2xml(report) this.fileModule.writeText({ uri: 'internal://share/report.xml', text: reportXml, success: function () { console.info('call success callback success') }, fail: function (data, code) { console.info('call fail callback success:') }, complete: function () { console.info('call complete callback success') } }) } } function json2xml (json) { let tagName let hasChildren = false let childrenStr = '' let attrStr = '' for (let key in json) { if (key === 'tag') { tagName = json[key] } else if (key === 'children') { if (json[key].length > 0) { hasChildren = true for (let child of json[key]) { childrenStr += json2xml(child) } } } else { attrStr += ` ${key}="${json[key]}"` } } let xml = `<${tagName}${attrStr}` xml += hasChildren ? `>${childrenStr}` : '/>' return xml } /* harmony default export */ __webpack_exports__["default"] = (ReportExtend); /***/ }), /***/ "./node_modules/deccjsunit/src/service.js": /*!************************************************!*\ !*** ./node_modules/deccjsunit/src/service.js ***! \************************************************/ /*! exports provided: SuiteService, SpecService, ExpectService, ReportService, ConfigService */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SuiteService", function() { return SuiteService; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SpecService", function() { return SpecService; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ExpectService", function() { return ExpectService; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ReportService", function() { return ReportService; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ConfigService", function() { return ConfigService; }); /* * Copyright (c) 2020 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ function processFunc (coreContext, func) { if (func.length > 0 || Object.prototype.toString.call(func) === '[object AsyncFunction]') { coreContext.getDefaultService('config').setSupportAsync(true) } let processedFunc if (func.length > 0) { processedFunc = function () { return new Promise(resolve => { function done () { resolve() } func(done) }) } } else { processedFunc = func } return processedFunc } function secureRandomNumber () { // Random numbers between 0 and 1, similar to math.random return crypto.randomBytes(8).readUInt32LE() / 0xffffffff } class SuiteService { constructor (attr) { this.id = attr.id this.rootSuite = new SuiteService.Suite({}) this.currentRunningSuite = this.rootSuite } describe (desc, func) { if (this.coreContext.getDefaultService('config').filterSuite(desc)) { return } const suite = new SuiteService.Suite({ description: desc }) const currentSuiteCache = this.currentRunningSuite this.currentRunningSuite.childSuites.push(suite) this.currentRunningSuite = suite func.call() this.currentRunningSuite = currentSuiteCache } beforeAll (func) { this.currentRunningSuite.beforeAll.push(processFunc(this.coreContext, func)) } beforeEach (func) { this.currentRunningSuite.beforeEach.push(processFunc(this.coreContext, func)) } afterAll (func) { this.currentRunningSuite.afterAll.push(processFunc(this.coreContext, func)) } afterEach (func) { this.currentRunningSuite.afterEach.push(processFunc(this.coreContext, func)) } getCurrentRunningSuite () { return this.currentRunningSuite } setCurrentRunningSuite (suite) { this.currentRunningSuite = suite } getSummry () { let total = 0 let error = 0 let failure = 0 let rootSuite = this.coreContext.getDefaultService('suite').rootSuite if (rootSuite && rootSuite.childSuites) { for (let i = 0; i < rootSuite.childSuites.length; i++) { let testsuite = rootSuite.childSuites[i] let specs = testsuite['specs'] for (let j = 0; j < specs.length; j++) { total++ let testcase = specs[j] if (testcase.error) { error++ } else if (testcase.result.failExpects.length > 0) { failure++ } } } } return { total: total, failure: failure, error: error } } init (coreContext) { this.coreContext = coreContext } execute () { this.coreContext.fireEvents('task', 'taskStart') if (this.coreContext.getDefaultService('config').isSupportAsync()) { let asyncExecute = async () => { await this.rootSuite.asyncRun(this.coreContext) } asyncExecute().then(() => { this.coreContext.fireEvents('task', 'taskDone') }) } else { this.rootSuite.run(this.coreContext) this.coreContext.fireEvents('task', 'taskDone') } } apis () { const _this = this return { describe: function (desc, func) { return _this.describe(desc, func) }, beforeAll: function (func) { return _this.beforeAll(func) }, beforeEach: function (func) { return _this.beforeEach(func) }, afterAll: function (func) { return _this.afterAll(func) }, afterEach: function (func) { return _this.afterEach(func) } } } } SuiteService.Suite = class { constructor (attrs) { this.description = attrs.description || '' this.childSuites = [] this.specs = [] this.beforeAll = [] this.afterAll = [] this.beforeEach = [] this.afterEach = [] this.duration = 0 } pushSpec (spec) { this.specs.push(spec) } removeSpec (desc) { this.specs = this.specs.filter((item, index) => { return item.description !== desc }) } getSpecsNum () { return this.specs.length } run (coreContext) { if (this.description != '') { coreContext.fireEvents('suite', 'suiteStart', this) } const suiteService = coreContext.getDefaultService('suite') this.runHookFunc('beforeAll') if (this.specs.length > 0) { const configService = coreContext.getDefaultService('config') suiteService.setCurrentRunningSuite(this) if (configService.isRandom()) { this.specs.sort(function () { return secureRandomNumber() > 0.5 ? -1 : 1 }) } this.specs.forEach(spec => { this.runHookFunc('beforeEach') spec.run(coreContext) this.runHookFunc('afterEach') }) } if (this.childSuites.length > 0) { this.childSuites.forEach(childSuite => { childSuite.run(coreContext) suiteService.setCurrentRunningSuite(childSuite) }) } this.runHookFunc('afterAll') if (this.description != '') { coreContext.fireEvents('suite', 'suiteDone') } } asyncRun (coreContext) { return new Promise(async resolve => { if (this.description != '') { coreContext.fireEvents('suite', 'suiteStart', this) } const suiteService = coreContext.getDefaultService('suite') await this.runAsyncHookFunc('beforeAll') if (this.specs.length > 0) { const configService = coreContext.getDefaultService('config') suiteService.setCurrentRunningSuite(this) if (configService.isRandom()) { this.specs.sort(function () { return secureRandomNumber() > 0.5 ? -1 : 1 }) } for (let i = 0; i < this.specs.length; i++) { await this.runAsyncHookFunc('beforeEach') await this.specs[i].asyncRun(coreContext) await this.runAsyncHookFunc('afterEach') } } if (this.childSuites.length > 0) { for (let i = 0; i < this.childSuites.length; i++) { suiteService.setCurrentRunningSuite(this.childSuites[i]) await this.childSuites[i].asyncRun(coreContext) } } await this.runAsyncHookFunc('afterAll') if (this.description != '') { coreContext.fireEvents('suite', 'suiteDone') } resolve() }) } runHookFunc (hookName) { if (this[hookName] && this[hookName].length > 0) { this[hookName].forEach(func => { try { func() } catch (e) { console.error(e) } }) } } runAsyncHookFunc (hookName) { if (this[hookName] && this[hookName].length > 0) { return new Promise(async resolve => { for (let i = 0; i < this[hookName].length; i++) { try { await this[hookName][i]() } catch (e) { console.error(e) } } resolve() }) } } } class SpecService { constructor (attr) { this.id = attr.id } init (coreContext) { this.coreContext = coreContext } setCurrentRunningSpec (spec) { this.currentRunningSpec = spec } getCurrentRunningSpec () { return this.currentRunningSpec } it (desc, filter, func) { const configService = this.coreContext.getDefaultService('config') if (configService.filterDesc(desc, filter, this.coreContext)) { return } let processedFunc = processFunc(this.coreContext, func) const spec = new SpecService.Spec({ description: desc, fi: filter, fn: processedFunc }) const suiteService = this.coreContext.getDefaultService('suite') suiteService.getCurrentRunningSuite().pushSpec(spec) } apis () { const _this = this return { it: function (desc, filter, func) { return _this.it(desc, filter, func) } } } } SpecService.Spec = class { constructor (attrs) { this.description = attrs.description || '' this.fi = attrs.fi this.fn = attrs.fn || function () { } this.result = { failExpects: [], passExpects: [] } this.error = undefined this.duration = 0 } run (coreContext) { const specService = coreContext.getDefaultService('spec') specService.setCurrentRunningSpec(this) coreContext.fireEvents('spec', 'specStart', this) let startTime = new Date().getTime() try { let dataDriver = coreContext.getServices('dataDriver') if (typeof dataDriver === 'undefined') { this.fn() } else { let specParams = dataDriver.dataDriver.getSpecParams() if (specParams.length === 0) { this.fn() } else { for (const paramItem of specParams) { this.fn(paramItem) } } } } catch (e) { this.error = e } let endTime = new Date().getTime() this.duration = ((endTime - startTime) / 1000).toFixed(3) coreContext.fireEvents('spec', 'specDone', this) } asyncRun (coreContext) { const specService = coreContext.getDefaultService('spec') specService.setCurrentRunningSpec(this) return new Promise(async resolve => { coreContext.fireEvents('spec', 'specStart', this) let startTime = new Date().getTime() try { let dataDriver = coreContext.getServices('dataDriver') if (typeof dataDriver === 'undefined') { await this.fn() } else { let specParams = dataDriver.dataDriver.getSpecParams() if (specParams.length === 0) { await this.fn() } else { for (const paramItem of specParams) { await this.fn(paramItem) } } } } catch (e) { this.error = e } let endTime = new Date().getTime() this.duration = ((endTime - startTime) / 1000).toFixed(3) coreContext.fireEvents('spec', 'specDone', this) resolve() }) } filterCheck (coreContext) { const specService = coreContext.getDefaultService('spec') specService.setCurrentRunningSpec(this) return true } addExpectationResult (expectResult) { if (expectResult.pass) { this.result.passExpects.push(expectResult) } else { this.result.failExpects.push(expectResult) } } } class ExpectService { constructor (attr) { this.id = attr.id this.matchers = {} } expect (actualValue) { return this.wrapMatchers(actualValue) } init (coreContext) { this.coreContext = coreContext this.addMatchers(this.basicMatchers()) } addMatchers (matchers) { for (const matcherName in matchers) { this.matchers[matcherName] = matchers[matcherName] } } basicMatchers () { return { assertTrue: function (actualValue) { return { pass: actualValue === true } }, assertEqual: function (actualValue, args) { return { pass: actualValue == args[0], expectValue: args[0] } }, assertThrow: function (actual, args) { const result = { pass: false } if (typeof actual !== 'function') { result.message = 'toThrow\'s Actual should be a Function' } else { let hasThrow = false let throwError try { actual() } catch (e) { hasThrow = true throwError = e } if (!hasThrow) { result.message = 'function did not throw an exception' } else { if (throwError && throwError.message === args[0]) { result.pass = true } else { result.message = `expect to throw ${args[0]} , actual throw ${throwError.message}` } } } return result } } } wrapMatchers (actualValue) { const _this = this const wrappedMatchers = {} const specService = _this.coreContext.getDefaultService('spec') const currentRunningSpec = specService.getCurrentRunningSpec() for (const matcherName in this.matchers) { wrappedMatchers[matcherName] = function () { const result = _this.matchers[matcherName](actualValue, arguments) result.actualValue = actualValue result.checkFunc = matcherName currentRunningSpec.addExpectationResult(result) } } return wrappedMatchers } apis () { const _this = this return { expect: function (actualValue) { return _this.expect(actualValue) } } } } class ReportService { constructor (attr) { this.id = attr.id } init (coreContext) { this.coreContext = coreContext this.specService = this.coreContext.getDefaultService('spec') this.suiteService = this.coreContext.getDefaultService('suite') this.duration = 0 } taskStart () { this.taskStartTime = new Date().getTime() this.sleep(200) console.info('[start] start run suites') } suiteStart () { this.sleep(200) console.info('[suite start]' + this.suiteService.getCurrentRunningSuite().description) } specStart () { this.sleep(200) console.info('start running case \'' + this.specService.currentRunningSpec.description + '\'') this.index = this.index + 1 } specDone () { this.sleep(200) let msg = '' let spec = this.specService.currentRunningSpec if (spec.error) { this.formatPrint('fail', spec.description) this.formatPrint('failDetail', spec.error) } else if (spec.result) { if (spec.result.failExpects.length > 0) { this.formatPrint('fail', spec.description) spec.result.failExpects.forEach(failExpect => { msg = failExpect.message || ('expect ' + failExpect.actualValue + ' ' + failExpect.checkFunc + ' ' + (failExpect.expectValue || '')) this.formatPrint('failDetail', msg) }) } else { this.formatPrint('pass', spec.description + ' ; consuming ' + spec.duration + 'S') } } this.formatPrint(this.specService.currentRunningSpec.error, msg) } suiteDone () { this.sleep(200) console.info('[suite end]') } taskDone () { this.sleep(200) this.taskDoneTime = new Date().getTime() this.duration = ((this.taskDoneTime - this.taskStartTime) / 1000).toFixed(2) let summry = this.suiteService.getSummry() console.info('total cases:' + summry.total + ';failure ' + summry.failure + ',' + 'error ' + summry.error + ',pass ' + (summry.total - summry.error - summry.failure) + '; consuming ' + this.duration + 'S') console.info('[end] run suites end') } formatPrint (type, msg) { switch (type) { case 'pass': console.info('[pass]' + msg) break case 'fail': console.info('[fail] ' + msg) break case 'failDetail': console.info('[failDetail]' + msg) break } } sleep (numberMillis) { var now = new Date() var exitTime = now.getTime() + numberMillis while (true) { now = new Date() if (now.getTime() > exitTime) { return } } } } class ConfigService { constructor (attr) { this.id = attr.id this.supportAsync = false this.random = false } init () { } setConfig (params) { try { this.filter = params.filter this.flag = params.flag || { flag: false } this.suite = params.suite this.itName = params.itName } catch (err) { this.filter = 0 this.flag = false this.suite = null this.itName = null } } filterSuite (description) { if (this.suite != undefined && this.suite != '' && this.suite != null) { let suiteArray = this.suite.split(',') if (suiteArray.indexOf(description) == -1) { console.info('run suite:' + suiteArray + ',filter ' + description) return true } return false } else { return false } } filterDesc (desc, fi, coreContext) { if (this.itName != undefined && this.itName != '' && this.itName != null) { let itNameArray = this.itName.split(',') if (itNameArray.indexOf(desc) == -1) { console.info('run it :' + itNameArray + ',filter ' + desc) return true } } if (this.filter == undefined || this.filter === 0 || fi === 0) { return false } let testTypeFi = fi & 0B1111111111111111 let testType = this.filter & 0B1111111111111111 if (testType != testTypeFi && testTypeFi != 0 && testType != 0) { return true } let sizeFi = fi & 0B11111111 << 16 let size = this.filter & 0B11111111 << 16 if (size != 0 && sizeFi != 0 && size != sizeFi) { return true } let levelFi = fi & 0B1111111 << 24 let level = this.filter & 0B1111111 << 24 if (level != 0 && levelFi != 0 && level != levelFi) { return true } } isRandom () { return this.random || false } setSupportAsync (value) { this.supportAsync = value } isSupportAsync () { return this.supportAsync } execute () { } } /***/ }), /***/ "./node_modules/regenerator-runtime/runtime.js": /*!*****************************************************!*\ !*** ./node_modules/regenerator-runtime/runtime.js ***! \*****************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { /** * Copyright (c) 2014-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var runtime = (function (exports) { "use strict"; var Op = Object.prototype; var hasOwn = Op.hasOwnProperty; var undefined; // More compressible than void 0. var $Symbol = typeof Symbol === "function" ? Symbol : {}; var iteratorSymbol = $Symbol.iterator || "@@iterator"; var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator"; var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function wrap(innerFn, outerFn, self, tryLocsList) { // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator. var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator; var generator = Object.create(protoGenerator.prototype); var context = new Context(tryLocsList || []); // The ._invoke method unifies the implementations of the .next, // .throw, and .return methods. generator._invoke = makeInvokeMethod(innerFn, self, context); return generator; } exports.wrap = wrap; // Try/catch helper to minimize deoptimizations. Returns a completion // record like context.tryEntries[i].completion. This interface could // have been (and was previously) designed to take a closure to be // invoked without arguments, but in all the cases we care about we // already have an existing method we want to call, so there's no need // to create a new function object. We can even get away with assuming // the method takes exactly one argument, since that happens to be true // in every case, so we don't have to touch the arguments object. The // only additional allocation required is the completion record, which // has a stable shape and so hopefully should be cheap to allocate. function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } var GenStateSuspendedStart = "suspendedStart"; var GenStateSuspendedYield = "suspendedYield"; var GenStateExecuting = "executing"; var GenStateCompleted = "completed"; // Returning this object from the innerFn has the same effect as // breaking out of the dispatch switch statement. var ContinueSentinel = {}; // Dummy constructor functions that we use as the .constructor and // .constructor.prototype properties for functions that return Generator // objects. For full spec compliance, you may wish to configure your // minifier not to mangle the names of these two functions. function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} // This is a polyfill for %IteratorPrototype% for environments that // don't natively support it. var IteratorPrototype = {}; IteratorPrototype[iteratorSymbol] = function () { return this; }; var getProto = Object.getPrototypeOf; var NativeIteratorPrototype = getProto && getProto(getProto(values([]))); if (NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) { // This environment has a native %IteratorPrototype%; use it instead // of the polyfill. IteratorPrototype = NativeIteratorPrototype; } var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype; GeneratorFunctionPrototype.constructor = GeneratorFunction; GeneratorFunctionPrototype[toStringTagSymbol] = GeneratorFunction.displayName = "GeneratorFunction"; // Helper for defining the .next, .throw, and .return methods of the // Iterator interface in terms of a single ._invoke method. function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function(method) { prototype[method] = function(arg) { return this._invoke(method, arg); }; }); } exports.isGeneratorFunction = function(genFun) { var ctor = typeof genFun === "function" && genFun.constructor; return ctor ? ctor === GeneratorFunction || // For the native GeneratorFunction constructor, the best we can // do is to check its .name property. (ctor.displayName || ctor.name) === "GeneratorFunction" : false; }; exports.mark = function(genFun) { if (Object.setPrototypeOf) { Object.setPrototypeOf(genFun, GeneratorFunctionPrototype); } else { genFun.__proto__ = GeneratorFunctionPrototype; if (!(toStringTagSymbol in genFun)) { genFun[toStringTagSymbol] = "GeneratorFunction"; } } genFun.prototype = Object.create(Gp); return genFun; }; // Within the body of any async function, `await x` is transformed to // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test // `hasOwn.call(value, "__await")` to determine if the yielded value is // meant to be awaited. exports.awrap = function(arg) { return { __await: arg }; }; function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if (record.type === "throw") { reject(record.arg); } else { var result = record.arg; var value = result.value; if (value && typeof value === "object" && hasOwn.call(value, "__await")) { return PromiseImpl.resolve(value.__await).then(function(value) { invoke("next", value, resolve, reject); }, function(err) { invoke("throw", err, resolve, reject); }); } return PromiseImpl.resolve(value).then(function(unwrapped) { // When a yielded Promise is resolved, its final value becomes // the .value of the Promise<{value,done}> result for the // current iteration. result.value = unwrapped; resolve(result); }, function(error) { // If a rejected Promise was yielded, throw the rejection back // into the async generator function so it can be handled there. return invoke("throw", error, resolve, reject); }); } } var previousPromise; function enqueue(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function(resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = // If enqueue has been called before, then we want to wait until // all previous Promises have been resolved before calling invoke, // so that results are always delivered in the correct order. If // enqueue has not been called before, then it is important to // call invoke immediately, without waiting on a callback to fire, // so that the async generator function has the opportunity to do // any necessary setup in a predictable way. This predictability // is why the Promise constructor synchronously invokes its // executor callback, and why async functions synchronously // execute code before the first await. Since we implement simple // async functions in terms of async generators, it is especially // important to get this right, even though it requires care. previousPromise ? previousPromise.then( callInvokeWithMethodAndArg, // Avoid propagating failures to Promises returned by later // invocations of the iterator. callInvokeWithMethodAndArg ) : callInvokeWithMethodAndArg(); } // Define the unified helper method that is used to implement .next, // .throw, and .return (see defineIteratorMethods). this._invoke = enqueue; } defineIteratorMethods(AsyncIterator.prototype); AsyncIterator.prototype[asyncIteratorSymbol] = function () { return this; }; exports.AsyncIterator = AsyncIterator; // Note that simple async functions are implemented on top of // AsyncIterator objects; they just return a Promise for the value of // the final result produced by the iterator. exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) { if (PromiseImpl === void 0) PromiseImpl = Promise; var iter = new AsyncIterator( wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl ); return exports.isGeneratorFunction(outerFn) ? iter // If outerFn is a generator, return the full iterator. : iter.next().then(function(result) { return result.done ? result.value : iter.next(); }); }; function makeInvokeMethod(innerFn, self, context) { var state = GenStateSuspendedStart; return function invoke(method, arg) { if (state === GenStateExecuting) { throw new Error("Generator is already running"); } if (state === GenStateCompleted) { if (method === "throw") { throw arg; } // Be forgiving, per 25.3.3.3.3 of the spec: // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume return doneResult(); } context.method = method; context.arg = arg; while (true) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if (context.method === "next") { // Setting context._sent for legacy support of Babel's // function.sent implementation. context.sent = context._sent = context.arg; } else if (context.method === "throw") { if (state === GenStateSuspendedStart) { state = GenStateCompleted; throw context.arg; } context.dispatchException(context.arg); } else if (context.method === "return") { context.abrupt("return", context.arg); } state = GenStateExecuting; var record = tryCatch(innerFn, self, context); if (record.type === "normal") { // If an exception is thrown from innerFn, we leave state === // GenStateExecuting and loop back for another invocation. state = context.done ? GenStateCompleted : GenStateSuspendedYield; if (record.arg === ContinueSentinel) { continue; } return { value: record.arg, done: context.done }; } else if (record.type === "throw") { state = GenStateCompleted; // Dispatch the exception by looping back around to the // context.dispatchException(context.arg) call above. context.method = "throw"; context.arg = record.arg; } } }; } // Call delegate.iterator[context.method](context.arg) and handle the // result, either by returning a { value, done } result from the // delegate iterator, or by modifying context.method and context.arg, // setting context.delegate to null, and returning the ContinueSentinel. function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (method === undefined) { // A .throw or .return when the delegate iterator has no .throw // method always terminates the yield* loop. context.delegate = null; if (context.method === "throw") { // Note: ["return"] must be used for ES3 parsing compatibility. if (delegate.iterator["return"]) { // If the delegate iterator has a return method, give it a // chance to clean up. context.method = "return"; context.arg = undefined; maybeInvokeDelegate(delegate, context); if (context.method === "throw") { // If maybeInvokeDelegate(context) changed context.method from // "return" to "throw", let that override the TypeError below. return ContinueSentinel; } } context.method = "throw"; context.arg = new TypeError( "The iterator does not provide a 'throw' method"); } return ContinueSentinel; } var record = tryCatch(method, delegate.iterator, context.arg); if (record.type === "throw") { context.method = "throw"; context.arg = record.arg; context.delegate = null; return ContinueSentinel; } var info = record.arg; if (! info) { context.method = "throw"; context.arg = new TypeError("iterator result is not an object"); context.delegate = null; return ContinueSentinel; } if (info.done) { // Assign the result of the finished delegate to the temporary // variable specified by delegate.resultName (see delegateYield). context[delegate.resultName] = info.value; // Resume execution at the desired location (see delegateYield). context.next = delegate.nextLoc; // If context.method was "throw" but the delegate handled the // exception, let the outer generator proceed normally. If // context.method was "next", forget context.arg since it has been // "consumed" by the delegate iterator. If context.method was // "return", allow the original .return call to continue in the // outer generator. if (context.method !== "return") { context.method = "next"; context.arg = undefined; } } else { // Re-yield the result returned by the delegate method. return info; } // The delegate iterator is finished, so forget it and continue with // the outer generator. context.delegate = null; return ContinueSentinel; } // Define Generator.prototype.{next,throw,return} in terms of the // unified ._invoke helper method. defineIteratorMethods(Gp); Gp[toStringTagSymbol] = "Generator"; // A Generator should always return itself as the iterator object when the // @@iterator function is called on it. Some browsers' implementations of the // iterator prototype chain incorrectly implement this, causing the Generator // object to not be returned from this call. This ensures that doesn't happen. // See https://github.com/facebook/regenerator/issues/274 for more details. Gp[iteratorSymbol] = function() { return this; }; Gp.toString = function() { return "[object Generator]"; }; function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; if (1 in locs) { entry.catchLoc = locs[1]; } if (2 in locs) { entry.finallyLoc = locs[2]; entry.afterLoc = locs[3]; } this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal"; delete record.arg; entry.completion = record; } function Context(tryLocsList) { // The root entry object (effectively a try statement without a catch // or a finally block) gives us a place to store values thrown from // locations where there is no enclosing try statement. this.tryEntries = [{ tryLoc: "root" }]; tryLocsList.forEach(pushTryEntry, this); this.reset(true); } exports.keys = function(object) { var keys = []; for (var key in object) { keys.push(key); } keys.reverse(); // Rather than returning an object with a next method, we keep // things simple and return the next function itself. return function next() { while (keys.length) { var key = keys.pop(); if (key in object) { next.value = key; next.done = false; return next; } } // To avoid creating an additional object, we just hang the .value // and .done properties off the next function object itself. This // also ensures that the minifier will not anonymize the function. next.done = true; return next; }; }; function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) { return iteratorMethod.call(iterable); } if (typeof iterable.next === "function") { return iterable; } if (!isNaN(iterable.length)) { var i = -1, next = function next() { while (++i < iterable.length) { if (hasOwn.call(iterable, i)) { next.value = iterable[i]; next.done = false; return next; } } next.value = undefined; next.done = true; return next; }; return next.next = next; } } // Return an iterator with no values. return { next: doneResult }; } exports.values = values; function doneResult() { return { value: undefined, done: true }; } Context.prototype = { constructor: Context, reset: function(skipTempReset) { this.prev = 0; this.next = 0; // Resetting context._sent for legacy support of Babel's // function.sent implementation. this.sent = this._sent = undefined; this.done = false; this.delegate = null; this.method = "next"; this.arg = undefined; this.tryEntries.forEach(resetTryEntry); if (!skipTempReset) { for (var name in this) { // Not sure about the optimal order of these conditions: if (name.charAt(0) === "t" && hasOwn.call(this, name) && !isNaN(+name.slice(1))) { this[name] = undefined; } } } }, stop: function() { this.done = true; var rootEntry = this.tryEntries[0]; var rootRecord = rootEntry.completion; if (rootRecord.type === "throw") { throw rootRecord.arg; } return this.rval; }, dispatchException: function(exception) { if (this.done) { throw exception; } var context = this; function handle(loc, caught) { record.type = "throw"; record.arg = exception; context.next = loc; if (caught) { // If the dispatched exception was caught by a catch block, // then let that catch block handle the exception normally. context.method = "next"; context.arg = undefined; } return !! caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; var record = entry.completion; if (entry.tryLoc === "root") { // Exception thrown outside of any try block that could handle // it, so set the completion value of the entire function to // throw the exception. return handle("end"); } if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"); var hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) { return handle(entry.catchLoc, true); } else if (this.prev < entry.finallyLoc) { return handle(entry.finallyLoc); } } else if (hasCatch) { if (this.prev < entry.catchLoc) { return handle(entry.catchLoc, true); } } else if (hasFinally) { if (this.prev < entry.finallyLoc) { return handle(entry.finallyLoc); } } else { throw new Error("try statement without catch or finally"); } } } }, abrupt: function(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } if (finallyEntry && (type === "break" || type === "continue") && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc) { // Ignore the finally entry if control is not jumping to a // location outside the try/catch block. finallyEntry = null; } var record = finallyEntry ? finallyEntry.completion : {}; record.type = type; record.arg = arg; if (finallyEntry) { this.method = "next"; this.next = finallyEntry.finallyLoc; return ContinueSentinel; } return this.complete(record); }, complete: function(record, afterLoc) { if (record.type === "throw") { throw record.arg; } if (record.type === "break" || record.type === "continue") { this.next = record.arg; } else if (record.type === "return") { this.rval = this.arg = record.arg; this.method = "return"; this.next = "end"; } else if (record.type === "normal" && afterLoc) { this.next = afterLoc; } return ContinueSentinel; }, finish: function(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) { this.complete(entry.completion, entry.afterLoc); resetTryEntry(entry); return ContinueSentinel; } } }, "catch": function(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if (record.type === "throw") { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } // The context.catch method must only be called with a location // argument that corresponds to a known catch block. throw new Error("illegal catch attempt"); }, delegateYield: function(iterable, resultName, nextLoc) { this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }; if (this.method === "next") { // Deliberately forget the last sent value so that we don't // accidentally pass it on to the delegate. this.arg = undefined; } return ContinueSentinel; } }; // Regardless of whether this script is executing as a CommonJS module // or not, return the runtime object so that we can declare the variable // regeneratorRuntime in the outer scope, which allows this module to be // injected easily by `bin/regenerator --include-runtime script.js`. return exports; }( // If this script is executing as a CommonJS module, use module.exports // as the regeneratorRuntime namespace. Otherwise create a new empty // object. Either way, the resulting object will be used to initialize // the regeneratorRuntime variable at the top of this file. true ? module.exports : undefined )); try { regeneratorRuntime = runtime; } catch (accidentalStrictMode) { // This module should not be running in strict mode, so the above // assignment should always work unless something is misconfigured. Just // in case runtime.js accidentally runs in strict mode, we can escape // strict mode using a global Function call. This could conceivably fail // if a Content Security Policy forbids using Function, but in that case // the proper solution is to fix the accidental strict mode problem. If // you've misconfigured your bundler to force strict mode and applied a // CSP to forbid Function, and you're not willing to fix either of those // problems, please detail your unique predicament in a GitHub issue. Function("r", "regeneratorRuntime = r")(runtime); } /***/ }), /***/ "c:\\Users\\zhaoxingju\\Desktop\\Test\\napi_test_suite\\entry\\src\\main\\js\\default\\pages\\index\\index.hml?entry": /*!**************************************************************************************************************!*\ !*** c:/Users/zhaoxingju/Desktop/Test/napi_test_suite/entry/src/main/js/default/pages/index/index.hml?entry ***! \**************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { var $app_template$ = __webpack_require__(/*! !./lib/json.js!./lib/template.js!./index.hml */ "./lib/json.js!./lib/template.js!c:\\Users\\zhaoxingju\\Desktop\\Test\\napi_test_suite\\entry\\src\\main\\js\\default\\pages\\index\\index.hml") var $app_style$ = __webpack_require__(/*! !./lib/json.js!./lib/style.js!./index.css */ "./lib/json.js!./lib/style.js!c:\\Users\\zhaoxingju\\Desktop\\Test\\napi_test_suite\\entry\\src\\main\\js\\default\\pages\\index\\index.css") var $app_script$ = __webpack_require__(/*! !./lib/script.js!./node_modules/babel-loader?presets[]=E:/tool/HOS-SDK/js/2.1.1.18/build-tools/ace-loader/node_modules/@babel/preset-env&plugins[]=E:/tool/HOS-SDK/js/2.1.1.18/build-tools/ace-loader/node_modules/@babel/plugin-transform-modules-commonjs&comments=false!./lib/resource-reference-script.js!./index.js */ "./lib/script.js!./node_modules/babel-loader/lib/index.js?presets[]=E:\\tool\\HOS-SDK\\js\\2.1.1.18\\build-tools\\ace-loader\\node_modules\\@babel\\preset-env&plugins[]=E:\\tool\\HOS-SDK\\js\\2.1.1.18\\build-tools\\ace-loader\\node_modules\\@babel\\plugin-transform-modules-commonjs&comments=false!./lib/resource-reference-script.js!c:\\Users\\zhaoxingju\\Desktop\\Test\\napi_test_suite\\entry\\src\\main\\js\\default\\pages\\index\\index.js") $app_define$('@app-component/index', [], function($app_require$, $app_exports$, $app_module$) { $app_script$($app_module$, $app_exports$, $app_require$) if ($app_exports$.__esModule && $app_exports$.default) { $app_module$.exports = $app_exports$.default } $app_module$.exports.template = $app_template$ $app_module$.exports.style = $app_style$ }) $app_bootstrap$('@app-component/index',undefined,undefined) /***/ }), /***/ "c:\\Users\\zhaoxingju\\Desktop\\Test\\napi_test_suite\\entry\\src\\main\\js\\test\\ExampleJsunit.test.js": /*!*****************************************************************************************************!*\ !*** c:/Users/zhaoxingju/Desktop/Test/napi_test_suite/entry/src/main/js/test/ExampleJsunit.test.js ***! \*****************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "./node_modules/@babel/runtime/helpers/interopRequireDefault.js"); var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/@babel/runtime/regenerator/index.js")); var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ "./node_modules/@babel/runtime/helpers/typeof.js")); var _newArrowCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/newArrowCheck */ "./node_modules/@babel/runtime/helpers/newArrowCheck.js")); var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ "./node_modules/@babel/runtime/helpers/asyncToGenerator.js")); var _system = _interopRequireDefault(requireModule("@system.app")); var _index = __webpack_require__(/*! deccjsunit/index */ "./node_modules/deccjsunit/index.js"); var _ohos = _interopRequireDefault(requireModule("@ohos.bundle_mgr")); (0, _index.describe)('appInfoTest', function () { (0, _index.it)('getPermissionDef_0100', 0, /*#__PURE__*/function () { var _ref = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(done) { var _this = this; return _regenerator["default"].wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: _ohos["default"].getPermissionDef('com.permission.CAMERA').then(function (infos) { (0, _newArrowCheck2["default"])(this, _this); (0, _index.expect)((0, _typeof2["default"])(infos)).assertEqual("object"); (0, _index.expect)(infos.name.length).assertLarger(0); (0, _index.expect)(infos.descriptionId.length).assertLarger(0); (0, _index.expect)(infos.grantMode.length).assertLarger(0); (0, _index.expect)(infos.availableScope.length).assertLarger(0); }.bind(this)); done(); case 2: case "end": return _context.stop(); } } }, _callee, this); })); return function (_x) { return _ref.apply(this, arguments); }; }()); (0, _index.it)('getPermissionDef_0200', 0, /*#__PURE__*/function () { var _ref2 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2(done) { var _this2 = this; return _regenerator["default"].wrap(function _callee2$(_context2) { while (1) { switch (_context2.prev = _context2.next) { case 0: _ohos["default"].getPermissionDef('com.permission.music').then(function (infos) { (0, _newArrowCheck2["default"])(this, _this2); (0, _index.expect)((0, _typeof2["default"])(infos)).assertEqual("object"); (0, _index.expect)(infos.name.length).assertLarger(0); (0, _index.expect)(infos.descriptionId.length).assertLarger(0); (0, _index.expect)(infos.grantMode.length).assertLarger(0); (0, _index.expect)(infos.availableScope.length).assertLarger(0); }.bind(this)); done(); case 2: case "end": return _context2.stop(); } } }, _callee2, this); })); return function (_x2) { return _ref2.apply(this, arguments); }; }()); (0, _index.it)('getPermissionDef_0300', 0, /*#__PURE__*/function () { var _ref3 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee3(done) { var _this3 = this; return _regenerator["default"].wrap(function _callee3$(_context3) { while (1) { switch (_context3.prev = _context3.next) { case 0: _ohos["default"].getPermissionDef('com.permission.WeChat').then(function (infos) { (0, _newArrowCheck2["default"])(this, _this3); (0, _index.expect)((0, _typeof2["default"])(infos)).assertEqual("object"); (0, _index.expect)(infos.name.length).assertLarger(0); (0, _index.expect)(infos.descriptionId.length).assertLarger(0); (0, _index.expect)(infos.grantMode.length).assertLarger(0); (0, _index.expect)(infos.availableScope.length).assertLarger(0); }.bind(this)); done(); case 2: case "end": return _context3.stop(); } } }, _callee3, this); })); return function (_x3) { return _ref3.apply(this, arguments); }; }()); (0, _index.it)('getPermissionDef_0400', 0, /*#__PURE__*/function () { var _ref4 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee4(done) { var _this4 = this; return _regenerator["default"].wrap(function _callee4$(_context4) { while (1) { switch (_context4.prev = _context4.next) { case 0: _ohos["default"].getPermissionDef('').then(function (infos) { (0, _newArrowCheck2["default"])(this, _this4); (0, _index.expect)((0, _typeof2["default"])(infos)).assertEqual("object"); (0, _index.expect)(infos.name.length).assertLarger(0); (0, _index.expect)(infos.descriptionId.length).assertEqual(0); (0, _index.expect)(infos.grantMode.length).assertEqual(0); (0, _index.expect)(infos.availableScope.length).assertEqual(0); }.bind(this)); done(); case 2: case "end": return _context4.stop(); } } }, _callee4, this); })); return function (_x4) { return _ref4.apply(this, arguments); }; }()); (0, _index.it)('getPermissionDef_0500', 0, /*#__PURE__*/function () { var _ref5 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee5(done) { var _this5 = this; return _regenerator["default"].wrap(function _callee5$(_context5) { while (1) { switch (_context5.prev = _context5.next) { case 0: _ohos["default"].getPermissionDef('error').then(function (infos) { (0, _newArrowCheck2["default"])(this, _this5); (0, _index.expect)((0, _typeof2["default"])(infos)).assertEqual("object"); (0, _index.expect)(infos.name.length).assertLarger(0); (0, _index.expect)(infos.descriptionId.length).assertEqual(0); (0, _index.expect)(infos.grantMode.length).assertEqual(0); (0, _index.expect)(infos.availableScope.length).assertEqual(0); }.bind(this)); done(); case 2: case "end": return _context5.stop(); } } }, _callee5, this); })); return function (_x5) { return _ref5.apply(this, arguments); }; }()); (0, _index.it)('getPermissionDef_0600', 0, /*#__PURE__*/function () { var _ref6 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee6(done) { var OnReceiveEvent; return _regenerator["default"].wrap(function _callee6$(_context6) { while (1) { switch (_context6.prev = _context6.next) { case 0: OnReceiveEvent = function _OnReceiveEvent(data) { (0, _index.expect)(data.name.length).assertLarger(0); (0, _index.expect)(data.descriptionId.length).assertEqual(0); (0, _index.expect)(data.grantMode.length).assertLarger(0); (0, _index.expect)(data.availableScope.length).assertLarger(0); }; _ohos["default"].getPermissionDef('com.permission.CAMERA', OnReceiveEvent); done(); case 3: case "end": return _context6.stop(); } } }, _callee6); })); return function (_x6) { return _ref6.apply(this, arguments); }; }()); (0, _index.it)('getPermissionDef_0700', 0, /*#__PURE__*/function () { var _ref7 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee7(done) { var OnReceiveEvent; return _regenerator["default"].wrap(function _callee7$(_context7) { while (1) { switch (_context7.prev = _context7.next) { case 0: OnReceiveEvent = function _OnReceiveEvent2(data) { (0, _index.expect)(data.name.length).assertLarger(0); (0, _index.expect)(data.descriptionId.length).assertEqual(0); (0, _index.expect)(data.grantMode.length).assertLarger(0); (0, _index.expect)(data.availableScope.length).assertLarger(0); }; _ohos["default"].getPermissionDef('com.permission.CAMERA', OnReceiveEvent); _ohos["default"].getPermissionDef('com.permission.music', OnReceiveEvent); done(); case 4: case "end": return _context7.stop(); } } }, _callee7); })); return function (_x7) { return _ref7.apply(this, arguments); }; }()); (0, _index.it)('getPermissionDef_0800', 0, /*#__PURE__*/function () { var _ref8 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee8(done) { var OnReceiveEvent; return _regenerator["default"].wrap(function _callee8$(_context8) { while (1) { switch (_context8.prev = _context8.next) { case 0: OnReceiveEvent = function _OnReceiveEvent3(data) { (0, _index.expect)(data.name.length).assertLarger(0); (0, _index.expect)(data.descriptionId.length).assertEqual(0); (0, _index.expect)(data.grantMode.length).assertLarger(0); (0, _index.expect)(data.availableScope.length).assertLarger(0); }; _ohos["default"].getPermissionDef('com.permission.CAMERA', OnReceiveEvent); _ohos["default"].getPermissionDef('com.permission.music', OnReceiveEvent); _ohos["default"].getPermissionDef('com.permission.WeChat', OnReceiveEvent); done(); case 5: case "end": return _context8.stop(); } } }, _callee8); })); return function (_x8) { return _ref8.apply(this, arguments); }; }()); (0, _index.it)('getPermissionDef_0900', 0, /*#__PURE__*/function () { var _ref9 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee9(done) { var OnReceiveEvent; return _regenerator["default"].wrap(function _callee9$(_context9) { while (1) { switch (_context9.prev = _context9.next) { case 0: OnReceiveEvent = function _OnReceiveEvent4(data) { (0, _index.expect)((0, _typeof2["default"])(data)).assertEqual("object"); (0, _index.expect)(data.name.length).assertEqual(0); (0, _index.expect)(data.bundleName.length).assertEqual(0); (0, _index.expect)(data.descriptionId.length).assertEqual(0); (0, _index.expect)(data.grantMode.length).assertEqual(0); (0, _index.expect)(data.availableScope.length).assertEqual(0); }; _ohos["default"].getPermissionDef('', OnReceiveEvent); done(); case 3: case "end": return _context9.stop(); } } }, _callee9); })); return function (_x9) { return _ref9.apply(this, arguments); }; }()); (0, _index.it)('getPermissionDef_1000', 0, /*#__PURE__*/function () { var _ref10 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee10(done) { var OnReceiveEvent; return _regenerator["default"].wrap(function _callee10$(_context10) { while (1) { switch (_context10.prev = _context10.next) { case 0: OnReceiveEvent = function _OnReceiveEvent5(data) { (0, _index.expect)((0, _typeof2["default"])(data)).assertEqual("object"); (0, _index.expect)(data.name.length).assertEqual(0); (0, _index.expect)(data.bundleName.length).assertEqual(0); (0, _index.expect)(data.descriptionId.length).assertEqual(0); (0, _index.expect)(data.grantMode.length).assertEqual(0); (0, _index.expect)(data.availableScope.length).assertEqual(0); }; _ohos["default"].getPermissionDef('error', OnReceiveEvent); done(); case 3: case "end": return _context10.stop(); } } }, _callee10); })); return function (_x10) { return _ref10.apply(this, arguments); }; }()); (0, _index.it)('install_0600', 0, /*#__PURE__*/function () { var _ref11 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee11(done) { var _this6 = this; return _regenerator["default"].wrap(function _callee11$(_context11) { while (1) { switch (_context11.prev = _context11.next) { case 0: _ohos["default"].getBundleInstaller().then(function (data) { (0, _newArrowCheck2["default"])(this, _this6); data.install(['/data/abc1.hap'], { param: { userId: 0, isKeepData: false } }, OnReceiveinstallEvent); function OnReceiveinstallEvent(data) { (0, _index.expect)((0, _typeof2["default"])(data)).assertEqual("object"); (0, _index.expect)(data.status).assertEqual(0); (0, _index.expect)(data.statusMessage).assertEqual("SUCCESS"); } }.bind(this)); done(); case 2: case "end": return _context11.stop(); } } }, _callee11, this); })); return function (_x11) { return _ref11.apply(this, arguments); }; }()); (0, _index.it)('install_0700', 0, /*#__PURE__*/function () { var _ref12 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee12(done) { var _this7 = this; return _regenerator["default"].wrap(function _callee12$(_context12) { while (1) { switch (_context12.prev = _context12.next) { case 0: _ohos["default"].getBundleInstaller().then(function (data) { (0, _newArrowCheck2["default"])(this, _this7); data.install(['/data/abc2.hap'], { param: { userId: 0, isKeepData: false } }, OnReceiveinstallEvent); data.install(['/data/abc3.hap'], { param: { userId: 0, isKeepData: false } }, OnReceiveinstallEvent); function OnReceiveinstallEvent(infos) { (0, _index.expect)((0, _typeof2["default"])(infos)).assertEqual("object"); (0, _index.expect)(infos.status).assertEqual(0); (0, _index.expect)(infos.statusMessage).assertEqual("SUCCESS"); } }.bind(this)); done(); case 2: case "end": return _context12.stop(); } } }, _callee12, this); })); return function (_x12) { return _ref12.apply(this, arguments); }; }()); (0, _index.it)('install_0800', 0, /*#__PURE__*/function () { var _ref13 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee13(done) { var _this8 = this; return _regenerator["default"].wrap(function _callee13$(_context13) { while (1) { switch (_context13.prev = _context13.next) { case 0: _ohos["default"].getBundleInstaller().then(function (data) { (0, _newArrowCheck2["default"])(this, _this8); data.install(['/data/abc4.hap'], { param: { userId: 0, isKeepData: false } }, OnReceiveinstallEvent); data.install(['/data/abc5.hap'], { param: { userId: 0, isKeepData: false } }, OnReceiveinstallEvent); data.install(['/data/abc6.hap'], { param: { userId: 0, isKeepData: false } }, OnReceiveinstallEvent); function OnReceiveinstallEvent(infos) { (0, _index.expect)((0, _typeof2["default"])(infos)).assertEqual("object"); (0, _index.expect)(infos.status).assertEqual(0); (0, _index.expect)(infos.statusMessage).assertEqual("SUCCESS"); } }.bind(this)); done(); case 2: case "end": return _context13.stop(); } } }, _callee13, this); })); return function (_x13) { return _ref13.apply(this, arguments); }; }()); (0, _index.it)('install_0900', 0, /*#__PURE__*/function () { var _ref14 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee14(done) { var _this9 = this; return _regenerator["default"].wrap(function _callee14$(_context14) { while (1) { switch (_context14.prev = _context14.next) { case 0: console.info("neu========================getBundleManager: for begin"); _ohos["default"].getBundleInstaller().then(function (data) { (0, _newArrowCheck2["default"])(this, _this9); data.install([''], { param: { userId: 0, isKeepData: false } }, OnReceiveinstallEvent); function OnReceiveinstallEvent(data) { (0, _index.expect)((0, _typeof2["default"])(data)).assertEqual("object"); (0, _index.expect)(data.status).assertEqual(0); (0, _index.expect)(data.statusMessage).assertEqual("STATUS_INSTALL_FAILURE_INVALID"); } }.bind(this)); done(); case 3: case "end": return _context14.stop(); } } }, _callee14, this); })); return function (_x14) { return _ref14.apply(this, arguments); }; }()); (0, _index.it)('install_1000', 0, /*#__PURE__*/function () { var _ref15 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee15(done) { var _this10 = this; return _regenerator["default"].wrap(function _callee15$(_context15) { while (1) { switch (_context15.prev = _context15.next) { case 0: _ohos["default"].getBundleInstaller().then(function (data) { (0, _newArrowCheck2["default"])(this, _this10); data.install(['ERROR'], { param: { userId: 0, isKeepData: false } }, OnReceiveinstallEvent); function OnReceiveinstallEvent(data) { (0, _index.expect)((0, _typeof2["default"])(data)).assertEqual("object"); (0, _index.expect)(data.status).assertEqual(0); (0, _index.expect)(data.statusMessage).assertEqual("STATUS_INSTALL_FAILURE_INVALID"); } }.bind(this)); done(); case 2: case "end": return _context15.stop(); } } }, _callee15, this); })); return function (_x15) { return _ref15.apply(this, arguments); }; }()); (0, _index.it)('uninstall_0600', 0, /*#__PURE__*/function () { var _ref16 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee16(done) { var _this11 = this; return _regenerator["default"].wrap(function _callee16$(_context16) { while (1) { switch (_context16.prev = _context16.next) { case 0: _ohos["default"].getBundleInstaller().then(function (data) { (0, _newArrowCheck2["default"])(this, _this11); data.uninstall('com.example.myapplication1', { param: { userId: 0, isKeepData: false } }, OnReceiveinstallEvent); function OnReceiveinstallEvent(data) { (0, _index.expect)((0, _typeof2["default"])(data)).assertEqual("object"); (0, _index.expect)(data.status).assertEqual(0); (0, _index.expect)(data.statusMessage).assertEqual("SUCCESS"); } }.bind(this)); done(); case 2: case "end": return _context16.stop(); } } }, _callee16, this); })); return function (_x16) { return _ref16.apply(this, arguments); }; }()); (0, _index.it)('uninstall_0700', 0, /*#__PURE__*/function () { var _ref17 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee17(done) { var _this12 = this; return _regenerator["default"].wrap(function _callee17$(_context17) { while (1) { switch (_context17.prev = _context17.next) { case 0: _ohos["default"].getBundleInstaller().then(function (data) { (0, _newArrowCheck2["default"])(this, _this12); data.uninstall('com.example.myapplication2', { param: { userId: 0, isKeepData: false } }, OnReceiveinstallEvent); data.uninstall('com.example.myapplication3', { param: { userId: 0, isKeepData: false } }, OnReceiveinstallEvent); function OnReceiveinstallEvent(data) { (0, _index.expect)((0, _typeof2["default"])(data)).assertEqual("object"); (0, _index.expect)(data.status).assertEqual(0); (0, _index.expect)(data.statusMessage).assertEqual("SUCCESS"); } }.bind(this)); done(); case 2: case "end": return _context17.stop(); } } }, _callee17, this); })); return function (_x17) { return _ref17.apply(this, arguments); }; }()); (0, _index.it)('uninstall_0800', 0, /*#__PURE__*/function () { var _ref18 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee18(done) { var _this13 = this; return _regenerator["default"].wrap(function _callee18$(_context18) { while (1) { switch (_context18.prev = _context18.next) { case 0: _ohos["default"].getBundleInstaller().then(function (data) { (0, _newArrowCheck2["default"])(this, _this13); data.uninstall('com.example.myapplication4', { param: { userId: 0, isKeepData: false } }, OnReceiveinstallEvent); data.uninstall('com.example.myapplication5', { param: { userId: 0, isKeepData: false } }, OnReceiveinstallEvent); data.uninstall('com.example.myapplication6', { param: { userId: 0, isKeepData: false } }, OnReceiveinstallEvent); function OnReceiveinstallEvent(data) { (0, _index.expect)((0, _typeof2["default"])(data)).assertEqual("object"); (0, _index.expect)(data.status).assertEqual(0); (0, _index.expect)(data.statusMessage).assertEqual("SUCCESS"); } }.bind(this)); done(); case 2: case "end": return _context18.stop(); } } }, _callee18, this); })); return function (_x18) { return _ref18.apply(this, arguments); }; }()); (0, _index.it)('uninstall_0900', 0, /*#__PURE__*/function () { var _ref19 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee19(done) { var _this14 = this; return _regenerator["default"].wrap(function _callee19$(_context19) { while (1) { switch (_context19.prev = _context19.next) { case 0: _ohos["default"].getBundleInstaller().then(function (data) { (0, _newArrowCheck2["default"])(this, _this14); data.uninstall('', { param: { userId: 0, isKeepData: false } }, OnReceiveinstallEvent); function OnReceiveinstallEvent(data) { (0, _index.expect)((0, _typeof2["default"])(data)).assertEqual("object"); (0, _index.expect)(data.status).assertEqual(0); (0, _index.expect)(data.statusMessage).assertEqual("STATUS_UNINSTALL_FAILURE_ABORTED"); } }.bind(this)); done(); case 2: case "end": return _context19.stop(); } } }, _callee19, this); })); return function (_x19) { return _ref19.apply(this, arguments); }; }()); (0, _index.it)('uninstall_1000', 0, /*#__PURE__*/function () { var _ref20 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee20(done) { var _this15 = this; return _regenerator["default"].wrap(function _callee20$(_context20) { while (1) { switch (_context20.prev = _context20.next) { case 0: _ohos["default"].getBundleInstaller().then(function (data) { (0, _newArrowCheck2["default"])(this, _this15); data.uninstall('', { param: { userId: 0, isKeepData: false } }, OnReceiveinstallEvent); function OnReceiveinstallEvent(data) { (0, _index.expect)((0, _typeof2["default"])(data)).assertEqual("object"); (0, _index.expect)(data.status).assertEqual(0); (0, _index.expect)(data.statusMessage).assertEqual("STATUS_UNINSTALL_FAILURE_ABORTED"); } }.bind(this)); done(); case 2: case "end": return _context20.stop(); } } }, _callee20, this); })); return function (_x20) { return _ref20.apply(this, arguments); }; }()); }); function requireModule(moduleName) { const systemList = ['system.router', 'system.app', 'system.prompt', 'system.configuration', 'system.image', 'system.device', 'system.mediaquery', 'system.animator', 'system.grid', 'system.resource'] var target = '' if (systemList.includes(moduleName.replace('@', ''))) { target = $app_require$(moduleName.replace(/@/, '@app-module/')); if (typeof target !== 'undefined') { return target; } } var shortName = moduleName.replace(/@[^.]+.([^.]+)/, '$1'); if (typeof systemplugin !== 'undefined') { target = systemplugin; for (let key of shortName.split('.')) { target = target[key]; if(!target) { break; } } if (typeof target !== 'undefined') { return target; } } target = requireNapi(shortName); return target; } /***/ }), /***/ "c:\\Users\\zhaoxingju\\Desktop\\Test\\napi_test_suite\\entry\\src\\main\\js\\test\\List.test.js": /*!********************************************************************************************!*\ !*** c:/Users/zhaoxingju/Desktop/Test/napi_test_suite/entry/src/main/js/test/List.test.js ***! \********************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; __webpack_require__(/*! ./ExampleJsunit.test.js */ "c:\\Users\\zhaoxingju\\Desktop\\Test\\napi_test_suite\\entry\\src\\main\\js\\test\\ExampleJsunit.test.js"); function requireModule(moduleName) { const systemList = ['system.router', 'system.app', 'system.prompt', 'system.configuration', 'system.image', 'system.device', 'system.mediaquery', 'system.animator', 'system.grid', 'system.resource'] var target = '' if (systemList.includes(moduleName.replace('@', ''))) { target = $app_require$(moduleName.replace(/@/, '@app-module/')); if (typeof target !== 'undefined') { return target; } } var shortName = moduleName.replace(/@[^.]+.([^.]+)/, '$1'); if (typeof systemplugin !== 'undefined') { target = systemplugin; for (let key of shortName.split('.')) { target = target[key]; if(!target) { break; } } if (typeof target !== 'undefined') { return target; } } target = requireNapi(shortName); return target; } /***/ }) /******/ }); //# sourceMappingURL=index.js.mapPK !:[* uu*assets/js/default/pages/index/index.js.map{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///c:/Users/zhaoxingju/Desktop/Test/napi_test_suite/entry/src/main/js/default/pages/index/index.css","webpack:///c:/Users/zhaoxingju/Desktop/Test/napi_test_suite/entry/src/main/js/default/pages/index/index.hml?6d15","webpack:///c:/Users/zhaoxingju/Desktop/Test/napi_test_suite/entry/src/main/js/default/pages/index/index.js","webpack:///./node_modules/@babel/runtime/helpers/asyncToGenerator.js","webpack:///./node_modules/@babel/runtime/helpers/interopRequireDefault.js","webpack:///./node_modules/@babel/runtime/helpers/newArrowCheck.js","webpack:///./node_modules/@babel/runtime/helpers/typeof.js","webpack:///./node_modules/@babel/runtime/regenerator/index.js","webpack:///./node_modules/deccjsunit/index.js","webpack:///./node_modules/deccjsunit/src/core.js","webpack:///./node_modules/deccjsunit/src/event.js","webpack:///./node_modules/deccjsunit/src/interface.js","webpack:///./node_modules/deccjsunit/src/module/assert/ExpectExtend.js","webpack:///./node_modules/deccjsunit/src/module/assert/assertClose.js","webpack:///./node_modules/deccjsunit/src/module/assert/assertContain.js","webpack:///./node_modules/deccjsunit/src/module/assert/assertFail.js","webpack:///./node_modules/deccjsunit/src/module/assert/assertFalse.js","webpack:///./node_modules/deccjsunit/src/module/assert/assertInstanceOf.js","webpack:///./node_modules/deccjsunit/src/module/assert/assertLarger.js","webpack:///./node_modules/deccjsunit/src/module/assert/assertLess.js","webpack:///./node_modules/deccjsunit/src/module/assert/assertNull.js","webpack:///./node_modules/deccjsunit/src/module/assert/assertThrowError.js","webpack:///./node_modules/deccjsunit/src/module/assert/assertUndefined.js","webpack:///./node_modules/deccjsunit/src/module/report/InstrumentLog.js","webpack:///./node_modules/deccjsunit/src/module/report/ReportExtend.js","webpack:///./node_modules/deccjsunit/src/service.js","webpack:///./node_modules/regenerator-runtime/runtime.js","webpack:///c:/Users/zhaoxingju/Desktop/Test/napi_test_suite/entry/src/main/js/default/pages/index/index.hml","webpack:///c:/Users/zhaoxingju/Desktop/Test/napi_test_suite/entry/src/main/js/test/ExampleJsunit.test.js","webpack:///c:/Users/zhaoxingju/Desktop/Test/napi_test_suite/entry/src/main/js/test/List.test.js"],"names":["data","title","onInit","$t","onShow","console","info","core","Core","getInstance","expectExtend","ExpectExtend","reportExtend","ReportExtend","file","addService","init","configService","getDefaultService","setConfig","require","execute","onReady","done","demo","getPermissionDef","then","infos","assertEqual","name","length","assertLarger","descriptionId","grantMode","availableScope","OnReceiveEvent","bundleName","getBundleInstaller","install","param","userId","isKeepData","OnReceiveinstallEvent","status","statusMessage","uninstall"],"mappings":";QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAA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;;;;;;;;;;ACNf;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;;AAEA,mC;;;;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;;AAEA,wC;;;;;;;;;;;ACNA;AACA;AACA;AACA;AACA;;AAEA,gC;;;;;;;;;;;ACNA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;;AAEA,yB;;;;;;;;;;;AChBA,iBAAiB,mBAAO,CAAC,0EAAqB;;;;;;;;;;;;;ACA9C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAC6B;AACgC;AACF;AACA;AACuC;;AAQjG;;;;;;;;;;;;;AC1BD;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACkG;AACxC;;AAE1D;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,eAAe;AACf,cAAc;AACd,gBAAgB;AAChB,gBAAgB;AAChB,aAAa;AACb;;AAEA;AACA;AACA;AACA,mBAAmB;AACnB,kBAAkB;AAClB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,iCAAiC,qDAAY,EAAE,gBAAgB;AAC/D,gCAAgC,oDAAW,EAAE,gBAAgB;AAC7D,kCAAkC,sDAAa,EAAE,gBAAgB;AACjE,kCAAkC,sDAAa,EAAE,gBAAgB;AACjE,kCAAkC,sDAAa,EAAE,gBAAgB;AACjE,mCAAmC,gDAAS,EAAE,mCAAmC;AACjF,oCAAoC,iDAAU,EAAE,mCAAmC;AACnF,mCAAmC,gDAAS,EAAE,mCAAmC;AACjF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEe,mEAAI;;;;;;;;;;;;;AC/InB;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAE2C;;;;;;;;;;;;;ACtF3C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACyB;AACzB,aAAa,6CAAI;;AAEjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAIC;;;;;;;;;;;;;AC9DD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACqC;AACE;AACI;AACN;AACI;AACJ;AACU;AACR;AACU;AACA;;AAEjD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,+BAA+B,mDAAU;AACzC,gCAAgC,oDAAW;AAC3C,kCAAkC,sDAAa;AAC/C,+BAA+B,mDAAU;AACzC,iCAAiC,qDAAY;AAC7C,+BAA+B,mDAAU;AACzC,oCAAoC,wDAAe;AACnD,gCAAgC,oDAAW;AAC3C,qCAAqC,yDAAgB;AACrD,qCAAqC,yDAAgB;AACrD;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEe,2EAAY;;;;;;;;;;;;;AChE3B;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEe,0EAAW;;;;;;;;;;;;;AC/B1B;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,4EAAa;;;;;;;;;;;;;AC1C5B;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;;AAEe,yEAAU;;;;;;;;;;;;;AC5BzB;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;;AAEe,0EAAW;;;;;;;;;;;;;AC3B1B;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,cAAc,+BAA+B,EAAE;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACe,+EAAgB;;;;;;;;;;;;;ACjC/B;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,iBAAiB,+BAA+B,EAAE;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACe,2EAAY;;;;;;;;;;;;;AC3B3B;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,yEAAU;;;;;;;;;;;;;ACpBzB;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEe,yEAAU;;;;;;;;;;;;;ACrBzB;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEe,+EAAgB;;;;;;;;;;;;;AChD/B;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEe,8EAAe;;;;;;;;;;;;;ACrB9B;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACe,4EAAa;;;;;;;;;;;;;ACrI5B;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,WAAW;AACX;AACA;AACA;AACA,4JAA4J;AAC5J,aAAa;AACb;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,qBAAqB,IAAI,IAAI,UAAU;AACvC;AACA;AACA,gBAAgB,QAAQ,EAAE,QAAQ;AAClC,2BAA2B,YAAY,IAAI,QAAQ;AACnD;AACA;AACe,2EAAY;;;;;;;;;;;;;ACvI3B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,OAAO;AACP;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA,gCAAgC;AAChC;AACA;;AAEA;AACA;AACA;AACA,8CAA8C;AAC9C;AACA;;AAEA;AACA;AACA;AACA;AACA,0CAA0C,oBAAoB;AAC9D;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,kCAAkC;AACvD;AACA;AACA,uBAAuB,kBAAkB;AACzC;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,OAAO;AACP;AACA;AACA,OAAO;AACP;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,uBAAuB,uBAAuB;AAC9C;AACA;AACA;AACA;AACA;;AAEA;AACA,uBAAuB,6BAA6B;AACpD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA,uBAAuB,2BAA2B;AAClD;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC,mDAAmD;AAC1F;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA,aAAa;AACb,kDAAkD,QAAQ,kBAAkB,mBAAmB;AAC/F;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP,uDAAuD;AACvD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,mDAAmD,2HAA2H;AAC9K;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,qCAAqC;AACrC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA,kCAAkC;AAClC;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAQC;;;;;;;;;;;;ACvpBD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,gBAAgB;AAChB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd,KAAK;AACL,cAAc;AACd;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,yDAAyD;AACzD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,WAAW;AACX;;AAEA;AACA;AACA,wCAAwC,WAAW;AACnD;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,2BAA2B;AAC3B;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,SAAS;AACT;AACA;AACA;AACA;;AAEA;;AAEA,SAAS;AACT;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,oCAAoC,cAAc;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,iCAAiC,kBAAkB;AACnD;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,iBAAiB;;AAEjB;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,wBAAwB,iBAAiB;AACzC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,YAAY;AACZ;AACA;;AAEA;AACA,YAAY;AACZ;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,8CAA8C,QAAQ;AACtD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,aAAa;AACb;AACA;;AAEA,WAAW;AACX;AACA;AACA;;AAEA,WAAW;AACX;AACA;AACA;;AAEA,WAAW;AACX;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,8CAA8C,QAAQ;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA,KAAK;;AAEL;AACA,8CAA8C,QAAQ;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA,8CAA8C,QAAQ;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;A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AAgBH,CAlTD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACJAH,mBAAO,CAAC,yIAAD,CAAP","file":"./pages/index/index.js","sourceRoot":""}PK !:Hv|| classes.dexdex 038HMRtu?" \D>iE|pxV4%p 8\ +V!3?Sau    x   !"   !m X #q j\p `p \p do joop so   <<<  BUILD_TYPEBuildConfig.javaCOMPILE_SDK_VERSIONDEBUGI(Lcom/example/myapplication1/BuildConfig;*Lcom/example/myapplication1/ResourceTable;)Lcom/example/napi_test_suite/MainAbility;+Lcom/example/napi_test_suite/MyApplication;Ljava/lang/Boolean;Ljava/lang/Object;Ljava/lang/String;#Lohos/aafwk/ability/AbilityPackage;Lohos/aafwk/content/Intent;Lohos/ace/ability/AceAbility;MainAbility.java Media_iconMyApplication.java PACKAGE_NAMEResourceTable.javaString_app_nameString_mainability_descriptionVVLZZLcom.example.myapplication1debugintent onInitializeonStartonStop parseBooleantrueY~~D8{"compilation-mode":"debug","min-api":26,"sha-1":"engineering","version":"1.5.13-q1"}ddd%p 8\   Xx % m PK !:.D config.json{"app": {"apiVersion": {"compatible": 5,"releaseType": "Beta1","target": 5},"vendor": "example","bundleName": "com.example.napi_test_suite","version": {"code": 1,"name": "1.0"}},"deviceConfig": {"default": {"debug": true}},"module": {"abilities": [{"iconId": 16777218,"skills": [{"entities": ["entity.system.home","flag.hw.home.intent.from.system"],"actions": ["action.system.home"]}],"descriptionId": 16777217,"icon": "$media:icon","name": "com.example.napi_test_suite.MainAbility","description": "$string:mainability_description","label": "MyApplication","type": "page","launchType": "standard"}],"deviceType": ["phone"],"distro": {"moduleType": "entry","deliveryWithInstall": true,"moduleName": "entry"},"package": "com.example.myapplication1","defPermissions": [{"availableScope": ["signature"],"grantMode": "system_grant","name": "com.permission.CAMERA","description": "CAMERA permission in detail","label": "CAMERA permission"},{"availableScope": ["signature"],"grantMode": "system_grant","name": "com.permission.music","description": "music permission in detail","label": "music permission"},{"availableScope": ["signature"],"grantMode": "system_grant","name": "com.permission.WeChat","description": "WeChat permission in detail","label": "WeChat permission"}],"name": ".BuildConfig","js": [{"pages": ["pages/index/index"],"name": "default","window": {"designWidth": 720,"autoDesignWidth": false}}]}} ]  u 0 Y *H  J0 F10  `He0 *H {"version-name":"1.0.0","version-code":1,"app-distribution-type":"os_integration","uuid":"5027b99e-5f9e-465d-9508-a9e0134ffe18","validity":{"not-before":1619349219,"not-after":1934709219},"type":"release","bundle-info":{"developer-id":"ohosdeveloper","distribution-certificate":"-----BEGIN CERTIFICATE-----\nMIICMzCCAbegAwIBAgIEaOC/zDAMBggqhkjOPQQDAwUAMGMxCzAJBgNVBAYTAkNO\nMRQwEgYDVQQKEwtPcGVuSGFybW9ueTEZMBcGA1UECxMQT3Blbkhhcm1vbnkgVGVh\nbTEjMCEGA1UEAxMaT3Blbkhhcm1vbnkgQXBwbGljYXRpb24gQ0EwHhcNMjEwMjAy\nMTIxOTMxWhcNNDkxMjMxMTIxOTMxWjBoMQswCQYDVQQGEwJDTjEUMBIGA1UEChML\nT3Blbkhhcm1vbnkxGTAXBgNVBAsTEE9wZW5IYXJtb255IFRlYW0xKDAmBgNVBAMT\nH09wZW5IYXJtb255IEFwcGxpY2F0aW9uIFJlbGVhc2UwWTATBgcqhkjOPQIBBggq\nhkjOPQMBBwNCAATbYOCQQpW5fdkYHN45v0X3AHax12jPBdEDosFRIZ1eXmxOYzSG\nJwMfsHhUU90E8lI0TXYZnNmgM1sovubeQqATo1IwUDAfBgNVHSMEGDAWgBTbhrci\nFtULoUu33SV7ufEFfaItRzAOBgNVHQ8BAf8EBAMCB4AwHQYDVR0OBBYEFPtxruhl\ncRBQsJdwcZqLu9oNUVgaMAwGCCqGSM49BAMDBQADaAAwZQIxAJta0PQ2p4DIu/ps\nLMdLCDgQ5UH1l0B4PGhBlMgdi2zf8nk9spazEQI/0XNwpft8QAIwHSuA2WelVi/o\nzAlF08DnbJrOOtOnQq5wHOPlDYB4OtUzOYJk9scotrEnJxJzGsh/\n-----END CERTIFICATE-----\n","bundle-name":"com.ohos.systemui","app-feature":"ohos_system_app"},"permissions":{"restricted-permissions":[]},"issuer":"pki_internal"}0<07m0 *H=0c1 0 UCN10U  OpenHarmony10U OpenHarmony Team1#0!UOpenHarmony Application CA0 210202122105Z 491231122105Z0p1 0 UCN10U  OpenHarmony10U OpenHarmony Team100.U'OpenHarmony Application Profile Release0Y0*H=*H=BW빦Aqɒ(F7 *ČM7n+T?ȠQ Ó4nR0P0U#0ۆ" K%{}-G0U0Ua齧zNϕ_ R0 *H=i0f1 byH$BehwF>좘Bdf6`1jz :A$]L!O0D&RC$5xs~0D0ɠ80 *H=0h1 0 UCN10U  OpenHarmony10U OpenHarmony Team1(0&UOpenHarmony Application Root CA0 210202121418Z 491231121418Z0h1 0 UCN10U  OpenHarmony10U OpenHarmony Team1(0&UOpenHarmony Application Root CA0v0*H=+"bM6yk J(ocAmK{- vYY[@YGMGpB_T cG ޸_&r )QsYI~7GB0@0U00U0U:|Oј'Zw0 *H=g0d0wZw'1w>X' :*5z\-o#iY't0$$o]#R0J?yDuEpv0qOy֧+G0a0e=0 *H=0h1 0 UCN10U  OpenHarmony10U OpenHarmony Team1(0&UOpenHarmony Application Root CA0 210202121532Z 491231121532Z0c1 0 UCN10U  OpenHarmony10U OpenHarmony Team1#0!UOpenHarmony Application CA0v0*H=+"b!ǝ5ʤ_A%'tC'֓ 7~pX~pvR0Wڗ(6P›ј!`+-Uc0a0U#0:|Oј'Zw0U00U0Uۆ" K%{}-G0 *H=h0e0m^8t:h_6}fOHU߉hI1ow:rR&-XŖl;NrapYtg4;.1B0>0k0c1 0 UCN10U  OpenHarmony10U OpenHarmony Team1#0!UOpenHarmony Application CA7m0  `Hei0 *H  1  *H 0 *H  1 210425111339Z0/ *H  1" fڸ]ۤ3VaD6GL0 *H=F0D Pq'=[HW(m_ DoxcO0.VZy ?YU B1>Çi"y F0 *H 010  `He0C *H 64( G6 m5sE\~$Qzɡ/M7030h0 *H=0c1 0 UCN10U  OpenHarmony10U OpenHarmony Team1#0!UOpenHarmony Application CA0 210202121931Z 491231121931Z0h1 0 UCN10U  OpenHarmony10U OpenHarmony Team1(0&UOpenHarmony Application Release0Y0*H=*H=B`B}9EvhQ!^^lNc4'xTSR4Mv٠3[(BR0P0U#0ۆ" K%{}-G0U0UqeqPpq QX0 *H=h0e1Z6Ȼl,K8A@xX' :*5z\-o#iY't0$$o]#R0J?yDuEpv0qOy֧+G0a0e=0 *H=0h1 0 UCN10U  OpenHarmony10U OpenHarmony Team1(0&UOpenHarmony Application Root CA0 210202121532Z 491231121532Z0c1 0 UCN10U  OpenHarmony10U OpenHarmony Team1#0!UOpenHarmony Application CA0v0*H=+"b!ǝ5ʤ_A%'tC'֓ 7~pX~pvR0Wڗ(6P›ј!`+-Uc0a0U#0:|Oј'Zw0U00U0Uۆ" K%{}-G0 *H=h0e0m^8t:h_6}fOHU߉hI1ow:rR&-XŖl;NrapYtg4;.1E0A0k0c1 0 UCN10U  OpenHarmony10U OpenHarmony Team1#0!UOpenHarmony Application CAh0  `Hei0 *H  1  *H 0 *H  1 210527093420Z0/ *H  1" @͜ d..7?y>ݰ0 *H=G0E 8EN꿮$~N\F;Du!4iFpԝV:-yGe%6HAP Sig Block 42PK !:Z]]assets/entry/resources.indexPK !:0assets/entry/resources/base/media/attributes.keyPK !:/assets/entry/resources/base/media/constants.keyPK !:.=assets/entry/resources/base/media/contents.keyPK !:Mذ*assets/entry/resources/base/media/icon.pngPK !:+assets/entry/resources/base/media/nodes.keyPK !:өip))assets/js/default/app.jsPK !:ێYp&Eassets/js/default/app.js.mapPK !:38k00!3Jassets/js/default/i18n/en-US.jsonPK !:鼞22!Jassets/js/default/i18n/zh-CN.jsonPK !:YaKassets/js/default/manifest.jsonPK !:**&DLassets/js/default/pages/index/index.jsPK !:[* uu*cassets/js/default/pages/index/index.js.mapPK !:Hv|| classes.dexPK !:.D 8config.jsonPK