Searched refs:pref1 (Results 1 – 4 of 4) sorted by relevance
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | PreferenceGroupTest.java | 31 private Preference pref1, pref2; field in PreferenceGroupTest 41 pref1 = new Preference(context); in setUp() 42 pref1.setKey("pref1"); in setUp() 58 assertThat( group.addPreference(pref1), equalTo(true)); in shouldAddPreferences() 62 assertThat( group.addPreference(pref1), equalTo(true)); in shouldAddPreferences() 75 group.addItemFromInflater(pref1); in shouldAddItemFromInflater() 79 group.addItemFromInflater(pref1); in shouldAddItemFromInflater() 89 group.addPreference(pref1); in shouldGetPreference() 92 assertThat( group.getPreference(0), sameInstance(pref1)); in shouldGetPreference() 99 group.addPreference(pref1); in shouldGetPreferenceCount() [all …]
|
/external/chromium_org/sync/engine/ |
D | directory_commit_contribution_unittest.cc | 118 int64 pref1; in TEST_F() local 121 pref1 = CreateUnsyncedItem(&trans, PREFERENCES, "pref1"); in TEST_F() 132 EXPECT_TRUE(std::find(metahandles.begin(), metahandles.end(), pref1) != in TEST_F() 134 EXPECT_TRUE(std::find(metahandles.begin(), metahandles.end(), pref1) != in TEST_F() 143 int64 pref1; in TEST_F() local 147 pref1 = CreateUnsyncedItem(&trans, PREFERENCES, "pref1"); in TEST_F() 158 EXPECT_TRUE(only_metahandle == pref1 || only_metahandle == pref2); in TEST_F() 219 int64 pref1; in TEST_F() local 222 pref1 = CreateSyncedItem(&trans, PREFERENCES, "pref1"); in TEST_F() 223 syncable::MutableEntry e1(&trans, syncable::GET_BY_HANDLE, pref1); in TEST_F() [all …]
|
/external/chromium_org/base/prefs/ |
D | pref_member_unittest.cc | 253 DoublePrefMember pref1; in TEST() local 254 pref1.Init(kDoublePref, &prefs); in TEST() 258 pref1.SetValue(2.3); in TEST() 262 EXPECT_EQ(3.5, *pref1); in TEST() 265 EXPECT_EQ(4.2, *pref1); in TEST()
|
/external/chromium_org/chrome/browser/ui/startup/ |
D | startup_browser_creator_browsertest.cc | 612 SessionStartupPref pref1(SessionStartupPref::URLS); in IN_PROC_BROWSER_TEST_F() local 613 pref1.urls = urls1; in IN_PROC_BROWSER_TEST_F() 614 SessionStartupPref::SetStartupPref(default_profile, pref1); in IN_PROC_BROWSER_TEST_F() 700 SessionStartupPref pref1(SessionStartupPref::URLS); in IN_PROC_BROWSER_TEST_F() local 701 pref1.urls = urls1; in IN_PROC_BROWSER_TEST_F() 702 SessionStartupPref::SetStartupPref(profile1, pref1); in IN_PROC_BROWSER_TEST_F()
|