mirror of
https://gitee.com/openharmony/xts_dcts
synced 2024-11-23 07:39:59 +00:00
update ability/dmsfwk/dmsfwkfatest/src/main/js/test/DmsFwkFaTest.test.js.
Signed-off-by: zhaominjie11 <zhaominjie9@huawei.com>
This commit is contained in:
parent
f2c2b05ab7
commit
5e2e042839
@ -692,6 +692,10 @@ export default function DmsFwkFaTest() {
|
||||
console.error(TAG + ' fail, error: ' + error.code);
|
||||
expect(error.code).assertEqual(1);
|
||||
done();
|
||||
} else {
|
||||
console.log(TAG + ' StartAbilityForResult_callback success');
|
||||
expect().assertFail()
|
||||
done();
|
||||
}
|
||||
});
|
||||
await sleep(1000);
|
||||
@ -721,7 +725,11 @@ export default function DmsFwkFaTest() {
|
||||
console.error(TAG + ' fail, error: ' + error.code);
|
||||
expect(error.code).assertEqual(1);
|
||||
done();
|
||||
}
|
||||
} else {
|
||||
console.log(TAG + ' StartAbilityForResult_callback success');
|
||||
expect().assertFail()
|
||||
done();
|
||||
}
|
||||
});
|
||||
await sleep(1000);
|
||||
console.info("---------------SUB_DMS_StandardOs_collaboration_Startability_StartAbilityForResult_callback_0200 is end---------------");
|
||||
@ -750,6 +758,10 @@ export default function DmsFwkFaTest() {
|
||||
console.error(TAG + ' fail, error: ' + error.code);
|
||||
expect(error.code).assertEqual(1);
|
||||
done();
|
||||
} else {
|
||||
console.log(TAG + ' StartAbilityForResult_callback success');
|
||||
expect().assertFail()
|
||||
done();
|
||||
}
|
||||
});
|
||||
done();
|
||||
@ -758,7 +770,6 @@ export default function DmsFwkFaTest() {
|
||||
});
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* @tc.number SUB_DMS_StandardOs_collaboration_connetability_connectRemoteAbility_1300
|
||||
* @tc.name Connect the remote ServiceAbility.
|
||||
|
Loading…
Reference in New Issue
Block a user