提交 12a4d6bf 编写于 作者: Z zhangmaowen

<zhangmaowen@huawei.com>

Signed-off-by: Nzhangmaowen <zhangmaowen@huawei.com>
上级 0855d618
...@@ -364,4 +364,17 @@ describe('storageTest', function () { ...@@ -364,4 +364,17 @@ describe('storageTest', function () {
await promise; await promise;
done(); done();
}) })
/**
* @tc.name const test
* @tc.number SUB_DDM_AppDataFWK_JSPreferences_Storage_0150
* @tc.desc const test
*/
it('testConst001', 0, function () {
mPref = storage.getStorageSync(PATH);
console.info("testConstKEY1 " + mPref.MAX_KEY_LENGTH)
console.info("testConstVALUE1 " + mPref.MAX_VALUE_LENGTH)
expect("80").assertEqual(mPref.MAX_KEY_LENGTH);
expect("8192").assertEqual(mPref.MAX_VALUE_LENGTH);
})
}) })
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册