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

Side by Side Diff: net/der/parse_values_unittest.cc

Issue 2091103002: Add CheckOCSPDateValid() to net/cert/internal (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments from rsleevi@ Created 4 years, 5 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 <stdint.h> 5 #include <stdint.h>
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "base/time/time.h"
8 #include "net/der/parse_values.h" 9 #include "net/der/parse_values.h"
9 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
10 11
11 namespace net { 12 namespace net {
12 namespace der { 13 namespace der {
13 namespace test { 14 namespace test {
14 15
15 namespace { 16 namespace {
16 17
17 template <size_t N> 18 template <size_t N>
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 TEST(ParseValuesTest, ParseBitStringSevenOneBitsUnusedBitIsOne) { 362 TEST(ParseValuesTest, ParseBitStringSevenOneBitsUnusedBitIsOne) {
362 const uint8_t kData[] = {0x01, 0xFF}; 363 const uint8_t kData[] = {0x01, 0xFF};
363 364
364 BitString bit_string; 365 BitString bit_string;
365 EXPECT_FALSE(ParseBitString(Input(kData), &bit_string)); 366 EXPECT_FALSE(ParseBitString(Input(kData), &bit_string));
366 } 367 }
367 368
368 } // namespace test 369 } // namespace test
369 } // namespace der 370 } // namespace der
370 } // namespace net 371 } // namespace net
OLDNEW
« net/der/encode_values.cc ('K') | « net/der/encode_values_unittest.cc ('k') | net/net.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698