提交 99f9c16b 编写于 作者: H hekun

fix the test code

Signed-off-by: Nhekun <hekun18@huawei.com>
上级 227708fc
......@@ -213,5 +213,24 @@ export default function stateManagementGetSharedJsunit() {
done();
}
});
/*
* @tc.number SUB_ACE_BASIC_ETS_API_0005
* @tc.name test_staticClear_0001
* @tc.desc delete the property
*/
it('test_staticClear_0001', 0, async function (done) {
console.info('test_staticClear_0001 Register a customized font in the FontManagerSTART');
await Utils.sleep(2000);
try {
let simple = AppStorage.staticClear();
expect(simple).assertFalse();
done();
} catch (err) {
console.info("test_font_registerFont_0001 err : " + JSON.stringify(err));
expect(true).assertTrue();
done();
}
});
})
}
......@@ -45,6 +45,9 @@ struct GestureSettingsExample {
console.info("Gesture sourceTool object" + event.sourceTool);
console.info("Gesture sourceTool enum value " + SourceTool.Finger);
console.info("Gesture sourceTool enum value " + SourceTool.Pen);
console.info("Gesture sourceTool enum value " + SourceTool.FINGER);
console.info("Gesture sourceTool enum value " + SourceTool.PEN);
}), GestureMask.IgnoreInternal)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册