提交 6e551790 编写于 作者: Z zhaoyuan17

Update xts code lts branch

Signed-off-by: Nzhaoyuan17 <zhaoyuan17@huawei.com>
上级 9cd300b5
...@@ -19,20 +19,21 @@ ...@@ -19,20 +19,21 @@
"type": "ShellKit", "type": "ShellKit",
"run-command": [ "run-command": [
"remount", "remount",
"mkdir /system/vendor" "mkdir /data/test"
] ]
}, },
{ {
"type": "PushKit", "type": "PushKit",
"push": [ "push": [
"./resource/appexecfwk/amsStDataAbility.hap->/system/vendor/amsStDataAbility.hap" "/resource/appexecfwk/amsStDataAbility.hap->/data/test/amsStDataAbility.hap"
] ]
}, },
{ {
"type": "ShellKit", "type": "ShellKit",
"run-command": [ "run-command": [
"chmod 644 /system/vendor/*.hap" "chmod 644 /data/test/*.hap",
"bm install -p /data/test/amsStDataAbility.hap"
] ]
} }
] ]
......
...@@ -183,7 +183,7 @@ describe('ActsBmsModuleUsageRecordTest', function () { ...@@ -183,7 +183,7 @@ describe('ActsBmsModuleUsageRecordTest', function () {
*/ */
it('bms_getModuleUsageRecordTest_0300', 0, async function (done) { it('bms_getModuleUsageRecordTest_0300', 0, async function (done) {
console.debug('=====================bms_getModuleUsageRecordTest_0300=================='); console.debug('=====================bms_getModuleUsageRecordTest_0300==================');
bundle.getModuleUsageRecords(RECORD_COUNT + NUM_TWO, (err, data) => { bundle.getModuleUsageRecords(RECORD_COUNT + NUM_TEN, (err, data) => {
expect(err.code).assertEqual(0); expect(err.code).assertEqual(0);
checkModuleUsageRecord(data); checkModuleUsageRecord(data);
var result = checkIsExist(data, BUNDLE_NAME); var result = checkIsExist(data, BUNDLE_NAME);
...@@ -208,7 +208,7 @@ describe('ActsBmsModuleUsageRecordTest', function () { ...@@ -208,7 +208,7 @@ describe('ActsBmsModuleUsageRecordTest', function () {
*/ */
it('bms_getModuleUsageRecordTest_0400', 0, async function (done) { it('bms_getModuleUsageRecordTest_0400', 0, async function (done) {
console.debug('=====================bms_getModuleUsageRecordTest_0400=================='); console.debug('=====================bms_getModuleUsageRecordTest_0400==================');
var records = await bundle.getModuleUsageRecords(RECORD_COUNT + NUM_TWO); var records = await bundle.getModuleUsageRecords(RECORD_COUNT + NUM_TEN);
checkModuleUsageRecord(records); checkModuleUsageRecord(records);
var result = checkIsExist(records, BUNDLE_NAME); var result = checkIsExist(records, BUNDLE_NAME);
expect(result).assertTrue(); expect(result).assertTrue();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册