| OLD | NEW |
| 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 <set> | 11 #include <set> |
| 12 #include <string> | 12 #include <string> |
| 13 #include <vector> | 13 #include <vector> |
| 14 | 14 |
| 15 #include "webrtc/api/jsepsessiondescription.h" | 15 #include "webrtc/api/jsepsessiondescription.h" |
| 16 #ifdef WEBRTC_ANDROID | 16 #ifdef WEBRTC_ANDROID |
| 17 #include "webrtc/api/test/androidtestinitializer.h" | 17 #include "webrtc/api/test/androidtestinitializer.h" |
| 18 #endif | 18 #endif |
| 19 #include "webrtc/api/webrtcsdp.h" | 19 #include "webrtc/api/webrtcsdp.h" |
| 20 #include "webrtc/base/gunit.h" | 20 #include "webrtc/base/gunit.h" |
| 21 #include "webrtc/base/logging.h" | 21 #include "webrtc/base/logging.h" |
| 22 #include "webrtc/base/messagedigest.h" | 22 #include "webrtc/base/messagedigest.h" |
| 23 #include "webrtc/base/scoped_ptr.h" | 23 #include "webrtc/base/scoped_ptr.h" |
| 24 #include "webrtc/base/sslfingerprint.h" | 24 #include "webrtc/base/sslfingerprint.h" |
| 25 #include "webrtc/base/stringencode.h" | 25 #include "webrtc/base/stringencode.h" |
| 26 #include "webrtc/base/stringutils.h" | 26 #include "webrtc/base/stringutils.h" |
| 27 #include "webrtc/media/base/constants.h" | 27 #include "webrtc/media/base/mediaconstants.h" |
| 28 #include "webrtc/p2p/base/constants.h" | 28 #include "webrtc/p2p/base/p2pconstants.h" |
| 29 #include "webrtc/pc/mediasession.h" | 29 #include "webrtc/pc/mediasession.h" |
| 30 | 30 |
| 31 using cricket::AudioCodec; | 31 using cricket::AudioCodec; |
| 32 using cricket::AudioContentDescription; | 32 using cricket::AudioContentDescription; |
| 33 using cricket::Candidate; | 33 using cricket::Candidate; |
| 34 using cricket::ContentInfo; | 34 using cricket::ContentInfo; |
| 35 using cricket::CryptoParams; | 35 using cricket::CryptoParams; |
| 36 using cricket::ContentGroup; | 36 using cricket::ContentGroup; |
| 37 using cricket::DataCodec; | 37 using cricket::DataCodec; |
| 38 using cricket::DataContentDescription; | 38 using cricket::DataContentDescription; |
| (...skipping 2944 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2983 EXPECT_TRUE( | 2983 EXPECT_TRUE( |
| 2984 SdpDeserialize(kUnifiedPlanSdpFullString, &deserialized_description)); | 2984 SdpDeserialize(kUnifiedPlanSdpFullString, &deserialized_description)); |
| 2985 | 2985 |
| 2986 EXPECT_TRUE(CompareSessionDescription(jdesc_, deserialized_description)); | 2986 EXPECT_TRUE(CompareSessionDescription(jdesc_, deserialized_description)); |
| 2987 } | 2987 } |
| 2988 | 2988 |
| 2989 TEST_F(WebRtcSdpTest, SerializeUnifiedPlanSessionDescription) { | 2989 TEST_F(WebRtcSdpTest, SerializeUnifiedPlanSessionDescription) { |
| 2990 MakeUnifiedPlanDescription(); | 2990 MakeUnifiedPlanDescription(); |
| 2991 TestSerialize(jdesc_, true); | 2991 TestSerialize(jdesc_, true); |
| 2992 } | 2992 } |
| OLD | NEW |