OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #include "net/cert/ct_ev_whitelist.h" | |
6 | |
7 #include <string> | |
8 | |
9 #include "base/memory/scoped_ptr.h" | |
10 #include "testing/gtest/include/gtest/gtest.h" | |
11 | |
12 namespace net { | |
13 | |
14 namespace ct { | |
15 | |
16 TEST(DefaultEVCertsWhitelistTest, DefaultsToWhitelistingHash) { | |
17 scoped_refptr<EVCertsWhitelist> whitelist(GetDefaultEVCertsWhitelist()); | |
18 EXPECT_TRUE(whitelist->IsValid()); | |
19 EXPECT_TRUE(whitelist->ContainsCertificateHash("")); | |
Ryan Sleevi
2014/10/01 20:15:42
"" -> std::string
Eran Messeri
2014/10/03 12:00:11
Removed the whole test since the default instance
| |
20 } | |
21 | |
22 } // namespace ct | |
23 | |
24 } // namespace net | |
OLD | NEW |