Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7532)

Unified Diff: chrome/browser/sync/test/integration/sync_test.cc

Issue 8931013: Sync integration test for authentication errors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: "" Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/test/integration/sync_test.cc
diff --git a/chrome/browser/sync/test/integration/sync_test.cc b/chrome/browser/sync/test/integration/sync_test.cc
index 9c83bfd8a17a49063ab43f8294d8661774d08157..3e63602afba4c906954cfeb4f1f4f2d0a3f5bd16 100644
--- a/chrome/browser/sync/test/integration/sync_test.cc
+++ b/chrome/browser/sync/test/integration/sync_test.cc
@@ -622,6 +622,12 @@ void SyncTest::TriggerTransientError() {
UTF16ToASCII(browser()->GetSelectedTabContents()->GetTitle()));
}
+void SyncTest::TriggerAuthError() {
+ ASSERT_TRUE(ServerSupportsErrorTriggering());
+ std::string path = "chromiumsync/cred";
+ ui_test_utils::NavigateToURL(browser(), sync_server_.GetURL(path));
+}
+
namespace {
sync_pb::ClientToServerResponse::ErrorType

Powered by Google App Engine
This is Rietveld 408576698