blob: e4611c6c6b2bf7a0be4f5c92166f40934b05f706 [file] [log] [blame]
zhihuang55adc0e2017-03-10 18:33:45 -08001/*
2 * Copyright 2017 The WebRTC project authors. All Rights Reserved.
3 *
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
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020011#include "api/ortc/sessiondescription.h"
12#include "test/gtest.h"
zhihuang55adc0e2017-03-10 18:33:45 -080013
14namespace webrtc {
15
16class SessionDescriptionTest : public testing::Test {};
17
18TEST_F(SessionDescriptionTest, CreateSessionDescription) {
zhihuang30e0da42017-03-13 11:00:54 -070019 SessionDescription s(-1, "0");
20 EXPECT_EQ(-1, s.session_id());
zhihuang55adc0e2017-03-10 18:33:45 -080021 EXPECT_EQ("0", s.session_version());
22}
Yves Gerey665174f2018-06-19 15:03:05 +020023} // namespace webrtc