Rename UNIT_TEST to WEBRTC_UNIT_TEST
Current name conflicts with upstream project code. Bug: webrtc:12247 Change-Id: Ibd78273a75262772fc18fca688c29b9ba9525ce5 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/196653 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Andrey Logvin <landrey@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32813}
This commit is contained in:
committed by
Commit Bot
parent
7e6290d1d2
commit
b95d90b78a
@ -11,9 +11,9 @@
|
||||
#ifndef API_UNITS_TIMESTAMP_H_
|
||||
#define API_UNITS_TIMESTAMP_H_
|
||||
|
||||
#ifdef UNIT_TEST
|
||||
#ifdef WEBRTC_UNIT_TEST
|
||||
#include <ostream> // no-presubmit-check TODO(webrtc:8982)
|
||||
#endif // UNIT_TEST
|
||||
#endif // WEBRTC_UNIT_TEST
|
||||
|
||||
#include <string>
|
||||
#include <type_traits>
|
||||
@ -125,13 +125,13 @@ inline std::string ToLogString(Timestamp value) {
|
||||
return ToString(value);
|
||||
}
|
||||
|
||||
#ifdef UNIT_TEST
|
||||
#ifdef WEBRTC_UNIT_TEST
|
||||
inline std::ostream& operator<<( // no-presubmit-check TODO(webrtc:8982)
|
||||
std::ostream& stream, // no-presubmit-check TODO(webrtc:8982)
|
||||
Timestamp value) {
|
||||
return stream << ToString(value);
|
||||
}
|
||||
#endif // UNIT_TEST
|
||||
#endif // WEBRTC_UNIT_TEST
|
||||
|
||||
} // namespace webrtc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user