OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 "extensions/browser/api/cast_channel/cast_auth_util.h" | 5 #include "components/cast_channel/cast_auth_util.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/test/scoped_feature_list.h" | 10 #include "base/test/scoped_feature_list.h" |
11 #include "base/time/time.h" | 11 #include "base/time/time.h" |
12 #include "components/cast_certificate/cast_cert_validator.h" | 12 #include "components/cast_certificate/cast_cert_validator.h" |
13 #include "components/cast_certificate/cast_cert_validator_test_helpers.h" | 13 #include "components/cast_certificate/cast_cert_validator_test_helpers.h" |
14 #include "components/cast_certificate/cast_crl.h" | 14 #include "components/cast_certificate/cast_crl.h" |
15 #include "components/cast_certificate/proto/test_suite.pb.h" | 15 #include "components/cast_certificate/proto/test_suite.pb.h" |
16 #include "extensions/common/api/cast_channel/cast_channel.pb.h" | 16 #include "components/cast_channel/proto/cast_channel.pb.h" |
17 #include "net/cert/internal/trust_store_in_memory.h" | 17 #include "net/cert/internal/trust_store_in_memory.h" |
18 #include "net/cert/x509_certificate.h" | 18 #include "net/cert/x509_certificate.h" |
19 #include "testing/gtest/include/gtest/gtest.h" | 19 #include "testing/gtest/include/gtest/gtest.h" |
20 | 20 |
21 namespace extensions { | |
22 namespace api { | |
23 namespace cast_channel { | 21 namespace cast_channel { |
24 namespace { | 22 namespace { |
25 | 23 |
26 class CastAuthUtilTest : public testing::Test { | 24 class CastAuthUtilTest : public testing::Test { |
27 public: | 25 public: |
28 CastAuthUtilTest() {} | 26 CastAuthUtilTest() {} |
29 ~CastAuthUtilTest() override {} | 27 ~CastAuthUtilTest() override {} |
30 | 28 |
31 void SetUp() override {} | 29 void SetUp() override {} |
32 | 30 |
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 } | 326 } |
329 } | 327 } |
330 } | 328 } |
331 | 329 |
332 TEST_F(CastAuthUtilTest, CRLTestSuite) { | 330 TEST_F(CastAuthUtilTest, CRLTestSuite) { |
333 RunTestSuite("testsuite/testsuite1.pb"); | 331 RunTestSuite("testsuite/testsuite1.pb"); |
334 } | 332 } |
335 | 333 |
336 } // namespace | 334 } // namespace |
337 } // namespace cast_channel | 335 } // namespace cast_channel |
338 } // namespace api | |
339 } // namespace extensions | |
OLD | NEW |