Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6929)

Unified Diff: chrome/test/webdriver/commands/set_timeout_commands_unittest.cc

Issue 7661009: base: Add Is* functions to Value class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tony review Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/webdriver/commands/command.cc ('k') | chrome/test/webdriver/commands/webelement_commands.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/webdriver/commands/set_timeout_commands_unittest.cc
diff --git a/chrome/test/webdriver/commands/set_timeout_commands_unittest.cc b/chrome/test/webdriver/commands/set_timeout_commands_unittest.cc
index ff8f5ac25b8088c646cbeaa865b6b50b34554fa4..5d121778f2cf05cb9b454f4a1a3cf3d924368d74 100644
--- a/chrome/test/webdriver/commands/set_timeout_commands_unittest.cc
+++ b/chrome/test/webdriver/commands/set_timeout_commands_unittest.cc
@@ -31,7 +31,7 @@ void AssertError(ErrorCode expected_status,
ASSERT_EQ(expected_status, response.GetStatus()) << response.ToJSON();
const Value* value = response.GetValue();
- ASSERT_TRUE(value->IsType(Value::TYPE_DICTIONARY));
+ ASSERT_TRUE(value->IsDictionary());
const DictionaryValue* dict = static_cast<const DictionaryValue*>(value);
std::string actual_message;
« no previous file with comments | « chrome/test/webdriver/commands/command.cc ('k') | chrome/test/webdriver/commands/webelement_commands.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698