!1030 增加测试用例0713

Merge pull request !1030 from wenlong_12/update713
This commit is contained in:
openharmony_ci 2023-07-19 03:19:21 +00:00 committed by Gitee
commit a612811aac
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -225,6 +225,11 @@ HWTEST_F(FlowControllerTest, StartCapture, TestSize.Level1)
EXPECT_EQ(controller.StartCapture(), 0);
EXPECT_EQ(controller.StopCapture(), 0);
sleep(3);
controller.parseMode_ = TracePluginConfig_ParseMode_DELAY_PARSE;
EXPECT_EQ(controller.StartCapture(), 0);
EXPECT_EQ(controller.StopCapture(), 0);
}
/*
@ -261,4 +266,4 @@ HWTEST_F(FlowControllerTest, TestFramework, TestSize.Level1)
EXPECT_EQ(plugin->callbacks->onPluginSessionStart(configData.data(), configData.size()), 0);
EXPECT_EQ(plugin->callbacks->onPluginSessionStop(), 0);
}
} // namespace
} // namespace