Home
last modified time | relevance | path

Searched refs:GetCmdResultFromPopen (Results 1 – 9 of 9) sorted by relevance

/base/hiviewdfx/hilog/test/unittest/common/
Dhilogtool_test.cpp28 std::string GetCmdResultFromPopen(const std::string& cmd);
32 (void)GetCmdResultFromPopen("hilog -b I"); in TearDownTestCase()
33 (void)GetCmdResultFromPopen("hilog -G 256K"); in TearDownTestCase()
34 (void)GetCmdResultFromPopen("hilog -w stop"); in TearDownTestCase()
35 (void)GetCmdResultFromPopen("hilog -w start"); in TearDownTestCase()
61 std::string GetCmdResultFromPopen(const std::string& cmd) in GetCmdResultFromPopen() function
171 EXPECT_EQ(GetCmdResultFromPopen(cmd), str);
172 EXPECT_EQ(GetCmdResultFromPopen(query), level + " \n");
177 EXPECT_EQ(GetCmdResultFromPopen(cmd), errMsg);
197 EXPECT_EQ(GetCmdResultFromPopen(cmd), str);
[all …]
Dhilog_print_test.cpp28 std::string GetCmdResultFromPopen(const std::string& cmd) in GetCmdResultFromPopen() function
55 (void)GetCmdResultFromPopen("hilog -b X"); in SetUpTestCase()
56 (void)GetCmdResultFromPopen("hilog -b I -D d002d00"); in SetUpTestCase()
61 (void)GetCmdResultFromPopen("hilog -b I"); in TearDownTestCase()
66 (void)GetCmdResultFromPopen("hilog -r"); in SetUp()
102 std::string res = GetCmdResultFromPopen("hilog -T HILOGTEST_C -x");
140 std::string res = GetCmdResultFromPopen("hilog -T HILOGTEST_C -x");
166 std::string res = GetCmdResultFromPopen("hilog -T HILOGTEST_C -x");
198 std::string res = GetCmdResultFromPopen("hilog -T HILOGTEST_C -x");
Dhilog_utils_test.cpp26 static std::string GetCmdResultFromPopen(const std::string& cmd) in GetCmdResultFromPopen() function
219 uint32_t pid = stoi(GetCmdResultFromPopen("pidof hilogd"));
/base/hiviewdfx/hiview/test/moduletest/common/
Dhiview_plugin_platform_module_test.cpp24 std::string GetCmdResultFromPopen(const std::string& cmd) in GetCmdResultFromPopen() function
49 std::string pidStr = GetCmdResultFromPopen(cmd); in GetServicePid()
61 GetCmdResultFromPopen(cmd); in WaitForServiceReady()
/base/hiviewdfx/faultloggerd/test/moduletest/
Dfaultloggerd_module_test.cpp27 std::string GetCmdResultFromPopen(const std::string& cmd) in GetCmdResultFromPopen() function
52 std::string pidStr = GetCmdResultFromPopen(cmd); in GetServicePid()
65 GetCmdResultFromPopen(cmd); in WaitForServiceReady()
102 std::string result = GetCmdResultFromPopen(cmd);
/base/hiviewdfx/faultloggerd/test/systemtest/include/
Dfaultloggerd_system_test.h80 static std::string GetCmdResultFromPopen(const std::string& cmd);
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/src/
Ddfx_processdump_test.cpp163 static string GetCmdResultFromPopen(const string& cmd) in GetCmdResultFromPopen() function
207 string pidStr = GetCmdResultFromPopen(cmd); in GetServicePid()
236 (void)GetCmdResultFromPopen(launchCmd); in LaunchTestHap()
/base/hiviewdfx/faultloggerd/test/unittest/dump_catcher/
Ddumpcatcher_interfaces_test.cpp112 static std::string GetCmdResultFromPopen(const std::string& cmd) in GetCmdResultFromPopen() function
136 std::string pidStr = GetCmdResultFromPopen(cmd); in GetServicePid()
147 (void)GetCmdResultFromPopen(launchCmd); in LaunchTestHap()
/base/hiviewdfx/faultloggerd/test/systemtest/src/
Dfaultloggerd_system_test.cpp678 std::string FaultLoggerdSystemTest::GetCmdResultFromPopen(const std::string& cmd) in GetCmdResultFromPopen() function in FaultLoggerdSystemTest
703 std::string pidStr = GetCmdResultFromPopen(cmd); in GetServicePid()
714 (void)GetCmdResultFromPopen(launchCmd); in LaunchTestHap()