/external/chromium/base/json/ |
json_writer_unittest.cc | 51 DictionaryValue root_dict; local 53 root_dict.Set("list", list); 62 JSONWriter::Write(&root_dict, false, &output_js); 64 JSONWriter::Write(&root_dict, true, &output_js);
|
/external/chromium/chrome/browser/prefs/ |
pref_service_uitest.cc | 102 DictionaryValue* root_dict = static_cast<DictionaryValue*>(root.get()); local 116 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".bottom", 121 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".top", 126 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".left", 131 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".right", 139 EXPECT_TRUE(root_dict->GetBoolean(kBrowserWindowPlacement + ".maximized", 172 DictionaryValue* root_dict = static_cast<DictionaryValue*>(root.get()); local 178 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".bottom", 183 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".top", 188 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".left" [all...] |
/external/chromium_org/chrome/browser/prefs/ |
pref_service_browsertest.cc | 136 DictionaryValue* root_dict = static_cast<DictionaryValue*>(root.get()); local 144 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".bottom", 149 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".top", 154 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".left", 159 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".right", 166 EXPECT_TRUE(root_dict->GetBoolean(kBrowserWindowPlacement + ".maximized", 202 DictionaryValue* root_dict = static_cast<DictionaryValue*>(root.get()); local 208 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".bottom", 213 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".top", 218 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".left" [all...] |
/external/chromium/chrome/common/ |
json_value_serializer_unittest.cc | 27 DictionaryValue* root_dict = static_cast<DictionaryValue*>(root.get()); local 30 ASSERT_TRUE(root_dict->Get("null", &null_value)); 35 ASSERT_TRUE(root_dict->GetBoolean("bool", &bool_value)); 39 ASSERT_TRUE(root_dict->GetInteger("int", &int_value)); 43 ASSERT_TRUE(root_dict->GetDouble("double", &double_value)); 48 ASSERT_FALSE(serializer.Serialize(*root_dict)); 52 ASSERT_TRUE(mutable_serializer.Serialize(*root_dict)); 56 ASSERT_TRUE(mutable_serializer.Serialize(*root_dict)); 265 DictionaryValue* root_dict = static_cast<DictionaryValue*>(root.get()); local 268 ASSERT_TRUE(root_dict->Get("null", &null_value)) [all...] |
/external/chromium_org/base/json/ |
json_writer_unittest.cc | 51 DictionaryValue root_dict; local 53 root_dict.Set("list", list); 62 JSONWriter::Write(&root_dict, &output_js); 64 JSONWriter::WriteWithOptions(&root_dict, JSONWriter::OPTIONS_PRETTY_PRINT,
|
json_value_serializer_unittest.cc | 176 DictionaryValue* root_dict = static_cast<DictionaryValue*>(root.get()); local 179 ASSERT_TRUE(root_dict->Get("null", &null_value)); 184 ASSERT_TRUE(root_dict->GetBoolean("bool", &bool_value)); 188 ASSERT_TRUE(root_dict->GetInteger("int", &int_value)); 192 ASSERT_TRUE(root_dict->GetDouble("double", &double_value)); 197 ASSERT_FALSE(serializer.Serialize(*root_dict)); 201 ASSERT_TRUE(mutable_serializer.Serialize(*root_dict)); 205 ASSERT_TRUE(mutable_serializer.Serialize(*root_dict)); 398 DictionaryValue* root_dict = static_cast<DictionaryValue*>(root.get()); local 401 ASSERT_TRUE(root_dict->Get("null", &null_value)) [all...] |
json_reader_unittest.cc | 585 DictionaryValue* root_dict = NULL; local 586 ASSERT_TRUE(root->GetAsDictionary(&root_dict)); 591 ASSERT_TRUE(root_dict->GetDictionary("test", &dict)); 592 ASSERT_TRUE(root_dict->GetList("list", &list));
|
/external/chromium_org/base/metrics/ |
statistics_recorder_unittest.cc | 281 DictionaryValue* root_dict = NULL; local 282 ASSERT_TRUE(root->GetAsDictionary(&root_dict)); 285 ASSERT_FALSE(root_dict->HasKey("query")); 288 ASSERT_TRUE(root_dict->GetList("histograms", &histogram_list)); 305 ASSERT_TRUE(root->GetAsDictionary(&root_dict)); 308 ASSERT_TRUE(root_dict->GetString("query", &query_value)); 311 ASSERT_TRUE(root_dict->GetList("histograms", &histogram_list));
|
/external/chromium_org/google_apis/drive/ |
base_requests_unittest.cc | 118 DictionaryValue* root_dict = NULL; local 120 ASSERT_TRUE(json->GetAsDictionary(&root_dict)); 123 ASSERT_TRUE(root_dict->GetInteger("test", &int_value));
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
configuration_policy_handler_chromeos.cc | 148 scoped_ptr<base::DictionaryValue> root_dict = local 150 if (root_dict.get() == NULL) { 166 root_dict = validator.ValidateAndRepairObject( 167 &chromeos::onc::kToplevelConfigurationSignature, *root_dict,
|
/external/chromium/chrome/browser/ui/webui/chromeos/ |
mobile_setup_ui.cc | 365 DictionaryValue* root_dict = static_cast<DictionaryValue*>(root.get()); local 366 if (!root_dict->GetString(kVersionField, &version_)) { 371 if (!root_dict->GetDictionary(kErrorsField, &errors)) [all...] |
/external/chromium_org/chrome/browser/chromeos/mobile/ |
mobile_activator.cc | 133 DictionaryValue* root_dict = static_cast<DictionaryValue*>(root.get()); local 134 if (!root_dict->GetString(kVersionField, &version_)) { 140 if (!root_dict->GetDictionary(kErrorsField, &errors)) [all...] |