Home | History | Annotate | Download | only in integration

Lines Matching refs:ASSERT_TRUE

52   ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
53 ASSERT_TRUE(BooleanPrefMatches(prefs::kHomePageIsNewTabPage));
56 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1)));
57 ASSERT_TRUE(BooleanPrefMatches(prefs::kHomePageIsNewTabPage));
62 ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
65 ASSERT_TRUE(StringPrefMatches(prefs::kHomePage));
69 ASSERT_TRUE(AwaitQuiescence());
70 ASSERT_TRUE(StringPrefMatches(prefs::kHomePage));
76 ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
77 ASSERT_TRUE(
81 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1)));
82 ASSERT_TRUE(
89 ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
92 ASSERT_TRUE(
94 ASSERT_TRUE(BooleanPrefMatches(sync_driver::prefs::kSyncThemes));
103 ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
106 ASSERT_TRUE(BooleanPrefMatches(sync_driver::prefs::kSyncPreferences));
107 ASSERT_TRUE(
112 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0))));
117 ASSERT_TRUE(AwaitQuiescence());
118 ASSERT_TRUE(
124 ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
127 ASSERT_TRUE(BooleanPrefMatches(sync_driver::prefs::kSyncPreferences));
128 ASSERT_TRUE(
130 ASSERT_TRUE(BooleanPrefMatches(prefs::kShowHomeButton));
134 ASSERT_TRUE(AwaitCommitActivityCompletion(GetSyncService((0))));
142 ASSERT_TRUE(AwaitQuiescence());
143 ASSERT_TRUE(
145 ASSERT_TRUE(BooleanPrefMatches(prefs::kShowHomeButton));
150 ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
153 ASSERT_TRUE(BooleanPrefMatches(sync_driver::prefs::kSyncPreferences));
154 ASSERT_TRUE(BooleanPrefMatches(sync_driver::prefs::kSyncBookmarks));
155 ASSERT_TRUE(BooleanPrefMatches(sync_driver::prefs::kSyncThemes));
156 ASSERT_TRUE(BooleanPrefMatches(sync_driver::prefs::kSyncExtensions));
157 ASSERT_TRUE(BooleanPrefMatches(sync_driver::prefs::kSyncAutofill));
158 ASSERT_TRUE(
172 ASSERT_TRUE(AwaitQuiescence());
185 ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
186 ASSERT_TRUE(BooleanPrefMatches(prefs::kShowBookmarkBar));
189 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1)));
190 ASSERT_TRUE(BooleanPrefMatches(prefs::kShowBookmarkBar));
195 ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
198 ASSERT_TRUE(BooleanPrefMatches(prefs::kCheckDefaultBrowser));
201 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1)));
207 ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
208 ASSERT_TRUE(StringPrefMatches(prefs::kHomePage));
211 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1)));
212 ASSERT_TRUE(StringPrefMatches(prefs::kHomePage));
217 ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
218 ASSERT_TRUE(BooleanPrefMatches(prefs::kShowHomeButton));
221 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1)));
222 ASSERT_TRUE(BooleanPrefMatches(prefs::kShowHomeButton));
227 ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
228 ASSERT_TRUE(BooleanPrefMatches(prefs::kEnableTranslate));
231 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1)));
232 ASSERT_TRUE(BooleanPrefMatches(prefs::kEnableTranslate));
237 ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
238 ASSERT_TRUE(BooleanPrefMatches(autofill::prefs::kAutofillEnabled));
241 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1)));
242 ASSERT_TRUE(BooleanPrefMatches(autofill::prefs::kAutofillEnabled));
248 ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
249 ASSERT_TRUE(IntegerPrefMatches(prefs::kRestoreOnStartup));
250 ASSERT_TRUE(ListPrefMatches(prefs::kURLsToRestoreOnStartup));
253 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1)));
254 ASSERT_TRUE(IntegerPrefMatches(prefs::kRestoreOnStartup));
261 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1)));
262 ASSERT_TRUE(IntegerPrefMatches(prefs::kRestoreOnStartup));
263 ASSERT_TRUE(ListPrefMatches(prefs::kURLsToRestoreOnStartup));
268 ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
269 ASSERT_TRUE(IntegerPrefMatches(prefs::kRestoreOnStartup));
272 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1)));
273 ASSERT_TRUE(IntegerPrefMatches(prefs::kRestoreOnStartup));
278 ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
281 ASSERT_TRUE(BooleanPrefMatches(prefs::kAlternateErrorPagesEnabled));
282 ASSERT_TRUE(BooleanPrefMatches(prefs::kSearchSuggestEnabled));
283 ASSERT_TRUE(BooleanPrefMatches(prefs::kNetworkPredictionEnabled));
284 ASSERT_TRUE(BooleanPrefMatches(prefs::kSafeBrowsingEnabled));
290 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1)));
291 ASSERT_TRUE(BooleanPrefMatches(prefs::kAlternateErrorPagesEnabled));
292 ASSERT_TRUE(BooleanPrefMatches(prefs::kSearchSuggestEnabled));
293 ASSERT_TRUE(BooleanPrefMatches(prefs::kNetworkPredictionEnabled));
294 ASSERT_TRUE(BooleanPrefMatches(prefs::kSafeBrowsingEnabled));
299 ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
302 ASSERT_TRUE(BooleanPrefMatches(prefs::kDeleteBrowsingHistory));
303 ASSERT_TRUE(BooleanPrefMatches(prefs::kDeleteDownloadHistory));
304 ASSERT_TRUE(BooleanPrefMatches(prefs::kDeleteCache));
305 ASSERT_TRUE(BooleanPrefMatches(prefs::kDeleteCookies));
306 ASSERT_TRUE(BooleanPrefMatches(prefs::kDeletePasswords));
307 ASSERT_TRUE(BooleanPrefMatches(prefs::kDeleteFormData));
308 ASSERT_TRUE(BooleanPrefMatches(prefs::kDeleteHostedAppsData));
317 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1)));
318 ASSERT_TRUE(BooleanPrefMatches(prefs::kDeleteBrowsingHistory));
319 ASSERT_TRUE(BooleanPrefMatches(prefs::kDeleteDownloadHistory));
320 ASSERT_TRUE(BooleanPrefMatches(prefs::kDeleteCache));
321 ASSERT_TRUE(BooleanPrefMatches(prefs::kDeleteCookies));
322 ASSERT_TRUE(BooleanPrefMatches(prefs::kDeletePasswords));
323 ASSERT_TRUE(BooleanPrefMatches(prefs::kDeleteFormData));
324 ASSERT_TRUE(BooleanPrefMatches(prefs::kDeleteHostedAppsData));
330 ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
331 ASSERT_TRUE(BooleanPrefMatches(prefs::kWebKitUsesUniversalDetector));
334 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1)));
335 ASSERT_TRUE(BooleanPrefMatches(prefs::kWebKitUsesUniversalDetector));
340 ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
341 ASSERT_TRUE(StringPrefMatches(prefs::kDefaultCharset));
344 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1)));
345 ASSERT_TRUE(StringPrefMatches(prefs::kDefaultCharset));
351 ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
352 ASSERT_TRUE(BooleanPrefMatches(prefs::kBlockThirdPartyCookies));
355 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1)));
356 ASSERT_TRUE(BooleanPrefMatches(prefs::kBlockThirdPartyCookies));
362 ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
363 ASSERT_TRUE(BooleanPrefMatches(prefs::kClearSiteDataOnExit));
366 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1)));
367 ASSERT_TRUE(BooleanPrefMatches(prefs::kClearSiteDataOnExit));
373 ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
374 ASSERT_TRUE(BooleanPrefMatches(prefs::kSafeBrowsingEnabled));
377 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1)));
378 ASSERT_TRUE(BooleanPrefMatches(prefs::kSafeBrowsingEnabled));
384 ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
387 ASSERT_TRUE(
391 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1)));
395 ASSERT_TRUE(
405 ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
406 ASSERT_TRUE(BooleanPrefMatches(prefs::kPromptForDownload));
409 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1)));
410 ASSERT_TRUE(BooleanPrefMatches(prefs::kPromptForDownload));
416 ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
417 ASSERT_TRUE(BooleanPrefMatches(prefs::kEnableTranslate));
425 ASSERT_TRUE(translate_client0_prefs->IsBlockedLanguage("fr"));
427 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1)));
428 ASSERT_TRUE(translate_client1_prefs->IsBlockedLanguage("fr"));
433 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1)));
440 ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
441 ASSERT_TRUE(BooleanPrefMatches(prefs::kEnableTranslate));
449 ASSERT_TRUE(translate_client0_prefs->IsLanguagePairWhitelisted("en", "bg"));
451 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1)));
452 ASSERT_TRUE(translate_client1_prefs->IsLanguagePairWhitelisted("en", "bg"));
457 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1)));
464 ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
465 ASSERT_TRUE(BooleanPrefMatches(prefs::kEnableTranslate));
475 ASSERT_TRUE(translate_client0_prefs->IsSiteBlacklisted(host));
477 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1)));
478 ASSERT_TRUE(translate_client1_prefs->IsSiteBlacklisted(host));
483 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1)));
490 ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
491 ASSERT_TRUE(BooleanPrefMatches(prefs::kExtensionsUIDeveloperMode));
494 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1)));
495 ASSERT_TRUE(BooleanPrefMatches(prefs::kExtensionsUIDeveloperMode));
500 ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
502 ASSERT_TRUE(StringPrefMatches(prefs::kAcceptLanguages));
506 ASSERT_TRUE(AwaitQuiescence());
507 ASSERT_TRUE(StringPrefMatches(prefs::kAcceptLanguages));
510 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1)));
511 ASSERT_TRUE(StringPrefMatches(prefs::kAcceptLanguages));
514 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1)));
515 ASSERT_TRUE(StringPrefMatches(prefs::kAcceptLanguages));
523 ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
524 ASSERT_TRUE(BooleanPrefMatches(prefs::kTapToClickEnabled));
527 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1)));
528 ASSERT_TRUE(BooleanPrefMatches(prefs::kTapToClickEnabled));
531 ASSERT_TRUE(GetClient(1)->AwaitMutualSyncCycleCompletion(GetClient(0)));
532 ASSERT_TRUE(BooleanPrefMatches(prefs::kTapToClickEnabled));
539 ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
540 ASSERT_TRUE(BooleanPrefMatches(prefs::kEnableAutoScreenLock));
543 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1)));
544 ASSERT_TRUE(BooleanPrefMatches(prefs::kEnableAutoScreenLock));
547 ASSERT_TRUE(GetClient(1)->AwaitMutualSyncCycleCompletion(GetClient(0)));
548 ASSERT_TRUE(BooleanPrefMatches(prefs::kEnableAutoScreenLock));
554 ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
556 ASSERT_TRUE(EnableEncryption(0));
557 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1)));
558 ASSERT_TRUE(IsEncryptionComplete(0));
559 ASSERT_TRUE(IsEncryptionComplete(1));
564 ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
565 ASSERT_TRUE(BooleanPrefMatches(prefs::kHomePageIsNewTabPage));
568 ASSERT_TRUE(EnableEncryption(0));
569 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1)));
570 ASSERT_TRUE(IsEncryptionComplete(0));
571 ASSERT_TRUE(IsEncryptionComplete(1));
572 ASSERT_TRUE(BooleanPrefMatches(prefs::kHomePageIsNewTabPage));
577 ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
579 ASSERT_TRUE(EnableEncryption(0));
580 ASSERT_TRUE(EnableEncryption(1));
581 ASSERT_TRUE(AwaitQuiescence());
582 ASSERT_TRUE(IsEncryptionComplete(0));
583 ASSERT_TRUE(IsEncryptionComplete(1));
588 ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
589 ASSERT_TRUE(BooleanPrefMatches(prefs::kHomePageIsNewTabPage));
590 ASSERT_TRUE(StringPrefMatches(prefs::kHomePage));
592 ASSERT_TRUE(EnableEncryption(0));
595 ASSERT_TRUE(AwaitQuiescence());
596 ASSERT_TRUE(IsEncryptionComplete(0));
597 ASSERT_TRUE(IsEncryptionComplete(1));
598 ASSERT_TRUE(BooleanPrefMatches(
600 ASSERT_TRUE(StringPrefMatches(prefs::kHomePage));
605 ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
606 ASSERT_TRUE(BooleanPrefMatches(prefs::kHomePageIsNewTabPage));
609 ASSERT_TRUE(EnableEncryption(0));
610 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1)));
611 ASSERT_TRUE(IsEncryptionComplete(0));
612 ASSERT_TRUE(IsEncryptionComplete(1));
613 ASSERT_TRUE(BooleanPrefMatches(prefs::kHomePageIsNewTabPage));
615 ASSERT_TRUE(BooleanPrefMatches(prefs::kShowHomeButton));
617 ASSERT_TRUE(GetClient(0)->AwaitMutualSyncCycleCompletion(GetClient(1)));
618 ASSERT_TRUE(BooleanPrefMatches(prefs::kShowHomeButton));