Chromium Code Reviews| Index: blimp/common/logging_unittest.cc |
| diff --git a/blimp/common/logging_unittest.cc b/blimp/common/logging_unittest.cc |
| index 238aa59391dd2e4bb20cf4ca03a3fc3dd4138946..5c54511a74f752e48cd326257498683081dd3f8e 100644 |
| --- a/blimp/common/logging_unittest.cc |
| +++ b/blimp/common/logging_unittest.cc |
| @@ -54,7 +54,13 @@ TEST_F(LoggingTest, Input) { |
| BlimpMessage base_msg; |
| base_msg.set_type(BlimpMessage::INPUT); |
| base_msg.set_target_tab_id(kTargetTab); |
| - VerifyLogOutput("type=INPUT render_widget_id=0 target_tab_id=123", base_msg); |
| + base_msg.mutable_input()->set_type(InputMessage::Type_GestureScrollBegin); |
| + base_msg.mutable_input()->set_render_widget_id(1); |
| + base_msg.mutable_input()->set_timestamp_seconds(2); |
| + VerifyLogOutput( |
| + "type=INPUT render_widget_id=1 timestamp_seconds=2.000000 " |
| + "subtype=GestureScrollBegin target_tab_id=123", |
| + base_msg); |
|
Kevin M
2016/04/05 16:57:39
Add additional tests to get coverage over all subt
haibinlu
2016/04/05 17:53:22
Done.
|
| } |
| TEST_F(LoggingTest, Navigation) { |