提交 d8309306 编写于 作者: Z zhangfuzhi

add smsmmsbatchinsert

Signed-off-by: Nzhangfuzhi <zhangfuzhi1@huawei.com>
上级 a424cb82
# Copyright (C) 2021 Huawei Device Co., Ltd.
# Copyright (C) 2023 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
......
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
import PdpProfileDataStorageFunction from './PdpProfileDataStorageFunction.test.js'
import PdpProfileDataStorageFunction from './PdpProfileDataStorageFunction.test.js';
export default function testsuite() {
PdpProfileDataStorageFunction();
......
......@@ -18,7 +18,7 @@ import { Hypium } from '@ohos/hypium';
import testsuite from '../../../test/List.test';
const injectRef = Object.getPrototypeOf(global) || global
injectRef.regeneratorRuntime = require('@babel/runtime/regenerator');
injectRef.regeneratorRuntime = require('@babel/runtime/regenerator')
export default {
data: {
......
......@@ -39,7 +39,7 @@ function translateParamsToString(parameters) {
var abilityDelegatorArguments = AbilityDelegatorRegistry.getArguments();
var abilityDelegator = AbilityDelegatorRegistry.getAbilityDelegator();
var testAbilityName = abilityDelegatorArguments.parameters['-p'] + '.TestAbility';
var testAbilityName = abilityDelegatorArguments.parameters['-p'] + '.MainAbility';
var cmd = 'aa start -d 0 -a ' + testAbilityName + ' -b ' + abilityDelegatorArguments.bundleName;
cmd += ' ' + translateParamsToString(abilityDelegatorArguments.parameters);
......@@ -54,6 +54,6 @@ function translateParamsToString(parameters) {
console.info('executeShellCommand : err : ' + JSON.stringify(err));
console.info('executeShellCommand : data : ' + data.stdResult);
console.info('executeShellCommand : data : ' + data.exitCode);
})
});
}
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册