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

Unified Diff: chrome/test/webdriver/webdriver_dispatch_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/webdriver_dispatch.cc ('k') | chrome/test/webdriver/webdriver_element_id.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/webdriver/webdriver_dispatch_unittest.cc
diff --git a/chrome/test/webdriver/webdriver_dispatch_unittest.cc b/chrome/test/webdriver/webdriver_dispatch_unittest.cc
index 4f25c7d8af9ca2d1baa65b0e7c1e3808955fe118..85f2be439df84faf4961294080683f483997dc13 100644
--- a/chrome/test/webdriver/webdriver_dispatch_unittest.cc
+++ b/chrome/test/webdriver/webdriver_dispatch_unittest.cc
@@ -136,7 +136,7 @@ TEST(DispatchTest, ReturnsCommandResponseAsJson) {
actual_data, false, &error_code, &error_message));
ASSERT_TRUE(parsed_response.get() != NULL) << error_message;
- ASSERT_TRUE(parsed_response->IsType(Value::TYPE_DICTIONARY))
+ ASSERT_TRUE(parsed_response->IsDictionary())
<< "Response should be a dictionary: " << actual_data;
DictionaryValue* dict = static_cast<DictionaryValue*>(parsed_response.get());
« no previous file with comments | « chrome/test/webdriver/webdriver_dispatch.cc ('k') | chrome/test/webdriver/webdriver_element_id.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698