Home
last modified time | relevance | path

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

/base/hiviewdfx/hidumper/test/unittest/common/
Dhidumper_configutils_test.cpp28 const OHOS::HiviewDFX::DumpCommonUtils DUMP_COMMON_UTILS = *(std::make_shared<OHOS::HiviewDFX::Dump… variable
183 std::vector<std::string> strs = DUMP_COMMON_UTILS.GetSubNodes(path, digit);
187 strs = DUMP_COMMON_UTILS.GetSubNodes(path, digit);
195 ASSERT_TRUE(DUMP_COMMON_UTILS.IsDirectory(pathTest));
199 ASSERT_FALSE(DUMP_COMMON_UTILS.IsDirectory(pathTest2));
205 std::vector<int32_t> pids = DUMP_COMMON_UTILS.GetAllPids();
212 ASSERT_TRUE(DUMP_COMMON_UTILS.GetCpuInfos(infos));
218 ASSERT_TRUE(DUMP_COMMON_UTILS.GetPidInfos(infos));
222 ASSERT_TRUE(DUMP_COMMON_UTILS.GetPidInfos(infosAll, true));
228 ASSERT_TRUE(DUMP_COMMON_UTILS.GetUserPids(pids));