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

Side by Side Diff: ios/web/net/cert_host_pair_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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "ios/web/net/cert_host_pair.h" 5 #include "ios/web/net/cert_host_pair.h"
6 6
7 #include "net/base/test_data_directory.h"
8 #include "net/test/cert_test_util.h" 7 #include "net/test/cert_test_util.h"
8 #include "net/test/test_data_directory.h"
9 #include "testing/platform_test.h" 9 #include "testing/platform_test.h"
10 10
11 namespace web { 11 namespace web {
12 12
13 namespace { 13 namespace {
14 14
15 // Test cert filenames. 15 // Test cert filenames.
16 const char kCertFileName1[] = "ok_cert.pem"; 16 const char kCertFileName1[] = "ok_cert.pem";
17 const char kCertFileName2[] = "expired_cert.pem"; 17 const char kCertFileName2[] = "expired_cert.pem";
18 18
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 CertHostPair pair1(cert1, kHostName1); 93 CertHostPair pair1(cert1, kHostName1);
94 CertHostPair pair2(cert2, kHostName1); 94 CertHostPair pair2(cert2, kHostName1);
95 95
96 EXPECT_FALSE(pair1 < pair1); 96 EXPECT_FALSE(pair1 < pair1);
97 EXPECT_FALSE(pair2 < pair2); 97 EXPECT_FALSE(pair2 < pair2);
98 EXPECT_FALSE(pair1 < pair2); 98 EXPECT_FALSE(pair1 < pair2);
99 EXPECT_FALSE(pair2 < pair1); 99 EXPECT_FALSE(pair2 < pair1);
100 } 100 }
101 101
102 } // namespace web 102 } // namespace web
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl_unittest.cc ('k') | ios/web/net/cert_verifier_block_adapter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698