| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2015 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 #import <Foundation/Foundation.h> | 11 #import <Foundation/Foundation.h> |
| 12 | 12 |
| 13 #include "webrtc/base/gunit.h" | 13 #include "webrtc/base/gunit.h" |
| 14 | 14 |
| 15 #import "webrtc/api/objc/RTCSessionDescription.h" | 15 #import "NSString+StdString.h" |
| 16 #import "webrtc/api/objc/RTCSessionDescription+Private.h" | 16 #import "RTCSessionDescription+Private.h" |
| 17 #import "webrtc/base/objc/NSString+StdString.h" | 17 #import "WebRTC/RTCSessionDescription.h" |
| 18 | 18 |
| 19 @interface RTCSessionDescriptionTest : NSObject | 19 @interface RTCSessionDescriptionTest : NSObject |
| 20 - (void)testSessionDescriptionConversion; | 20 - (void)testSessionDescriptionConversion; |
| 21 - (void)testInitFromNativeSessionDescription; | 21 - (void)testInitFromNativeSessionDescription; |
| 22 @end | 22 @end |
| 23 | 23 |
| 24 @implementation RTCSessionDescriptionTest | 24 @implementation RTCSessionDescriptionTest |
| 25 | 25 |
| 26 /** | 26 /** |
| 27 * Test conversion of an Objective-C RTCSessionDescription to a native | 27 * Test conversion of an Objective-C RTCSessionDescription to a native |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 [test testSessionDescriptionConversion]; | 135 [test testSessionDescriptionConversion]; |
| 136 } | 136 } |
| 137 } | 137 } |
| 138 | 138 |
| 139 TEST(RTCSessionDescriptionTest, InitFromSessionDescriptionTest) { | 139 TEST(RTCSessionDescriptionTest, InitFromSessionDescriptionTest) { |
| 140 @autoreleasepool { | 140 @autoreleasepool { |
| 141 RTCSessionDescriptionTest *test = [[RTCSessionDescriptionTest alloc] init]; | 141 RTCSessionDescriptionTest *test = [[RTCSessionDescriptionTest alloc] init]; |
| 142 [test testInitFromNativeSessionDescription]; | 142 [test testInitFromNativeSessionDescription]; |
| 143 } | 143 } |
| 144 } | 144 } |
| OLD | NEW |