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

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

Issue 115243007: Basic implementation of the Sync C++ fake server (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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/prototype_fake_server_test.cc
diff --git a/chrome/browser/sync/test/integration/prototype_fake_server_test.cc b/chrome/browser/sync/test/integration/prototype_fake_server_test.cc
new file mode 100644
index 0000000000000000000000000000000000000000..50cbabe7e3f7a1c237c8ea28f58e2023d0523820
--- /dev/null
+++ b/chrome/browser/sync/test/integration/prototype_fake_server_test.cc
@@ -0,0 +1,24 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/sync/test/integration/sync_test.h"
+
+class PrototypeFakeServerTest : public SyncTest {
+ public:
+ PrototypeFakeServerTest() : SyncTest(SINGLE_CLIENT) {
+ UseFakeServer();
+ }
+
+ virtual ~PrototypeFakeServerTest() {}
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(PrototypeFakeServerTest);
+};
+
+// TODO(pvalenzuela): Remove this test when sync_integration_tests is
rlarocque 2013/12/18 20:22:01 You should reference the crbug for the fake server
pval...(no longer on Chromium) 2013/12/19 01:16:56 Done.
+// transitioned to use the C++ fake server. This test currently exists to
+// ensure fake server functionality during development.
+IN_PROC_BROWSER_TEST_F(PrototypeFakeServerTest, Setup) {
+ ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
Raghu Simha 2013/12/18 22:37:12 Considering that this test is primarily meant to t
pval...(no longer on Chromium) 2013/12/19 01:16:56 I like this idea, but would prefer to do it in a f
+}
« no previous file with comments | « no previous file | chrome/browser/sync/test/integration/sync_test.h » ('j') | chrome/browser/sync/test/integration/sync_test.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698