提交 28d9767d 编写于 作者: C chenxuihui

faultlogger bug fix

Signed-off-by: Nchenxuihui <chenxuhui2@huawei.com>
上级 5390f8ba
......@@ -103,14 +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).assertEqual("number"));
expect(typeof(ret[i].uid).assertEqual("number"));
expect(typeof(ret[i].type).assertEqual("number"));
expect(typeof(ret[i].timestamp).assertEqual("number"));
expect(typeof(ret[i].reason).assertEqual("string"));
expect(typeof(ret[i].module).assertEqual("string"));
expect(typeof(ret[i].summary).assertEqual("string"));
expect(typeof(ret[i].fullLog).assertEqual("string"));
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].timestamp) == "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.
先完成此消息的编辑!
想要评论请 注册