提交 ede32ee1 编写于 作者: I inter515

新增用例

Signed-off-by: Ninter515 <ry.renyi@huawei.com>
上级 09b03a8a
...@@ -1070,12 +1070,12 @@ export default function getBundleInfoForSelf() { ...@@ -1070,12 +1070,12 @@ export default function getBundleInfoForSelf() {
/* /*
* @tc.number: SUB_BMS_APPINFO_SYNC_SELF_0003 * @tc.number: SUB_BMS_APPINFO_SYNC_SELF_0003
* @tc.name: getBundleInfoForSelfDefault * @tc.name: getBundleInfoForSelfSyncDefault
* @tc.desc: Test getBundleInfoForSelfSync with default flag * @tc.desc: Test getBundleInfoForSelfSync with default flag
*/ */
it('getBundleInfoForSelfDefault', 0, async function (done) { it('getBundleInfoForSelfSyncDefault', 0, async function (done) {
let data = bundle.getBundleInfoForSelfSync(bundle.BundleFlag.GET_BUNDLE_INFO_DEFAULT); let data = bundle.getBundleInfoForSelfSync(bundle.BundleFlag.GET_BUNDLE_INFO_DEFAULT);
console.info("getBundleInfoForSelfDefault" + JSON.stringify(data)); console.info("getBundleInfoForSelfSyncDefault" + JSON.stringify(data));
expect(data.name).assertEqual(BUNDLE_NAME); expect(data.name).assertEqual(BUNDLE_NAME);
expect(data.vendor).assertEqual(VENDOR); expect(data.vendor).assertEqual(VENDOR);
expect(data.versionCode).assertEqual(1000000); expect(data.versionCode).assertEqual(1000000);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册