提交 ed13df7b 编写于 作者: Z zhangfuzhi

add smsmmsbatchinsert

Signed-off-by: Nzhangfuzhi <zhangfuzhi1@huawei.com>
上级 cf40ada4
# Copyright (C) 2021 Huawei Device Co., Ltd. # Copyright (C) 2023 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
# You may obtain a copy of the License at # You may obtain a copy of the License at
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* limitations under the License. * limitations under the License.
*/ */
import PdpProfileDataStorageFunction from './PdpProfileDataStorageFunction.test.js' import PdpProfileDataStorageFunction from './PdpProfileDataStorageFunction.test.js';
export default function testsuite() { export default function testsuite() {
PdpProfileDataStorageFunction(); PdpProfileDataStorageFunction();
......
<div class="container"> <div class="container">
<text class="title"> <text class="title">
SIM TEST SMS_MMS TEST
</text> </text>
</div> </div>
...@@ -18,7 +18,7 @@ import { Hypium } from '@ohos/hypium'; ...@@ -18,7 +18,7 @@ import { Hypium } from '@ohos/hypium';
import testsuite from '../../../test/List.test'; import testsuite from '../../../test/List.test';
const injectRef = Object.getPrototypeOf(global) || global const injectRef = Object.getPrototypeOf(global) || global
injectRef.regeneratorRuntime = require('@babel/runtime/regenerator'); injectRef.regeneratorRuntime = require('@babel/runtime/regenerator')
export default { export default {
data: { data: {
......
...@@ -39,7 +39,7 @@ function translateParamsToString(parameters) { ...@@ -39,7 +39,7 @@ function translateParamsToString(parameters) {
var abilityDelegatorArguments = AbilityDelegatorRegistry.getArguments(); var abilityDelegatorArguments = AbilityDelegatorRegistry.getArguments();
var abilityDelegator = AbilityDelegatorRegistry.getAbilityDelegator(); 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; var cmd = 'aa start -d 0 -a ' + testAbilityName + ' -b ' + abilityDelegatorArguments.bundleName;
cmd += ' ' + translateParamsToString(abilityDelegatorArguments.parameters); cmd += ' ' + translateParamsToString(abilityDelegatorArguments.parameters);
...@@ -54,6 +54,6 @@ function translateParamsToString(parameters) { ...@@ -54,6 +54,6 @@ function translateParamsToString(parameters) {
console.info('executeShellCommand : err : ' + JSON.stringify(err)); console.info('executeShellCommand : err : ' + JSON.stringify(err));
console.info('executeShellCommand : data : ' + data.stdResult); console.info('executeShellCommand : data : ' + data.stdResult);
console.info('executeShellCommand : data : ' + data.exitCode); 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.
先完成此消息的编辑!
想要评论请 注册