修改测试用例

Signed-off-by: yuanye <yuanye64@huawei.com>
This commit is contained in:
yuanye 2024-11-04 20:16:12 +08:00
parent 748ea02642
commit bfa6653b40

2
test/unittest/common/native/subcommand_stat_test.cpp Normal file → Executable file
View File

@ -2297,7 +2297,7 @@ HWTEST_F(SubCommandStatTest, ReportSamplePid, TestSize.Level1)
HWTEST_F(SubCommandStatTest, ReportSampleApp, TestSize.Level1)
{
SubCommandStat command;
command.targetSystemWide_ = true;
command.appPackage_ = "com.test.app";
CommandReporter reporter("stat");
command.AddReportArgs(reporter);