Home
last modified time | relevance | path

Searched refs:kKey1 (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/ui/base/
Dview_prop_unittest.cc11 const char kKey1[] = "key_1"; variable
26 EXPECT_EQ(NULL, ViewProp::GetValue(nv1, kKey1)); in TEST()
30 ViewProp prop(nv1, kKey1, data1); in TEST()
31 EXPECT_EQ(data1, ViewProp::GetValue(nv1, kKey1)); in TEST()
35 EXPECT_EQ(NULL, ViewProp::GetValue(nv1, kKey1)); in TEST()
39 scoped_ptr<ViewProp> v1(new ViewProp(nv1, kKey1, data1)); in TEST()
40 EXPECT_EQ(data1, ViewProp::GetValue(nv1, kKey1)); in TEST()
43 scoped_ptr<ViewProp> v2(new ViewProp(nv1, kKey1, data2)); in TEST()
45 EXPECT_EQ(data2, ViewProp::GetValue(nv1, kKey1)); in TEST()
49 EXPECT_EQ(NULL, ViewProp::GetValue(nv1, kKey1)); in TEST()
[all …]
/external/chromium_org/components/policy/core/common/cloud/
Dresource_cache_unittest.cc18 const char kKey1[] = "key 1"; variable
44 EXPECT_FALSE(cache.Load(kKey1, kSubA, &data)); in TEST()
47 EXPECT_TRUE(cache.Store(kKey1, kSubA, kData0)); in TEST()
48 EXPECT_TRUE(cache.Load(kKey1, kSubA, &data)); in TEST()
52 EXPECT_TRUE(cache.Store(kKey1, kSubB, kData1)); in TEST()
62 cache.LoadAllSubkeys(kKey1, &contents); in TEST()
68 EXPECT_TRUE(cache.Store(kKey1, kSubC, kData1)); in TEST()
69 EXPECT_TRUE(cache.Store(kKey1, kSubD, kData1)); in TEST()
70 EXPECT_TRUE(cache.Store(kKey1, kSubE, kData1)); in TEST()
76 cache.PurgeOtherSubkeys(kKey1, keep); in TEST()
[all …]
/external/chromium_org/chrome/browser/chromeos/policy/
Dcloud_external_data_store_unittest.cc19 const char kKey1[] = "Key 1"; variable
60 CloudExternalDataStore store(kKey1, task_runner_, resource_cache_.get()); in TEST_F()
74 CloudExternalDataStore store(kKey1, task_runner_, resource_cache_.get()); in TEST_F()
80 resource_cache_->LoadAllSubkeys(kKey1, &contents); in TEST_F()
91 resource_cache_->LoadAllSubkeys(kKey1, &contents); in TEST_F()
97 CloudExternalDataStore store(kKey1, task_runner_, resource_cache_.get()); in TEST_F()
103 resource_cache_->LoadAllSubkeys(kKey1, &contents); in TEST_F()
113 resource_cache_->LoadAllSubkeys(kKey1, &contents); in TEST_F()
119 CloudExternalDataStore store(kKey1, task_runner_, resource_cache_.get()); in TEST_F()
140 resource_cache_->LoadAllSubkeys(kKey1, &contents); in TEST_F()
[all …]
/external/chromium_org/content/browser/dom_storage/
Dsession_storage_database_unittest.cc72 const base::string16 kKey1; member in content::SessionStorageDatabaseTest
90 kKey1(base::ASCIIToUTF16("key1")), in SessionStorageDatabaseTest()
395 changes[kKey1] = kValue1; in TEST_F()
398 reference[kKey1] = kValue1; in TEST_F()
409 changes[kKey1] = kValue4; in TEST_F()
411 reference[kKey1] = kValue4; in TEST_F()
422 reference.erase(kKey1); in TEST_F()
433 data1[kKey1] = kValue1; in TEST_F()
439 data2[kKey1] = kValue4; in TEST_F()
452 data11[kKey1] = kValue1; in TEST_F()
[all …]
/external/chromium_org/crypto/
Dghash_unittest.cc18 static const uint8 kKey1[16] = { variable
61 kKey1,
72 kKey1,
/external/chromium_org/dbus/
Dvalues_util_unittest.cc273 const std::string kKey1 = "one"; in TEST() local
274 entry_writer.AppendString(kKey1); in TEST()
300 dictionary_value.SetBoolean(kKey1, kBoolValue); in TEST()
320 const std::string kKey1 = "www.example.com"; // String including dots. in TEST() local
321 entry_writer.AppendString(kKey1); in TEST()
342 kKey1, new base::FundamentalValue(kBoolValue)); in TEST()
512 const std::string kKey1 = "one"; in TEST() local
529 dictionary_value->SetBoolean(kKey1, kBoolValue); in TEST()
533 test_dictionary.SetBoolean(kKey1, kBoolValue); in TEST()
559 const std::string kKey1 = "one"; in TEST() local
[all …]