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

Side by Side Diff: net/cert/merkle_tree_leaf_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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "net/cert/merkle_tree_leaf.h" 5 #include "net/cert/merkle_tree_leaf.h"
6 6
7 #include <string.h> 7 #include <string.h>
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/strings/string_number_conversions.h" 11 #include "base/strings/string_number_conversions.h"
12 #include "net/base/test_data_directory.h"
13 #include "net/cert/x509_certificate.h" 12 #include "net/cert/x509_certificate.h"
14 #include "net/test/cert_test_util.h" 13 #include "net/test/cert_test_util.h"
15 #include "net/test/ct_test_util.h" 14 #include "net/test/ct_test_util.h"
15 #include "net/test/test_data_directory.h"
16 #include "testing/gmock/include/gmock/gmock.h" 16 #include "testing/gmock/include/gmock/gmock.h"
17 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
18 18
19 namespace net { 19 namespace net {
20 20
21 namespace ct { 21 namespace ct {
22 22
23 namespace { 23 namespace {
24 24
25 MATCHER_P(HexEq, hexStr, "") { 25 MATCHER_P(HexEq, hexStr, "") {
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 ASSERT_TRUE(Hash(leaf, &hash)); 127 ASSERT_TRUE(Hash(leaf, &hash));
128 EXPECT_THAT(hash, HexEq("257ae85f08810445511e35e33f7aee99ee19407971e35e95822b" 128 EXPECT_THAT(hash, HexEq("257ae85f08810445511e35e33f7aee99ee19407971e35e95822b"
129 "bf42a74be223")); 129 "bf42a74be223"));
130 } 130 }
131 131
132 } // namespace 132 } // namespace
133 133
134 } // namespace ct 134 } // namespace ct
135 135
136 } // namespace net 136 } // namespace net
OLDNEW
« no previous file with comments | « net/cert/internal/signature_algorithm_unittest.cc ('k') | net/cert/multi_log_ct_verifier_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698