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

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

Issue 2004843002: Adds a MerkleAuditProof struct to net/cert. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 2016 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/merkle_audit_proof.h"
6
7 #include "testing/gmock/include/gmock/gmock.h"
8 #include "testing/gtest/include/gtest/gtest.h"
9
10 namespace net {
11 namespace ct {
12 namespace {
13
14 TEST(MerkleAuditProofTest, CalculatesAuditPathLengthCorrectly) {
15 EXPECT_EQ(20u, CalculateAuditPathLength(123456, 999999));
Eran Messeri 2016/05/23 13:10:52 Add a few more test cases, particularly relating t
Rob Percival 2016/05/24 17:10:05 Done.
16 }
17
18 } // namespace
19 } // namespace ct
20 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698