libsnapshot: no underscores in test names
This is required for gtest. Test: run it Change-Id: I9b0d7ee651c283c00035104d4257d8e8addf4db0
This commit is contained in:
parent
bc58945cd1
commit
be230af10b
1 changed files with 6 additions and 6 deletions
|
@ -606,17 +606,17 @@ enum class Request { UNKNOWN, LOCK_SHARED, LOCK_EXCLUSIVE, UNLOCK, EXIT };
|
|||
std::ostream& operator<<(std::ostream& os, Request request) {
|
||||
switch (request) {
|
||||
case Request::LOCK_SHARED:
|
||||
return os << "LOCK_SHARED";
|
||||
return os << "Shared";
|
||||
case Request::LOCK_EXCLUSIVE:
|
||||
return os << "LOCK_EXCLUSIVE";
|
||||
return os << "Exclusive";
|
||||
case Request::UNLOCK:
|
||||
return os << "UNLOCK";
|
||||
return os << "Unlock";
|
||||
case Request::EXIT:
|
||||
return os << "EXIT";
|
||||
return os << "Exit";
|
||||
case Request::UNKNOWN:
|
||||
[[fallthrough]];
|
||||
default:
|
||||
return os << "UNKNOWN";
|
||||
return os << "Unknown";
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -746,7 +746,7 @@ INSTANTIATE_TEST_SUITE_P(
|
|||
LockTestParam{Request::LOCK_SHARED, Request::LOCK_EXCLUSIVE}),
|
||||
[](const testing::TestParamInfo<LockTestP::ParamType>& info) {
|
||||
std::stringstream ss;
|
||||
ss << info.param.first << "_" << info.param.second;
|
||||
ss << info.param.first << info.param.second;
|
||||
return ss.str();
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue