mirror of
https://github.com/google/googletest.git
synced 2025-12-06 16:57:00 +08:00
Don't print file
This commit is contained in:
parent
a6b70a685d
commit
6e35c3c072
@ -254,8 +254,8 @@ class MyScopedTraceTestListener : public ::testing::EmptyTestEventListener {
|
||||
void OnScopedTraceEnter(const testing::UnitTest& unit_test, const char* file,
|
||||
int line, std::string message) override {
|
||||
const auto* test_info = unit_test.current_test_info();
|
||||
printf("scoped trace enter test: %s trace: %s:%d message: %s.\n",
|
||||
test_info->name(), file, line, message.c_str());
|
||||
printf("scoped trace enter test: %s line: %d message: %s.\n",
|
||||
test_info->name(), line, message.c_str());
|
||||
}
|
||||
|
||||
void OnScopedTraceExit(const testing::UnitTest& unit_test) override {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user