Home
last modified time | relevance | path

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

/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/dump_catcher/
H A Ddumpcatcher_command_test.cpp31 static int g_testPid = 0; variable
46 g_testPid = LaunchTestHap(testAbiltyName, testBundleName); in SetUpTestCase()
111 if (g_testPid == 0) {
115 if (!CheckProcessComm(g_testPid, TRUNCATE_TEST_BUNDLE_NAME)) {
119 string testCommand = "dumpcatcher -p " + to_string(g_testPid);
123 log[0] = log[0] + to_string(g_testPid);
139 if (g_testPid == 0) {
147 string testCommand = "dumpcatcher -p " + to_string(g_testPid) + " -t " + to_string(g_testPid);
151 log[0] = log[0] + to_string(g_testPid);
167 if (g_testPid == 0) {
[all …]
H A Ddumpcatcher_interfaces_test.cpp52 int g_testPid = 0; variable
59 g_testPid = LaunchTestHap(testAbiltyName, testBundleName); in SetUpTestCase()
364 if (g_testPid == 0) {
374 bool ret = dumplog.DumpCatchMix(g_testPid, 0, msg);
377 log[0] += std::to_string(g_testPid);
394 if (g_testPid == 0) {
404 bool ret = dumplog.DumpCatchMix(g_testPid, g_testPid, msg);
407 log[0] += std::to_string(g_testPid);
425 if (g_testPid == 0) {
435 bool ret = dumplog.DumpCatchMix(g_testPid, -1, msg);
[all …]