This CL removes all usages of our custom ostream << overloads.
This prepares us for removing them altogether. Bug: webrtc:8982 Change-Id: I66002cc8d4bf0e07925766d568d2498422f0f38e Reviewed-on: https://webrtc-review.googlesource.com/64142 Commit-Queue: Jonas Olsson <jonasolsson@webrtc.org> Reviewed-by: Henrik Grunell <henrikg@webrtc.org> Reviewed-by: Fredrik Solenberg <solenberg@webrtc.org> Reviewed-by: Per Kjellander <perkj@webrtc.org> Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22707}
This commit is contained in:
@ -58,15 +58,6 @@ struct MoveOnlyInt2 {
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
// Simple test for ostream operator for RTCErrorType.
|
||||
TEST(RTCErrorTypeTest, OstreamOperator) {
|
||||
std::ostringstream oss;
|
||||
oss << webrtc::RTCErrorType::NONE << ' '
|
||||
<< webrtc::RTCErrorType::INVALID_PARAMETER << ' '
|
||||
<< webrtc::RTCErrorType::INTERNAL_ERROR;
|
||||
EXPECT_EQ("NONE INVALID_PARAMETER INTERNAL_ERROR", oss.str());
|
||||
}
|
||||
|
||||
// Test that the default constructor creates a "no error" error.
|
||||
TEST(RTCErrorTest, DefaultConstructor) {
|
||||
RTCError e;
|
||||
|
||||
Reference in New Issue
Block a user