Chromium Code Reviews| OLD | NEW |
|---|---|
| 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" | |
|
Ryan Sleevi
2016/07/08 23:37:27
unneeded I believe
dadrian
2016/07/09 00:13:51
Done.
| |
| 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 Loading... | |
| 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 |
| OLD | NEW |