Searched refs:keywords (Results 1 - 6 of 6) sorted by relevance
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/ |
H A D | dfx_processdump_test.cpp | 127 string keywords[] = { in CheckCppCrashKeyWords() local 131 int length = sizeof(keywords) / sizeof(keywords[0]); in CheckCppCrashKeyWords() 133 int count = CheckKeyWords(filePath, keywords, length, minRegIdx); in CheckCppCrashKeyWords() 137 bool CheckCppCrashExtraKeyWords(const string& filePath, std::string *keywords, int length, int minRegIdx) in CheckCppCrashExtraKeyWords() argument 142 int count = CheckKeyWords(filePath, keywords, length, minRegIdx); in CheckCppCrashExtraKeyWords() 363 string keywords[] = { in HWTEST_F() local 366 int length = sizeof(keywords) / sizeof(keywords[0]); in HWTEST_F() 368 ASSERT_TRUE(CheckCppCrashExtraKeyWords(filename, keywords, lengt in HWTEST_F() 385 string keywords[openNum]; HWTEST_F() local [all...] |
/base/hiviewdfx/faultloggerd/test/utils/ |
H A D | dfx_test_util.h | 84 int CheckKeyWords(const std::string& filePath, std::string *keywords, int length, int minRegIdx); 86 int GetKeywordsNum(const std::string& msg, std::string *keywords, int length);
|
H A D | dfx_test_util.cpp | 144 int CheckKeyWords(const std::string& filePath, std::string *keywords, int length, int minRegIdx) in CheckKeyWords() argument 157 idx = t.at(i).find(keywords[j]); in CheckKeyWords() 173 std::cout << "Matched keywords count: " << count << std::endl; in CheckKeyWords() 175 std::cout << "Not found keyword: " << keywords[j] << std::endl; in CheckKeyWords() 199 int GetKeywordsNum(const std::string& msg, std::string *keywords, int length) in GetKeywordsNum() argument 204 idx = msg.find(keywords[i]); in GetKeywordsNum()
|
/base/hiviewdfx/faultloggerd/test/unittest/signal_handler/ |
H A D | signal_handler_test.cpp | 76 string keywords[] = { in CheckThreadCrashKeyWords() local 80 int length = sizeof(keywords) / sizeof(keywords[0]); in CheckThreadCrashKeyWords() 82 return CheckKeyWords(filePath, keywords, length, minRegIdx) == length; in CheckThreadCrashKeyWords() 104 string keywords[] = { in CheckCrashKeyWords() local 108 int length = sizeof(keywords) / sizeof(keywords[0]); in CheckCrashKeyWords() 110 return CheckKeyWords(filePath, keywords, length, minRegIdx) == length; in CheckCrashKeyWords()
|
/base/hiviewdfx/faultloggerd/test/unittest/local_handler/ |
H A D | local_handler_test.cpp | 80 string keywords[] = { in CheckLocalCrashKeyWords() local 85 string keywords[] = { in CheckLocalCrashKeyWords() local 91 int length = sizeof(keywords) / sizeof(keywords[0]); in CheckLocalCrashKeyWords() 93 return CheckKeyWords(filePath, keywords, length, minRegIdx) == length; in CheckLocalCrashKeyWords()
|
/base/hiviewdfx/hiview/plugins/faultlogger/test/common/unittest/ |
H A D | faultlogger_unittest.cpp | 137 static int CheckKeyWordsInFile(const std::string& filePath, std::string *keywords, int length, bool isJsError) in CheckKeyWordsInFile() argument 150 if (info.find(keywords[index]) != std::string::npos) { in CheckKeyWordsInFile() 153 std::cout << "can not find keyword:" << keywords[index] << std::endl; in CheckKeyWordsInFile() 202 std::string keywords[] = { in CheckKeyWordsInJsErrorAppEventFile() local 207 int length = sizeof(keywords) / sizeof(keywords[0]); in CheckKeyWordsInJsErrorAppEventFile() 210 int count = CheckKeyWordsInFile(oldFileName, keywords, length, true); in CheckKeyWordsInJsErrorAppEventFile() 212 ASSERT_EQ(count, length) << "ReportJsErrorToAppEventTest001-" + name + " check keywords failed"; in CheckKeyWordsInJsErrorAppEventFile() 225 std::string keywords[] = {"\"Cannot get SourceMap info, dump raw stack:"}; in CheckDeleteStackErrorMessage() local 226 int length = sizeof(keywords) / sizeo in CheckDeleteStackErrorMessage() 424 string keywords[] = { "\\"time\\":", "\\"pid\\":", "\\"exception\\":", "\\"threads\\":", "\\"thread_name\\":", "\\"tid\\":" }; HWTEST_F() local [all...] |
Completed in 7 milliseconds