未验证 提交 5f54858c 编写于 作者: O openharmony_ci 提交者: Gitee

!4384 faultlogger api覆盖

Merge pull request !4384 from chenxuihui/OpenHarmony-3.1-Release
......@@ -103,6 +103,14 @@ describe("FaultlogJsTest", function () {
console.info("faultloggertestsummary02 " + i + " fullLog.length " + ret[i].fullLog.length);
if (ret[i].fullLog.indexOf("faultloggertestsummary02 " + (loopTimes - 1 - i)) != -1) {
console.info("FaultlogJsTest_002 " + ret[i].fullLog.length);
expect(typeof(ret[i].pid) == "number").assertTrue();
expect(typeof(ret[i].uid) == "number").assertTrue();
expect(typeof(ret[i].type) == "number").assertTrue();
expect(typeof(ret[i].ts) == "number").assertTrue();
expect(typeof(ret[i].reason) == "string").assertTrue();
expect(typeof(ret[i].module) == "string").assertTrue();
expect(typeof(ret[i].summary) == "string").assertTrue();
expect(typeof(ret[i].fullLog) == "string").assertTrue();
expect(true).assertTrue();
} else {
expect(false).assertTrue();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册