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

Side by Side Diff: chrome/browser/extensions/api/networking_private/networking_private_apitest.cc

Issue 156353002: Implement networkingPrivate.setWifiTDLSEnabledState (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disable TDLS tests on non-chromeos Created 6 years, 10 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/callback.h" 5 #include "base/callback.h"
6 #include "base/command_line.h" 6 #include "base/command_line.h"
7 #include "chrome/browser/browser_process.h" 7 #include "chrome/browser/browser_process.h"
8 #include "chrome/browser/chromeos/login/user.h" 8 #include "chrome/browser/chromeos/login/user.h"
9 #include "chrome/browser/chromeos/login/user_manager.h" 9 #include "chrome/browser/chromeos/login/user_manager.h"
10 #include "chrome/browser/extensions/extension_apitest.h" 10 #include "chrome/browser/extensions/extension_apitest.h"
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 IN_PROC_BROWSER_TEST_P(ExtensionNetworkingPrivateApiTest, 425 IN_PROC_BROWSER_TEST_P(ExtensionNetworkingPrivateApiTest,
426 VerifyAndEncryptCredentials) { 426 VerifyAndEncryptCredentials) {
427 EXPECT_TRUE(RunNetworkingSubtest("verifyAndEncryptCredentials")) << message_; 427 EXPECT_TRUE(RunNetworkingSubtest("verifyAndEncryptCredentials")) << message_;
428 } 428 }
429 429
430 IN_PROC_BROWSER_TEST_P(ExtensionNetworkingPrivateApiTest, 430 IN_PROC_BROWSER_TEST_P(ExtensionNetworkingPrivateApiTest,
431 VerifyAndEncryptData) { 431 VerifyAndEncryptData) {
432 EXPECT_TRUE(RunNetworkingSubtest("verifyAndEncryptData")) << message_; 432 EXPECT_TRUE(RunNetworkingSubtest("verifyAndEncryptData")) << message_;
433 } 433 }
434 434
435 #if defined(OS_CHROMEOS)
436 // Currently TDLS support is only enabled for Chrome OS.
437 IN_PROC_BROWSER_TEST_P(ExtensionNetworkingPrivateApiTest,
438 SetWifiTDLSEnabledState) {
439 EXPECT_TRUE(RunNetworkingSubtest("setWifiTDLSEnabledState")) << message_;
440 }
441
442 IN_PROC_BROWSER_TEST_P(ExtensionNetworkingPrivateApiTest,
443 GetWifiTDLSStatus) {
444 EXPECT_TRUE(RunNetworkingSubtest("getWifiTDLSStatus")) << message_;
445 }
446 #endif
447
435 INSTANTIATE_TEST_CASE_P(ExtensionNetworkingPrivateApiTestInstantiation, 448 INSTANTIATE_TEST_CASE_P(ExtensionNetworkingPrivateApiTestInstantiation,
436 ExtensionNetworkingPrivateApiTest, 449 ExtensionNetworkingPrivateApiTest,
437 testing::Bool()); 450 testing::Bool());
438 451
439 } // namespace 452 } // namespace
440
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698