| Index: chrome/browser/sync/test/integration/two_client_wifi_credentials_sync_test.cc
|
| diff --git a/chrome/browser/sync/test/integration/two_client_wifi_credentials_sync_test.cc b/chrome/browser/sync/test/integration/two_client_wifi_credentials_sync_test.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..dc9a4dc0ce68a9cd56fc56ec23336c8b14ecfe98
|
| --- /dev/null
|
| +++ b/chrome/browser/sync/test/integration/two_client_wifi_credentials_sync_test.cc
|
| @@ -0,0 +1,30 @@
|
| +// Copyright 2014 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 "base/command_line.h"
|
| +#include "chrome/browser/sync/test/integration/sync_integration_test_util.h"
|
| +#include "chrome/browser/sync/test/integration/sync_test.h"
|
| +#include "chrome/browser/sync/test/integration/wifi_credentials_helper.h"
|
| +#include "chrome/common/chrome_switches.h"
|
| +
|
| +using sync_integration_test_util::AwaitCommitActivityCompletion;
|
| +
|
| +class TwoClientWifiCredentialsSyncTest : public SyncTest {
|
| + public:
|
| + TwoClientWifiCredentialsSyncTest() : SyncTest(TWO_CLIENT) {}
|
| + virtual ~TwoClientWifiCredentialsSyncTest() {}
|
| +
|
| + void SetUpCommandLine(CommandLine* command_line) override {
|
| + SyncTest::SetUpCommandLine(command_line);
|
| + command_line->AppendSwitch(switches::kEnableWifiCredentialSync);
|
| + }
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(TwoClientWifiCredentialsSyncTest);
|
| +};
|
| +
|
| +IN_PROC_BROWSER_TEST_F(TwoClientWifiCredentialsSyncTest, NoCredentials) {
|
| + ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
|
| + ASSERT_TRUE(wifi_credentials_helper::AllServicesMatch());
|
| +}
|
|
|