mirror of
https://gitee.com/openharmony/developtools_profiler
synced 2024-11-30 10:31:07 +00:00
commit
a612811aac
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user