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

Side by Side Diff: chromeos/network/network_connection_handler_unittest.cc

Issue 2090463002: Move net/base/test_data_directory.[cc,h] to net/test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chromeos/network/network_connection_handler.h" 5 #include "chromeos/network/network_connection_handler.h"
6 6
7 #include <map> 7 #include <map>
8 #include <memory> 8 #include <memory>
9 #include <set> 9 #include <set>
10 10
(...skipping 14 matching lines...) Expand all
25 #include "chromeos/network/managed_network_configuration_handler_impl.h" 25 #include "chromeos/network/managed_network_configuration_handler_impl.h"
26 #include "chromeos/network/network_configuration_handler.h" 26 #include "chromeos/network/network_configuration_handler.h"
27 #include "chromeos/network/network_connection_observer.h" 27 #include "chromeos/network/network_connection_observer.h"
28 #include "chromeos/network/network_profile_handler.h" 28 #include "chromeos/network/network_profile_handler.h"
29 #include "chromeos/network/network_state_handler.h" 29 #include "chromeos/network/network_state_handler.h"
30 #include "chromeos/network/onc/onc_utils.h" 30 #include "chromeos/network/onc/onc_utils.h"
31 #include "components/onc/onc_constants.h" 31 #include "components/onc/onc_constants.h"
32 #include "crypto/scoped_nss_types.h" 32 #include "crypto/scoped_nss_types.h"
33 #include "crypto/scoped_test_nss_db.h" 33 #include "crypto/scoped_test_nss_db.h"
34 #include "net/base/net_errors.h" 34 #include "net/base/net_errors.h"
35 #include "net/base/test_data_directory.h"
36 #include "net/cert/nss_cert_database_chromeos.h" 35 #include "net/cert/nss_cert_database_chromeos.h"
37 #include "net/cert/x509_certificate.h" 36 #include "net/cert/x509_certificate.h"
38 #include "net/test/cert_test_util.h" 37 #include "net/test/cert_test_util.h"
38 #include "net/test/test_data_directory.h"
39 #include "testing/gtest/include/gtest/gtest.h" 39 #include "testing/gtest/include/gtest/gtest.h"
40 #include "third_party/cros_system_api/dbus/service_constants.h" 40 #include "third_party/cros_system_api/dbus/service_constants.h"
41 41
42 namespace chromeos { 42 namespace chromeos {
43 43
44 namespace { 44 namespace {
45 45
46 const char* kSuccessResult = "success"; 46 const char* kSuccessResult = "success";
47 const char* kUsernameHash = "userhash"; 47 const char* kUsernameHash = "userhash";
48 48
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 Connect(kNoNetwork); 490 Connect(kNoNetwork);
491 EXPECT_EQ(NetworkConnectionHandler::kErrorConfigureFailed, 491 EXPECT_EQ(NetworkConnectionHandler::kErrorConfigureFailed,
492 GetResultAndReset()); 492 GetResultAndReset());
493 493
494 EXPECT_TRUE(Configure(kConfigConnectable)); 494 EXPECT_TRUE(Configure(kConfigConnectable));
495 Disconnect(kWifi0); 495 Disconnect(kWifi0);
496 EXPECT_EQ(NetworkConnectionHandler::kErrorNotConnected, GetResultAndReset()); 496 EXPECT_EQ(NetworkConnectionHandler::kErrorNotConnected, GetResultAndReset());
497 } 497 }
498 498
499 } // namespace chromeos 499 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/network/network_cert_migrator_unittest.cc ('k') | components/certificate_reporting/error_report_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698