提交 a4cf0673 编写于 作者: B bayanxing

注释用例

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