Commit 20a15803 authored by Shengfa Lin's avatar Shengfa Lin Committed by Commit Bot

[chromedriver] Fix print unittest type

PrintParams should be of type base::DictionaryValue

Bug: chromedriver:3481
Change-Id: I4dae87d6e1a88585d592a1be85b757ff01d8d869
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2324668
Auto-Submit: Shengfa Lin <shengfa@google.com>
Commit-Queue: John Chen <johnchen@chromium.org>
Reviewed-by: default avatarJohn Chen <johnchen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#792465}
parent 3c554223
...@@ -414,7 +414,7 @@ TEST(WindowCommandsTest, ExecutePrintDefaultParams) { ...@@ -414,7 +414,7 @@ TEST(WindowCommandsTest, ExecutePrintDefaultParams) {
Status status = Status status =
CallWindowCommand(ExecutePrint, &webview, params, &result_value); CallWindowCommand(ExecutePrint, &webview, params, &result_value);
ASSERT_EQ(kOk, status.code()) << status.message(); ASSERT_EQ(kOk, status.code()) << status.message();
base::Value printParams = getDefaultPrintParams(); base::DictionaryValue printParams = getDefaultPrintParams();
ASSERT_EQ(static_cast<const base::Value&>(printParams), webview.getParams()); ASSERT_EQ(static_cast<const base::Value&>(printParams), webview.getParams());
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment