1 // Copyright (C) 2018. Huawei Technologies Co., Ltd. All rights reserved. 2 3 #ifndef GTEST_INCLUDE_GTEST_UTILS_H_ 4 #define GTEST_INCLUDE_GTEST_UTILS_H_ 5 6 #include <string> 7 #include <vector> 8 #include <algorithm> 9 10 namespace testing { 11 12 using ::std::string; 13 using ::std::vector; 14 15 bool compareStringsByIgnoreCase(const char* one, const char* two); 16 bool IsElementInVector(vector<int> vec, int element); 17 vector<string> SplitString(const string& str, const string& delim); 18 19 } // namespace testing 20 21 #endif // GTEST_INCLUDE_GTEST_UTILS_H_ 22