OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "base/command_line.h" | |
6 #include "chrome/browser/sync/test/integration/sync_integration_test_util.h" | |
7 #include "chrome/browser/sync/test/integration/sync_test.h" | |
8 #include "chrome/browser/sync/test/integration/wifi_credentials_helper.h" | |
9 #include "chrome/common/chrome_switches.h" | |
10 | |
11 using sync_integration_test_util::AwaitCommitActivityCompletion; | |
12 | |
13 class TwoClientWifiCredentialsSyncTest : public SyncTest { | |
14 public: | |
15 TwoClientWifiCredentialsSyncTest() : SyncTest(TWO_CLIENT) {} | |
16 virtual ~TwoClientWifiCredentialsSyncTest() {} | |
stevenjb
2014/11/13 22:55:36
override
mukesh agrawal
2014/11/14 02:14:54
Done.
| |
17 | |
18 void SetUpCommandLine(CommandLine* command_line) override { | |
19 SyncTest::SetUpCommandLine(command_line); | |
20 command_line->AppendSwitch(switches::kEnableWifiCredentialSync); | |
21 } | |
22 | |
23 private: | |
24 DISALLOW_COPY_AND_ASSIGN(TwoClientWifiCredentialsSyncTest); | |
25 }; | |
26 | |
27 IN_PROC_BROWSER_TEST_F(TwoClientWifiCredentialsSyncTest, NoCredentials) { | |
28 ASSERT_TRUE(SetupSync()) << "SetupSync() failed."; | |
29 ASSERT_TRUE(wifi_credentials_helper::AllServicesMatch()); | |
30 } | |
OLD | NEW |