提交 da49c26b 编写于 作者: Z zhaimengchao

【Account】【Master】Added NewInterface and OptionalParameters xts for the DistributedAccount

Signed-off-by: Nzhaimengchao <zhaimengchao@huawei.com>
上级 34dfb4c2
......@@ -705,6 +705,40 @@ export default function ActsDAGetSetTest() {
})
})
/**
* @tc.number DistributedAccountEnum_0100
* @tc.name Test distributedAccount.DistributedAccountStatus.NOT_LOGGED_IN.
* @tc.desc Test distributedAccount Enum.
*/
it('DistributedAccountEnum_0100', 0, async function (done) {
try {
expect(0).assertEqual(account.DistributedAccountStatus.NOT_LOGGED_IN)
console.debug("====>DistributedAccountEnum_0100 success:")
done()
} catch (err) {
console.debug("====>DistributedAccountEnum_0100 throw_err:" + JSON.stringify(err))
expect().assertFail()
done()
}
})
/**
* @tc.number DistributedAccountEnum_0200
* @tc.name Test distributedAccount.DistributedAccountStatus.LOGGED_IN.
* @tc.desc Test distributedAccount Enum.
*/
it('DistributedAccountEnum_0200', 0, async function (done) {
try {
expect(1).assertEqual(account.DistributedAccountStatus.LOGGED_IN)
console.debug("====>DistributedAccountEnum_0200 success:")
done()
} catch (err) {
console.debug("====>DistributedAccountEnum_0200 throw_err:" + JSON.stringify(err))
expect().assertFail()
done()
}
})
/**
* @tc.number DistributedAccountOptionalParameter_0100
* @tc.name Test distributedAccount.setOsAccountDistributedInfo by callback.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册