Chromium Code Reviews| Index: webrtc/logging/rtc_event_log/rtc_event_log_unittest_helper.cc |
| diff --git a/webrtc/logging/rtc_event_log/rtc_event_log_unittest_helper.cc b/webrtc/logging/rtc_event_log/rtc_event_log_unittest_helper.cc |
| index 9d98855d4af9deda2b4b85da37ef9f9965b41474..ed72edf02496534836af06d0cfb418de8d4adb66 100644 |
| --- a/webrtc/logging/rtc_event_log/rtc_event_log_unittest_helper.cc |
| +++ b/webrtc/logging/rtc_event_log/rtc_event_log_unittest_helper.cc |
| @@ -570,4 +570,12 @@ void RtcEventLogTestHelper::VerifyProbeResultFailure( |
| // TODO(philipel): Verify the parser when parsing has been implemented. |
| } |
| +void RtcEventLogTestHelper::VerifyLogHostLookupEvent( |
|
terelius
2017/08/18 11:41:33
You should also test that the error code and elaps
|
| + const ParsedRtcEventLog& parsed_log, |
| + size_t index) { |
| + const rtclog::Event& event = parsed_log.events_[index]; |
| + ASSERT_TRUE(IsValidBasicEvent(event)); |
| + EXPECT_EQ(rtclog::Event::HOST_LOOKUP_EVENT, event.type()); |
| +} |
| + |
| } // namespace webrtc |