mirror of
https://gitee.com/openharmony/xts_dcts
synced 2024-11-30 11:21:10 +00:00
update distributedhardware/distributeddevicejstest/src/main/js/test/distributedDevice.test.js.
Signed-off-by: bjliang <bianjianliang1@huawei.com>
This commit is contained in:
parent
0008f2cf38
commit
1ea9c4b697
@ -89,7 +89,7 @@ export default function distributedDeviceManager() {
|
||||
it("SUB_DH_createDeviceManager_0001", 0, async function (done) {
|
||||
console.info("-----------------SUB_DH_createDeviceManager_0001 start------------------------");
|
||||
try {
|
||||
dmInstance = deviceManager.createDeviceManager("com.ohos.distributeddevicejstest");
|
||||
dmInstance = deviceManager.createDeviceManager("com.ohos.distributedscreenjstest");
|
||||
if (!dmInstance) {
|
||||
console.error("createDeviceManager errCode:" + err.code + ",errMessage:" + err.message);
|
||||
expect(false).assertFail();
|
||||
@ -464,7 +464,7 @@ export default function distributedDeviceManager() {
|
||||
it("SUB_DH_releaseDeviceManager_0015", 0, async function (done) {
|
||||
console.info("-----------------SUB_DH_releaseDeviceManager_0015 start------------------------");
|
||||
var mFilterOption = {
|
||||
targetPkgName: "com.ohos.distributeddevicejstest",
|
||||
targetPkgName: "com.ohos.distributedscreenjstest",
|
||||
sortType: 0,
|
||||
filter: JSON.stringify({
|
||||
key: 'test',
|
||||
|
Loading…
Reference in New Issue
Block a user