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

Side by Side Diff: webrtc/rtc_base/sslidentity_unittest.cc

Issue 2963273002: Update includes for webrtc/{base => rtc_base} rename (3/3) (Closed)
Patch Set: git cl format Created 3 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
« no previous file with comments | « webrtc/rtc_base/sslidentity.cc ('k') | webrtc/rtc_base/sslstreamadapter.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 /* 1 /*
2 * Copyright 2011 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2011 The WebRTC Project Authors. All rights reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #include <memory> 11 #include <memory>
12 #include <string> 12 #include <string>
13 13
14 #include "webrtc/base/fakesslidentity.h" 14 #include "webrtc/rtc_base/fakesslidentity.h"
15 #include "webrtc/base/gunit.h" 15 #include "webrtc/rtc_base/gunit.h"
16 #include "webrtc/base/helpers.h" 16 #include "webrtc/rtc_base/helpers.h"
17 #include "webrtc/base/ssladapter.h" 17 #include "webrtc/rtc_base/ssladapter.h"
18 #include "webrtc/base/sslfingerprint.h" 18 #include "webrtc/rtc_base/sslfingerprint.h"
19 #include "webrtc/base/sslidentity.h" 19 #include "webrtc/rtc_base/sslidentity.h"
20 #include "webrtc/base/stringutils.h" 20 #include "webrtc/rtc_base/stringutils.h"
21 21
22 using rtc::SSLIdentity; 22 using rtc::SSLIdentity;
23 23
24 const char kTestCertificate[] = "-----BEGIN CERTIFICATE-----\n" 24 const char kTestCertificate[] = "-----BEGIN CERTIFICATE-----\n"
25 "MIIB6TCCAVICAQYwDQYJKoZIhvcNAQEEBQAwWzELMAkGA1UEBhMCQVUxEzARBgNV\n" 25 "MIIB6TCCAVICAQYwDQYJKoZIhvcNAQEEBQAwWzELMAkGA1UEBhMCQVUxEzARBgNV\n"
26 "BAgTClF1ZWVuc2xhbmQxGjAYBgNVBAoTEUNyeXB0U29mdCBQdHkgTHRkMRswGQYD\n" 26 "BAgTClF1ZWVuc2xhbmQxGjAYBgNVBAoTEUNyeXB0U29mdCBQdHkgTHRkMRswGQYD\n"
27 "VQQDExJUZXN0IENBICgxMDI0IGJpdCkwHhcNMDAxMDE2MjIzMTAzWhcNMDMwMTE0\n" 27 "VQQDExJUZXN0IENBICgxMDI0IGJpdCkwHhcNMDAxMDE2MjIzMTAzWhcNMDMwMTE0\n"
28 "MjIzMTAzWjBjMQswCQYDVQQGEwJBVTETMBEGA1UECBMKUXVlZW5zbGFuZDEaMBgG\n" 28 "MjIzMTAzWjBjMQswCQYDVQQGEwJBVTETMBEGA1UECBMKUXVlZW5zbGFuZDEaMBgG\n"
29 "A1UEChMRQ3J5cHRTb2Z0IFB0eSBMdGQxIzAhBgNVBAMTGlNlcnZlciB0ZXN0IGNl\n" 29 "A1UEChMRQ3J5cHRTb2Z0IFB0eSBMdGQxIzAhBgNVBAMTGlNlcnZlciB0ZXN0IGNl\n"
30 "cnQgKDUxMiBiaXQpMFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAJ+zw4Qnlf8SMVIP\n" 30 "cnQgKDUxMiBiaXQpMFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAJ+zw4Qnlf8SMVIP\n"
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 } 604 }
605 }; 605 };
606 606
607 TEST_F(SSLIdentityExpirationTest, TestASN1TimeToSec) { 607 TEST_F(SSLIdentityExpirationTest, TestASN1TimeToSec) {
608 TestASN1TimeToSec(); 608 TestASN1TimeToSec();
609 } 609 }
610 610
611 TEST_F(SSLIdentityExpirationTest, TestExpireTime) { 611 TEST_F(SSLIdentityExpirationTest, TestExpireTime) {
612 TestExpireTime(500); 612 TestExpireTime(500);
613 } 613 }
OLDNEW
« no previous file with comments | « webrtc/rtc_base/sslidentity.cc ('k') | webrtc/rtc_base/sslstreamadapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698