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

Side by Side Diff: chrome/browser/chromeos/net/cert_verify_proc_chromeos_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 2014 The Chromium Authors. All rights reserved. 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 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 "chrome/browser/chromeos/net/cert_verify_proc_chromeos.h" 5 #include "chrome/browser/chromeos/net/cert_verify_proc_chromeos.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "crypto/nss_util_internal.h" 9 #include "crypto/nss_util_internal.h"
10 #include "crypto/scoped_test_nss_chromeos_user.h" 10 #include "crypto/scoped_test_nss_chromeos_user.h"
11 #include "net/base/net_errors.h" 11 #include "net/base/net_errors.h"
12 #include "net/base/test_data_directory.h"
13 #include "net/cert/cert_verify_proc.h" 12 #include "net/cert/cert_verify_proc.h"
14 #include "net/cert/cert_verify_result.h" 13 #include "net/cert/cert_verify_result.h"
15 #include "net/cert/nss_cert_database_chromeos.h" 14 #include "net/cert/nss_cert_database_chromeos.h"
16 #include "net/test/cert_test_util.h" 15 #include "net/test/cert_test_util.h"
16 #include "net/test/test_data_directory.h"
17 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
18 18
19 namespace chromeos { 19 namespace chromeos {
20 20
21 class CertVerifyProcChromeOSTest : public testing::Test { 21 class CertVerifyProcChromeOSTest : public testing::Test {
22 public: 22 public:
23 CertVerifyProcChromeOSTest() : user_1_("user1"), user_2_("user2") {} 23 CertVerifyProcChromeOSTest() : user_1_("user1"), user_2_("user2") {}
24 24
25 void SetUp() override { 25 void SetUp() override {
26 // Initialize nss_util slots. 26 // Initialize nss_util slots.
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 372
373 INSTANTIATE_TEST_CASE_P( 373 INSTANTIATE_TEST_CASE_P(
374 Variations, 374 Variations,
375 CertVerifyProcChromeOSOrderingTest, 375 CertVerifyProcChromeOSOrderingTest,
376 ::testing::Combine( 376 ::testing::Combine(
377 ::testing::Bool(), 377 ::testing::Bool(),
378 ::testing::Range(0, 1 << 2), 378 ::testing::Range(0, 1 << 2),
379 ::testing::Values("d12", "d21", "1d2", "12d", "2d1", "21d"))); 379 ::testing::Values("d12", "d21", "1d2", "12d", "2d1", "21d")));
380 380
381 } // namespace chromeos 381 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698