未验证 提交 61713b65 编写于 作者: O openharmony_ci 提交者: Gitee

!6172 hidebug修改测试用例编号

Merge pull request !6172 from chenxuihui/monthly_20221018
......@@ -191,7 +191,7 @@ describe('HidebugJsTest', function () {
* @tc.name : startProfiling with overlong parameter
* @tc.desc : Start CPU Profiling.
*/
it('cDFX_DFR_Hiprofiler_Interface_1300', 0, function() {
it('DFX_DFR_Hiprofiler_Interface_1300', 0, function() {
console.log('************* DFX_DFR_Hiprofiler_Interface_1300 Test start*************');
let path = '/data/app/el2/100/base/com.hidebug.test/files/undefined.json'
try {
......
......@@ -280,7 +280,7 @@ describe("FaultlogJsTest", function () {
/**
*
* @tc.name: DFX_DFR_Faultlogger_Interface_0600
* @tc.desc: 检验函数参数输入错误时程序是否会崩溃
* @tc.desc: 检验query函数正常入参
* @tc.require: AR000GICT2
*/
it('DFX_DFR_Faultlogger_Interface_0600', 0, function () {
......@@ -288,6 +288,7 @@ describe("FaultlogJsTest", function () {
try {
let ret = faultlogger.query("faultloggertestsummary06");
console.info("DFX_DFR_Faultlogger_Interface_0600 ret == " + ret);
expect(ret).assertTrue();
return;
} catch(err) {
console.info(err.code);
......@@ -299,7 +300,7 @@ describe("FaultlogJsTest", function () {
/**
*
* @tc.name: DFX_DFR_Faultlogger_Interface_0700
* @tc.desc: 检验函数参数输入错误时程序是否会崩溃
* @tc.desc: 检验query函数入参数量为2时程序是否会崩溃
* @tc.require: AR000GICT2
*/
it('DFX_DFR_Faultlogger_Interface_0700', 0, function () {
......@@ -318,7 +319,7 @@ describe("FaultlogJsTest", function () {
/**
*
* @tc.name: DFX_DFR_Faultlogger_Interface_0800
* @tc.desc: 检验函数参数输入错误时程序是否会崩溃
* @tc.desc: 检验query函数入参为空时程序是否会崩溃
* @tc.require: AR000GICT2
*/
it('DFX_DFR_Faultlogger_Interface_0800', 0, function () {
......@@ -364,7 +365,7 @@ describe("FaultlogJsTest", function () {
await msleep(1000);
console.info("--------DFX_DFR_Faultlogger_Interface_0900 4" + "----------");
let ret = await faultlogger.querySelfFaultLog(faultlogger.FaultType.JS_CRASH);
let ret = await faultlogger.query(faultlogger.FaultType.JS_CRASH);
console.info("DFX_DFR_Faultlogger_Interface_0900 ret == " + ret.length);
if (ret.length > 0) {
expect(true).assertTrue();
......@@ -406,7 +407,7 @@ describe("FaultlogJsTest", function () {
await msleep(1000);
console.info("--------DFX_DFR_Faultlogger_Interface_1000 4" + "----------");
let ret = await faultlogger.querySelfFaultLog(faultlogger.FaultType.APP_FREEZE);
let ret = await faultlogger.query(faultlogger.FaultType.APP_FREEZE);
console.info("DFX_DFR_Faultlogger_Interface_1000 ret == " + ret.length);
expect(ret.length).assertEqual(loopTimes);
for (let i = 0; i < loopTimes; i++) {
......@@ -469,7 +470,7 @@ describe("FaultlogJsTest", function () {
}
done();
}
faultlogger.querySelfFaultLog(faultlogger.FaultType.CPP_CRASH, queryFaultLogCallback);
faultlogger.query(faultlogger.FaultType.CPP_CRASH, queryFaultLogCallback);
return;
} catch (err) {
console.info(err);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册