/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
PreferenceGroupTest.java | 31 private Preference pref1, pref2; field in class:PreferenceGroupTest 41 pref1 = new Preference(context); 42 pref1.setKey("pref1"); 58 assertThat( group.addPreference(pref1), equalTo(true)); 62 assertThat( group.addPreference(pref1), equalTo(true)); 75 group.addItemFromInflater(pref1); 79 group.addItemFromInflater(pref1); 89 group.addPreference(pref1); 92 assertThat( group.getPreference(0), sameInstance(pref1)); [all...] |
/external/chromium_org/sync/engine/ |
directory_commit_contribution_unittest.cc | 118 int64 pref1; local 121 pref1 = CreateUnsyncedItem(&trans, PREFERENCES, "pref1"); 132 EXPECT_TRUE(std::find(metahandles.begin(), metahandles.end(), pref1) != 134 EXPECT_TRUE(std::find(metahandles.begin(), metahandles.end(), pref1) != 143 int64 pref1; local 147 pref1 = CreateUnsyncedItem(&trans, PREFERENCES, "pref1"); 158 EXPECT_TRUE(only_metahandle == pref1 || only_metahandle == pref2); 170 CreateUnsyncedItem(&trans, PREFERENCES, "pref1"); 219 int64 pref1; local 330 int64 pref1; local [all...] |
/external/chromium_org/base/prefs/ |
pref_member_unittest.cc | 253 DoublePrefMember pref1; local 254 pref1.Init(kDoublePref, &prefs); 258 pref1.SetValue(2.3); 262 EXPECT_EQ(3.5, *pref1); 265 EXPECT_EQ(4.2, *pref1);
|
/external/chromium_org/sync/internal_api/ |
sync_rollback_manager_unittest.cc | 185 PrepopulateDb(PREFERENCES, "pref1"); 209 PrepopulateDb(PREFERENCES, "pref1"); 236 PrepopulateDb(PREFERENCES, "pref1");
|
sync_manager_impl_unittest.cc | [all...] |
/external/chromium_org/chrome/browser/ui/startup/ |
startup_browser_creator_browsertest.cc | 612 SessionStartupPref pref1(SessionStartupPref::URLS); 613 pref1.urls = urls1; 614 SessionStartupPref::SetStartupPref(default_profile, pref1); 700 SessionStartupPref pref1(SessionStartupPref::URLS); 701 pref1.urls = urls1; 702 SessionStartupPref::SetStartupPref(profile1, pref1); [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
CookieManagerTest.java | 118 "Set-cookie:PREF1=test2;path=/;domain=.beg.com;", "http://a.b.c/" },
|
/libcore/luni/src/test/java/libcore/java/util/prefs/ |
OldPreferencesTest.java | 297 Preferences pref1 = Preferences.userNodeForPackage(Preferences.class); local 298 assertTrue(pref1.isUserNode()); [all...] |