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

Side by Side Diff: net/cert/ct_ev_whitelist_unittest.cc

Issue 547603002: Certificate Transparency: Code for unpacking EV cert hashes whitelist (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Avoiding globals in favour of passing the SSLConfigService around 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
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698