Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
d8eef60d
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
1 年多 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
d8eef60d
编写于
7月 14, 2021
作者:
A
aajwy
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
code format
Signed-off-by:
N
aajwy
<
13051180828@163.com
>
上级
2039abb1
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
31 addition
and
29 deletion
+31
-29
hiviewdfx/hilogtest/libhilogtest/hilogtest/hilogtest.cpp
hiviewdfx/hilogtest/libhilogtest/hilogtest/hilogtest.cpp
+31
-29
未找到文件。
hiviewdfx/hilogtest/libhilogtest/hilogtest/hilogtest.cpp
浏览文件 @
d8eef60d
...
@@ -39,9 +39,11 @@ using namespace HiviewDFX;
...
@@ -39,9 +39,11 @@ using namespace HiviewDFX;
using
namespace
testing
::
ext
;
using
namespace
testing
::
ext
;
using
namespace
std
;
using
namespace
std
;
class
LibhilogTool
test
:
public
testing
::
Test
{
class
hilog
test
:
public
testing
::
Test
{
public:
public:
string
input
,
result
,
expect
;
string
input
=
""
;
string
result
=
""
;
string
expect
=
""
;
static
void
SetUpTestCase
();
static
void
SetUpTestCase
();
static
void
TearDownTestCase
();
static
void
TearDownTestCase
();
void
SetUp
();
void
SetUp
();
...
@@ -52,13 +54,13 @@ public:
...
@@ -52,13 +54,13 @@ public:
string
g_commonContent
=
"03200/HILOGTOOLTEST: 123456789_1234567890_public and private log test is:"
;
string
g_commonContent
=
"03200/HILOGTOOLTEST: 123456789_1234567890_public and private log test is:"
;
private:
private:
};
};
void
LibhilogTool
test
::
SetUp
()
void
hilog
test
::
SetUp
()
{
{
}
}
void
LibhilogTool
test
::
TearDown
()
void
hilog
test
::
TearDown
()
{
{
}
}
void
LibhilogTool
test
::
SetUpTestCase
()
void
hilog
test
::
SetUpTestCase
()
{
{
ExeCmd
(
"hilog -p on"
);
ExeCmd
(
"hilog -p on"
);
ExeCmd
(
"hilog -Q domainoff"
);
ExeCmd
(
"hilog -Q domainoff"
);
...
@@ -71,7 +73,7 @@ void LibhilogTooltest::SetUpTestCase()
...
@@ -71,7 +73,7 @@ void LibhilogTooltest::SetUpTestCase()
ExeCmd
(
"hilog -S -t all"
);
ExeCmd
(
"hilog -S -t all"
);
ExeCmd
(
"hilog -S -D 218116608"
);
ExeCmd
(
"hilog -S -D 218116608"
);
}
}
void
LibhilogTool
test
::
TearDownTestCase
()
void
hilog
test
::
TearDownTestCase
()
{
{
ExeCmd
(
"hilog -p on"
);
ExeCmd
(
"hilog -p on"
);
ExeCmd
(
"hilog -Q domainoff"
);
ExeCmd
(
"hilog -Q domainoff"
);
...
@@ -92,7 +94,7 @@ void LibhilogTooltest::TearDownTestCase()
...
@@ -92,7 +94,7 @@ void LibhilogTooltest::TearDownTestCase()
* @tc.number DFX_DFT_HilogCPP_0840
* @tc.number DFX_DFT_HilogCPP_0840
* @tc.desc one-time read
* @tc.desc one-time read
*/
*/
HWTEST_F
(
LibhilogTool
test
,
Hilogtool_exit
,
Function
|
MediumTest
|
Level3
)
HWTEST_F
(
hilog
test
,
Hilogtool_exit
,
Function
|
MediumTest
|
Level3
)
{
{
CleanCmd
();
CleanCmd
();
std
::
string
saveFile
=
"test_data_31.txt"
;
std
::
string
saveFile
=
"test_data_31.txt"
;
...
@@ -123,7 +125,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_exit, Function|MediumTest|Level3)
...
@@ -123,7 +125,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_exit, Function|MediumTest|Level3)
* @tc.number DFX_DFT_HilogCPP_0860
* @tc.number DFX_DFT_HilogCPP_0860
* @tc.desc The log tool can read app log types at a time.
* @tc.desc The log tool can read app log types at a time.
*/
*/
HWTEST_F
(
LibhilogTool
test
,
Hilogtool_type_app
,
Function
|
MediumTest
|
Level3
)
HWTEST_F
(
hilog
test
,
Hilogtool_type_app
,
Function
|
MediumTest
|
Level3
)
{
{
CleanCmd
();
CleanCmd
();
std
::
string
saveFile
=
"test_data_33_1.txt"
;
std
::
string
saveFile
=
"test_data_33_1.txt"
;
...
@@ -152,7 +154,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_type_app, Function|MediumTest|Level3)
...
@@ -152,7 +154,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_type_app, Function|MediumTest|Level3)
* @tc.number DFX_DFT_HilogCPP_0870
* @tc.number DFX_DFT_HilogCPP_0870
* @tc.desc The log tool can read core log types at a time
* @tc.desc The log tool can read core log types at a time
*/
*/
HWTEST_F
(
LibhilogTool
test
,
Hilogtool_type_core
,
Function
|
MediumTest
|
Level3
)
HWTEST_F
(
hilog
test
,
Hilogtool_type_core
,
Function
|
MediumTest
|
Level3
)
{
{
CleanCmd
();
CleanCmd
();
std
::
string
saveFile
=
"test_data_33_2.txt"
;
std
::
string
saveFile
=
"test_data_33_2.txt"
;
...
@@ -180,7 +182,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_type_core, Function|MediumTest|Level3)
...
@@ -180,7 +182,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_type_core, Function|MediumTest|Level3)
* @tc.number DFX_DFT_HilogCPP_0880
* @tc.number DFX_DFT_HilogCPP_0880
* @tc.desc The log tool can read init log types at a time.
* @tc.desc The log tool can read init log types at a time.
*/
*/
HWTEST_F
(
LibhilogTool
test
,
Hilogtool_type_init
,
Function
|
MediumTest
|
Level3
)
HWTEST_F
(
hilog
test
,
Hilogtool_type_init
,
Function
|
MediumTest
|
Level3
)
{
{
CleanCmd
();
CleanCmd
();
std
::
string
saveFile
=
"test_data_33_3.txt"
;
std
::
string
saveFile
=
"test_data_33_3.txt"
;
...
@@ -208,7 +210,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_type_init, Function|MediumTest|Level3)
...
@@ -208,7 +210,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_type_init, Function|MediumTest|Level3)
* @tc.number DFX_DFT_HilogCPP_0890
* @tc.number DFX_DFT_HilogCPP_0890
* @tc.desc The log tool can read Hilogtool_type_multiple log types at a time.
* @tc.desc The log tool can read Hilogtool_type_multiple log types at a time.
*/
*/
HWTEST_F
(
LibhilogTool
test
,
Hilogtool_type_multiple
,
Function
|
MediumTest
|
Level2
)
HWTEST_F
(
hilog
test
,
Hilogtool_type_multiple
,
Function
|
MediumTest
|
Level2
)
{
{
CleanCmd
();
CleanCmd
();
std
::
string
saveFile
=
"test_data_33_4.txt"
;
std
::
string
saveFile
=
"test_data_33_4.txt"
;
...
@@ -240,7 +242,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_type_multiple, Function|MediumTest|Level2)
...
@@ -240,7 +242,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_type_multiple, Function|MediumTest|Level2)
* @tc.number DFX_DFT_HilogCPP_0950
* @tc.number DFX_DFT_HilogCPP_0950
* @tc.desc show local time
* @tc.desc show local time
*/
*/
HWTEST_F
(
LibhilogTool
test
,
Hilogtool_time
,
Function
|
MediumTest
|
Level3
)
HWTEST_F
(
hilog
test
,
Hilogtool_time
,
Function
|
MediumTest
|
Level3
)
{
{
std
::
string
cmd
=
gHilogtoolExecutable
+
" -a 1 -v time "
;
std
::
string
cmd
=
gHilogtoolExecutable
+
" -a 1 -v time "
;
std
::
string
saveFile
=
"test_data_35_1.txt"
;
std
::
string
saveFile
=
"test_data_35_1.txt"
;
...
@@ -267,7 +269,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_time, Function|MediumTest|Level3)
...
@@ -267,7 +269,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_time, Function|MediumTest|Level3)
* @tc.number DFX_DFT_HilogCPP_0960
* @tc.number DFX_DFT_HilogCPP_0960
* @tc.desc show the time from 1970
* @tc.desc show the time from 1970
*/
*/
HWTEST_F
(
LibhilogTool
test
,
Hilogtool_epoch
,
Function
|
MediumTest
|
Level4
)
HWTEST_F
(
hilog
test
,
Hilogtool_epoch
,
Function
|
MediumTest
|
Level4
)
{
{
std
::
string
cmd
=
gHilogtoolExecutable
+
" -a 1 -v epoch "
;
std
::
string
cmd
=
gHilogtoolExecutable
+
" -a 1 -v epoch "
;
std
::
string
saveFile
=
"test_data_35_2.txt"
;
std
::
string
saveFile
=
"test_data_35_2.txt"
;
...
@@ -293,7 +295,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_epoch, Function|MediumTest|Level4)
...
@@ -293,7 +295,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_epoch, Function|MediumTest|Level4)
* @tc.number DFX_DFT_HilogCPP_0970
* @tc.number DFX_DFT_HilogCPP_0970
* @tc.desc show the time from last restart
* @tc.desc show the time from last restart
*/
*/
HWTEST_F
(
LibhilogTool
test
,
Hilogtool_monotonic
,
Function
|
MediumTest
|
Level3
)
HWTEST_F
(
hilog
test
,
Hilogtool_monotonic
,
Function
|
MediumTest
|
Level3
)
{
{
std
::
string
cmd
=
gHilogtoolExecutable
+
" -a 1 -v monotonic"
;
std
::
string
cmd
=
gHilogtoolExecutable
+
" -a 1 -v monotonic"
;
std
::
string
saveFile
=
"test_data_35_3.txt"
;
std
::
string
saveFile
=
"test_data_35_3.txt"
;
...
@@ -319,7 +321,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_monotonic, Function|MediumTest|Level3)
...
@@ -319,7 +321,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_monotonic, Function|MediumTest|Level3)
* @tc.number DFX_DFT_HilogCPP_0980
* @tc.number DFX_DFT_HilogCPP_0980
* @tc.desc Displays time in microsecond accuracy
* @tc.desc Displays time in microsecond accuracy
*/
*/
HWTEST_F
(
LibhilogTool
test
,
Hilogtool_usec
,
Function
|
MediumTest
|
Level4
)
HWTEST_F
(
hilog
test
,
Hilogtool_usec
,
Function
|
MediumTest
|
Level4
)
{
{
std
::
string
cmd
=
gHilogtoolExecutable
+
" -a 1 -v usec"
;
std
::
string
cmd
=
gHilogtoolExecutable
+
" -a 1 -v usec"
;
std
::
string
saveFile
=
"test_data_35_4.txt"
;
std
::
string
saveFile
=
"test_data_35_4.txt"
;
...
@@ -346,7 +348,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_usec, Function|MediumTest|Level4)
...
@@ -346,7 +348,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_usec, Function|MediumTest|Level4)
* @tc.number DFX_DFT_HilogCPP_0990
* @tc.number DFX_DFT_HilogCPP_0990
* @tc.desc Displays time in nanosecond precision.
* @tc.desc Displays time in nanosecond precision.
*/
*/
HWTEST_F
(
LibhilogTool
test
,
Hilogtool_nsec
,
Function
|
MediumTest
|
Level4
)
HWTEST_F
(
hilog
test
,
Hilogtool_nsec
,
Function
|
MediumTest
|
Level4
)
{
{
std
::
string
cmd
=
gHilogtoolExecutable
+
" -a 1 -v nsec"
;
std
::
string
cmd
=
gHilogtoolExecutable
+
" -a 1 -v nsec"
;
std
::
string
saveFile
=
"test_data_35_5.txt"
;
std
::
string
saveFile
=
"test_data_35_5.txt"
;
...
@@ -374,7 +376,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_nsec, Function|MediumTest|Level4)
...
@@ -374,7 +376,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_nsec, Function|MediumTest|Level4)
* @tc.number DFX_DFT_HilogCPP_1000
* @tc.number DFX_DFT_HilogCPP_1000
* @tc.desc added year to the displayed time.
* @tc.desc added year to the displayed time.
*/
*/
HWTEST_F
(
LibhilogTool
test
,
Hilogtool_year
,
Function
|
MediumTest
|
Level4
)
HWTEST_F
(
hilog
test
,
Hilogtool_year
,
Function
|
MediumTest
|
Level4
)
{
{
std
::
string
cmd
=
gHilogtoolExecutable
+
" -a 1 -v year"
;
std
::
string
cmd
=
gHilogtoolExecutable
+
" -a 1 -v year"
;
char
saveFile356
[]
=
"test_data_35_6.txt"
;
char
saveFile356
[]
=
"test_data_35_6.txt"
;
...
@@ -401,7 +403,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_year, Function|MediumTest|Level4)
...
@@ -401,7 +403,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_year, Function|MediumTest|Level4)
* @tc.number DFX_DFT_HilogCPP_1010
* @tc.number DFX_DFT_HilogCPP_1010
* @tc.desc show the local time zone
* @tc.desc show the local time zone
*/
*/
HWTEST_F
(
LibhilogTool
test
,
Hilogtool_zone
,
Function
|
MediumTest
|
Level4
)
HWTEST_F
(
hilog
test
,
Hilogtool_zone
,
Function
|
MediumTest
|
Level4
)
{
{
std
::
string
cmd
=
gHilogtoolExecutable
+
" -a 1 -v zone"
;
std
::
string
cmd
=
gHilogtoolExecutable
+
" -a 1 -v zone"
;
std
::
string
saveFile
=
"test_data_35_6.txt"
;
std
::
string
saveFile
=
"test_data_35_6.txt"
;
...
@@ -428,7 +430,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_zone, Function|MediumTest|Level4)
...
@@ -428,7 +430,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_zone, Function|MediumTest|Level4)
* @tc.number DFX_DFT_HilogCPP_1870
* @tc.number DFX_DFT_HilogCPP_1870
* @tc.desc Filtering by regular expression, The expression is empty.
* @tc.desc Filtering by regular expression, The expression is empty.
*/
*/
HWTEST_F
(
LibhilogTool
test
,
Hilogtool_regex_null
,
Function
|
MediumTest
|
Level3
)
HWTEST_F
(
hilog
test
,
Hilogtool_regex_null
,
Function
|
MediumTest
|
Level3
)
{
{
CleanCmd
();
CleanCmd
();
std
::
string
cmd
=
gHilogtoolExecutable
+
" -x -e
\"\"
"
;
std
::
string
cmd
=
gHilogtoolExecutable
+
" -x -e
\"\"
"
;
...
@@ -451,7 +453,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_regex_null, Function|MediumTest|Level3)
...
@@ -451,7 +453,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_regex_null, Function|MediumTest|Level3)
* @tc.number DFX_DFT_HilogCPP_1880
* @tc.number DFX_DFT_HilogCPP_1880
* @tc.desc Filtering by regular expression
* @tc.desc Filtering by regular expression
*/
*/
HWTEST_F
(
LibhilogTool
test
,
Hilogtool_regex
,
Function
|
MediumTest
|
Level3
)
HWTEST_F
(
hilog
test
,
Hilogtool_regex
,
Function
|
MediumTest
|
Level3
)
{
{
CleanCmd
();
CleanCmd
();
std
::
string
cmd1
=
gHilogtoolExecutable
+
" -x -e
\"
^(123)
\"
"
;
std
::
string
cmd1
=
gHilogtoolExecutable
+
" -x -e
\"
^(123)
\"
"
;
...
@@ -486,7 +488,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_regex, Function|MediumTest|Level3)
...
@@ -486,7 +488,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_regex, Function|MediumTest|Level3)
* @tc.desc show the first 1 row
* @tc.desc show the first 1 row
*/
*/
HWTEST_F
(
LibhilogTool
test
,
Hilogtool_head_1
,
Function
|
MediumTest
|
Level3
)
HWTEST_F
(
hilog
test
,
Hilogtool_head_1
,
Function
|
MediumTest
|
Level3
)
{
{
CleanCmd
();
CleanCmd
();
LogType
type
=
LOG_INIT
;
LogType
type
=
LOG_INIT
;
...
@@ -515,7 +517,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_head_1, Function|MediumTest|Level3)
...
@@ -515,7 +517,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_head_1, Function|MediumTest|Level3)
* @tc.number DFX_DFT_HilogCPP_1900
* @tc.number DFX_DFT_HilogCPP_1900
* @tc.desc show first 20 rows
* @tc.desc show first 20 rows
*/
*/
HWTEST_F
(
LibhilogTool
test
,
Hilogtool_head_20
,
Function
|
MediumTest
|
Level4
)
HWTEST_F
(
hilog
test
,
Hilogtool_head_20
,
Function
|
MediumTest
|
Level4
)
{
{
CleanCmd
();
CleanCmd
();
LogType
type
=
LOG_INIT
;
LogType
type
=
LOG_INIT
;
...
@@ -537,7 +539,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_head_20, Function|MediumTest|Level4)
...
@@ -537,7 +539,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_head_20, Function|MediumTest|Level4)
* @tc.number DFX_DFT_HilogCPP_1910
* @tc.number DFX_DFT_HilogCPP_1910
* @tc.desc show the last 1 row
* @tc.desc show the last 1 row
*/
*/
HWTEST_F
(
LibhilogTool
test
,
Hilogtool_tail_1
,
Function
|
MediumTest
|
Level4
)
HWTEST_F
(
hilog
test
,
Hilogtool_tail_1
,
Function
|
MediumTest
|
Level4
)
{
{
CleanCmd
();
CleanCmd
();
LogType
type
=
LOG_INIT
;
LogType
type
=
LOG_INIT
;
...
@@ -567,7 +569,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_tail_1, Function|MediumTest|Level4)
...
@@ -567,7 +569,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_tail_1, Function|MediumTest|Level4)
* @tc.number DFX_DFT_HilogCPP_1920
* @tc.number DFX_DFT_HilogCPP_1920
* @tc.desc show last 20 rows
* @tc.desc show last 20 rows
*/
*/
HWTEST_F
(
LibhilogTool
test
,
Hilogtool_tail_20
,
Function
|
MediumTest
|
Level4
)
HWTEST_F
(
hilog
test
,
Hilogtool_tail_20
,
Function
|
MediumTest
|
Level4
)
{
{
CleanCmd
();
CleanCmd
();
LogType
type
=
LOG_INIT
;
LogType
type
=
LOG_INIT
;
...
@@ -589,7 +591,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_tail_20, Function|MediumTest|Level4)
...
@@ -589,7 +591,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_tail_20, Function|MediumTest|Level4)
* @tc.number DFX_DFT_HilogCPP_1930
* @tc.number DFX_DFT_HilogCPP_1930
* @tc.desc The filtering parameter is empty.
* @tc.desc The filtering parameter is empty.
*/
*/
HWTEST_F
(
LibhilogTool
test
,
Hilogtool_filter_null
,
Function
|
MediumTest
|
Level4
)
HWTEST_F
(
hilog
test
,
Hilogtool_filter_null
,
Function
|
MediumTest
|
Level4
)
{
{
CleanCmd
();
CleanCmd
();
LogType
type
=
LOG_INIT
;
LogType
type
=
LOG_INIT
;
...
@@ -620,7 +622,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_filter_null, Function|MediumTest|Level4)
...
@@ -620,7 +622,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_filter_null, Function|MediumTest|Level4)
* @tc.desc Filter level only.
* @tc.desc Filter level only.
*/
*/
HWTEST_F
(
LibhilogTool
test
,
Hilogtool_filter_level
,
Function
|
MediumTest
|
Level4
)
HWTEST_F
(
hilog
test
,
Hilogtool_filter_level
,
Function
|
MediumTest
|
Level4
)
{
{
CleanCmd
();
CleanCmd
();
LogType
type
=
LOG_INIT
;
LogType
type
=
LOG_INIT
;
...
@@ -650,7 +652,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_filter_level, Function|MediumTest|Level4)
...
@@ -650,7 +652,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_filter_level, Function|MediumTest|Level4)
* @tc.desc Filter domain only.
* @tc.desc Filter domain only.
*/
*/
HWTEST_F
(
LibhilogTool
test
,
Hilogtool_filter_domain
,
Function
|
MediumTest
|
Level3
)
HWTEST_F
(
hilog
test
,
Hilogtool_filter_domain
,
Function
|
MediumTest
|
Level3
)
{
{
CleanCmd
();
CleanCmd
();
LogType
type
=
LOG_INIT
;
LogType
type
=
LOG_INIT
;
...
@@ -680,7 +682,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_filter_domain, Function|MediumTest|Level3)
...
@@ -680,7 +682,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_filter_domain, Function|MediumTest|Level3)
* @tc.number DFX_DFT_HilogCPP_1980
* @tc.number DFX_DFT_HilogCPP_1980
* @tc.desc Filter tag only.
* @tc.desc Filter tag only.
*/
*/
HWTEST_F
(
LibhilogTool
test
,
Hilogtool_filter_tag
,
Function
|
MediumTest
|
Level4
)
HWTEST_F
(
hilog
test
,
Hilogtool_filter_tag
,
Function
|
MediumTest
|
Level4
)
{
{
CleanCmd
();
CleanCmd
();
LogType
type
=
LOG_INIT
;
LogType
type
=
LOG_INIT
;
...
@@ -710,7 +712,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_filter_tag, Function|MediumTest|Level4)
...
@@ -710,7 +712,7 @@ HWTEST_F(LibhilogTooltest, Hilogtool_filter_tag, Function|MediumTest|Level4)
* @tc.desc Filter Multi-parameter
* @tc.desc Filter Multi-parameter
*/
*/
HWTEST_F
(
LibhilogTool
test
,
Hilogtool_filter_multiple
,
Function
|
MediumTest
|
Level2
)
HWTEST_F
(
hilog
test
,
Hilogtool_filter_multiple
,
Function
|
MediumTest
|
Level2
)
{
{
CleanCmd
();
CleanCmd
();
LogType
type
=
LOG_INIT
;
LogType
type
=
LOG_INIT
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录