Lines Matching refs:std
104 static int GetDeadlineInfo(const std::string& /*test_name*/) { in GetDeadlineInfo()
109 static int GetWarnlineInfo(const std::string& /*test_name*/) { in GetWarnlineInfo()
149 const std::string& GetName() const { return name_; } in GetName()
161 void AppendTestOutput(const std::string& s) { output_ += s; } in AppendTestOutput()
163 const std::string& GetTestOutput() const { return output_; } in GetTestOutput()
166 const std::string name_;
169 std::string output_;
177 const std::string& GetName() const { return name_; } in GetName()
185 std::string GetTestName(size_t test_id) const { in GetTestName()
230 const std::string name_;
231 std::vector<Test> test_list_;
260 std::chrono::nanoseconds duration( in NanoTime()
261 std::chrono::steady_clock::now().time_since_epoch()); in NanoTime()
266 std::vector<TestCase>& testcase_list) { in EnumerateTests()
267 std::string command; in EnumerateTests()
319 const std::vector<TestCase>& testcase_list, size_t iteration, in OnTestIterationStartPrint()
343 const std::string& test_output = testcase.GetTest(test_id).GetTestOutput(); in OnTestEndPrint()
360 static void OnTestIterationEndPrint(const std::vector<TestCase>& testcase_list, in OnTestIterationEndPrint()
363 std::vector<std::string> fail_test_name_list; in OnTestIterationEndPrint()
364 std::vector<std::pair<std::string, int64_t>> timeout_test_list; in OnTestIterationEndPrint()
367 std::vector<std::tuple<std::string, int64_t, int>> slow_test_list; in OnTestIterationEndPrint()
382 std::make_pair(testcase.GetTestName(i), testcase.GetTestTime(i))); in OnTestIterationEndPrint()
388 std::make_tuple(testcase.GetTestName(i), testcase.GetTestTime(i), in OnTestIterationEndPrint()
440 std::get<0>(slow_tuple).c_str(), std::get<1>(slow_tuple) / 1000000, in OnTestIterationEndPrint()
441 std::get<2>(slow_tuple)); in OnTestIterationEndPrint()
460 std::string XmlEscape(const std::string& xml) { in XmlEscape()
461 std::string escaped; in XmlEscape()
498 void OnTestIterationEndXmlPrint(const std::string& xml_output_filename, in OnTestIterationEndXmlPrint()
499 const std::vector<TestCase>& testcase_list, in OnTestIterationEndXmlPrint()
511 std::vector<size_t> failed_count_list(testcase_list.size(), 0); in OnTestIterationEndXmlPrint()
512 std::vector<int64_t> elapsed_time_list(testcase_list.size(), 0); in OnTestIterationEndXmlPrint()
558 const std::string& test_output = testcase.GetTest(j).GetTestOutput(); in OnTestIterationEndXmlPrint()
559 const std::string escaped_test_output = XmlEscape(test_output); in OnTestIterationEndXmlPrint()
625 const std::string& test_name) { in ChildProcessFn()
641 static ChildProcInfo RunChildProcess(const std::string& test_name, in RunChildProcess()
685 static void HandleSignals(std::vector<TestCase>& testcase_list, in HandleSignals()
686 std::vector<ChildProcInfo>& child_proc_list) { in HandleSignals()
693 std::string test_name = in HandleSignals()
718 std::vector<ChildProcInfo>& child_proc_list) { in CheckChildProcExit()
732 std::vector<ChildProcInfo>& child_proc_list) { in CheckChildProcTimeout()
746 static void ReadChildProcOutput(std::vector<TestCase>& testcase_list, in ReadChildProcOutput()
747 std::vector<ChildProcInfo>& child_proc_list) { in ReadChildProcOutput()
771 static void WaitChildProcs(std::vector<TestCase>& testcase_list, in WaitChildProcs()
772 std::vector<ChildProcInfo>& child_proc_list) { in WaitChildProcs()
869 std::vector<TestCase>& testcase_list, in RunTestInSeparateProc()
871 const std::string& xml_output_filename) { in RunTestInSeparateProc()
892 std::vector<ChildProcInfo> child_proc_list; in RunTestInSeparateProc()
899 std::vector<size_t> finished_test_count_list(testcase_list.size(), 0); in RunTestInSeparateProc()
906 std::string test_name = in RunTestInSeparateProc()
965 static void AddPathSeparatorInTestProgramPath(std::vector<char*>& args) { in AddPathSeparatorInTestProgramPath()
987 static void AddGtestFilterSynonym(std::vector<char*>& args) { in AddGtestFilterSynonym()
1001 std::string gtest_color;
1004 std::string gtest_output;
1019 static bool PickOptions(std::vector<char*>& args, in PickOptions()
1043 std::string gtest_filter_str; in PickOptions()
1046 gtest_filter_str = std::string(args[i]); in PickOptions()
1058 if (gtest_filter_str.find(":-") != std::string::npos) { in PickOptions()
1139 std::string output = args[i] + strlen("--gtest_output="); in PickOptions()
1151 output = std::string(cwd) + "/" + output; in PickOptions()
1185 std::vector<char*> arg_list; in main()
1201 std::vector<TestCase> testcase_list; in main()