| 20 | } |
| 21 | |
| 22 | std::string GetTmpPathName(const char *suffix = ".tmp") |
| 23 | { |
| 24 | const auto *current_test = ::testing::UnitTest::GetInstance()->current_test_info(); |
| 25 | std::string result = "Test_"; |
| 26 | result.append(current_test->test_case_name()); |
| 27 | result += '_'; |
| 28 | result.append(current_test->name()); |
| 29 | result.append(suffix); |
| 30 | return result; |
| 31 | } |
| 32 | |
| 33 | TEST(FileUtil, GetFileSize) |
| 34 | { |