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

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

Issue 607413004: Disable ClientCertResolverTest tests in debug builds as they time out. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "chromeos/network/client_cert_resolver.h" 4 #include "chromeos/network/client_cert_resolver.h"
5 5
6 #include <cert.h> 6 #include <cert.h>
7 #include <pk11pub.h> 7 #include <pk11pub.h>
8 8
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/files/file_util.h" 10 #include "base/files/file_util.h"
(...skipping 16 matching lines...) Expand all
27 #include "crypto/scoped_test_nss_chromeos_user.h" 27 #include "crypto/scoped_test_nss_chromeos_user.h"
28 #include "net/base/crypto_module.h" 28 #include "net/base/crypto_module.h"
29 #include "net/base/net_errors.h" 29 #include "net/base/net_errors.h"
30 #include "net/base/test_data_directory.h" 30 #include "net/base/test_data_directory.h"
31 #include "net/cert/nss_cert_database_chromeos.h" 31 #include "net/cert/nss_cert_database_chromeos.h"
32 #include "net/cert/x509_certificate.h" 32 #include "net/cert/x509_certificate.h"
33 #include "net/test/cert_test_util.h" 33 #include "net/test/cert_test_util.h"
34 #include "testing/gtest/include/gtest/gtest.h" 34 #include "testing/gtest/include/gtest/gtest.h"
35 #include "third_party/cros_system_api/dbus/service_constants.h" 35 #include "third_party/cros_system_api/dbus/service_constants.h"
36 36
37 // http://crbug.com/418369
38 #ifdef NDEBUG
39
37 namespace chromeos { 40 namespace chromeos {
38 41
39 namespace { 42 namespace {
40 43
41 const char* kWifiStub = "wifi_stub"; 44 const char* kWifiStub = "wifi_stub";
42 const char* kWifiSSID = "wifi_ssid"; 45 const char* kWifiSSID = "wifi_ssid";
43 const char* kUserProfilePath = "user_profile"; 46 const char* kUserProfilePath = "user_profile";
44 const char* kUserHash = "user_hash"; 47 const char* kUserHash = "user_hash";
45 48
46 } // namespace 49 } // namespace
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 base::RunLoop().RunUntilIdle(); 314 base::RunLoop().RunUntilIdle();
312 315
313 // Verify that the resolver positively matched the pattern in the policy with 316 // Verify that the resolver positively matched the pattern in the policy with
314 // the test client cert and configured the network. 317 // the test client cert and configured the network.
315 std::string pkcs11_id; 318 std::string pkcs11_id;
316 GetClientCertProperties(&pkcs11_id); 319 GetClientCertProperties(&pkcs11_id);
317 EXPECT_EQ(test_cert_id_, pkcs11_id); 320 EXPECT_EQ(test_cert_id_, pkcs11_id);
318 } 321 }
319 322
320 } // namespace chromeos 323 } // namespace chromeos
324
325 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698