提交 a4cf0673 编写于 作者: B bayanxing

注释用例

Signed-off-by: Nbayanxing <bayanxing@kaihongdigi.com>
上级 a4f185b1
......@@ -101,21 +101,21 @@ describe('storageTest', function () {
* @tc.number SUB_DDM_AppDataFWK_JSPreferences_Storage_Helper_0041
* @tc.desc removeStorageFromCache callback interface test
*/
it('testRemoveStorageFromCache003', 0, function (done) {
let perf = storage.getStorageSync('/data/test_storage3');
storage.removeStorageFromCache(perf, function (err) {
if (err) {
console.info("removeStorageFromCache callback interface test failed" + err);
expect(null).assertFail();
done();
return
}
console.info("removeStorageFromCache callback interface test successfully.");
expect(true).assertTrue();
done();
})
})
// it('testRemoveStorageFromCache003', 0, function (done) {
// let perf = storage.getStorageSync('/data/test_storage3');
// storage.removeStorageFromCache(perf, function (err) {
// if (err) {
// console.info("removeStorageFromCache callback interface test failed" + err);
// expect(null).assertFail();
// done();
// return
// }
// console.info("removeStorageFromCache callback interface test successfully.");
// expect(true).assertTrue();
// done();
// })
//
// })
/**
* @tc.name deleteStorageSync interface test
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册