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

Side by Side Diff: components/cast_channel/cast_auth_util_unittest.cc

Issue 2913033003: [cast_channel] Move cast_channel related files from //extensions to //components (Closed)
Patch Set: fix buildbot compile errors Created 3 years, 6 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
« no previous file with comments | « components/cast_channel/cast_auth_util.cc ('k') | components/cast_channel/cast_framer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « components/cast_channel/cast_auth_util.cc ('k') | components/cast_channel/cast_framer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698