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

Side by Side Diff: talk/app/webrtc/peerconnectioninterface_unittest.cc

Issue 1587193006: Move talk/media to webrtc/media (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased to b647aca12a884a13c1728118586245399b55fa3d (#11493) Created 4 years, 10 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 | « talk/app/webrtc/peerconnectioninterface.h ('k') | talk/app/webrtc/remoteaudiosource.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 * libjingle 2 * libjingle
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 28 matching lines...) Expand all
39 #include "talk/app/webrtc/streamcollection.h" 39 #include "talk/app/webrtc/streamcollection.h"
40 #ifdef WEBRTC_ANDROID 40 #ifdef WEBRTC_ANDROID
41 #include "talk/app/webrtc/test/androidtestinitializer.h" 41 #include "talk/app/webrtc/test/androidtestinitializer.h"
42 #endif 42 #endif
43 #include "talk/app/webrtc/test/fakeconstraints.h" 43 #include "talk/app/webrtc/test/fakeconstraints.h"
44 #include "talk/app/webrtc/test/fakedtlsidentitystore.h" 44 #include "talk/app/webrtc/test/fakedtlsidentitystore.h"
45 #include "talk/app/webrtc/test/mockpeerconnectionobservers.h" 45 #include "talk/app/webrtc/test/mockpeerconnectionobservers.h"
46 #include "talk/app/webrtc/test/testsdpstrings.h" 46 #include "talk/app/webrtc/test/testsdpstrings.h"
47 #include "talk/app/webrtc/videosource.h" 47 #include "talk/app/webrtc/videosource.h"
48 #include "talk/app/webrtc/videotrack.h" 48 #include "talk/app/webrtc/videotrack.h"
49 #include "talk/media/base/fakevideocapturer.h"
50 #include "talk/media/sctp/sctpdataengine.h"
51 #include "talk/session/media/mediasession.h" 49 #include "talk/session/media/mediasession.h"
52 #include "webrtc/base/gunit.h" 50 #include "webrtc/base/gunit.h"
53 #include "webrtc/base/scoped_ptr.h" 51 #include "webrtc/base/scoped_ptr.h"
54 #include "webrtc/base/ssladapter.h" 52 #include "webrtc/base/ssladapter.h"
55 #include "webrtc/base/sslstreamadapter.h" 53 #include "webrtc/base/sslstreamadapter.h"
56 #include "webrtc/base/stringutils.h" 54 #include "webrtc/base/stringutils.h"
57 #include "webrtc/base/thread.h" 55 #include "webrtc/base/thread.h"
56 #include "webrtc/media/base/fakevideocapturer.h"
57 #include "webrtc/media/sctp/sctpdataengine.h"
58 #include "webrtc/p2p/client/fakeportallocator.h" 58 #include "webrtc/p2p/client/fakeportallocator.h"
59 59
60 static const char kStreamLabel1[] = "local_stream_1"; 60 static const char kStreamLabel1[] = "local_stream_1";
61 static const char kStreamLabel2[] = "local_stream_2"; 61 static const char kStreamLabel2[] = "local_stream_2";
62 static const char kStreamLabel3[] = "local_stream_3"; 62 static const char kStreamLabel3[] = "local_stream_3";
63 static const int kDefaultStunPort = 3478; 63 static const int kDefaultStunPort = 3478;
64 static const char kStunAddressOnly[] = "stun:address"; 64 static const char kStunAddressOnly[] = "stun:address";
65 static const char kStunInvalidPort[] = "stun:address:-1"; 65 static const char kStunInvalidPort[] = "stun:address:-1";
66 static const char kStunAddressPortAndMore1[] = "stun:address:port:more"; 66 static const char kStunAddressPortAndMore1[] = "stun:address:port:more";
67 static const char kStunAddressPortAndMore2[] = "stun:address:port more"; 67 static const char kStunAddressPortAndMore2[] = "stun:address:port more";
(...skipping 2448 matching lines...) Expand 10 before | Expand all | Expand 10 after
2516 FakeConstraints updated_answer_c; 2516 FakeConstraints updated_answer_c;
2517 answer_c.SetMandatoryReceiveAudio(false); 2517 answer_c.SetMandatoryReceiveAudio(false);
2518 answer_c.SetMandatoryReceiveVideo(false); 2518 answer_c.SetMandatoryReceiveVideo(false);
2519 2519
2520 cricket::MediaSessionOptions updated_answer_options; 2520 cricket::MediaSessionOptions updated_answer_options;
2521 EXPECT_TRUE( 2521 EXPECT_TRUE(
2522 ParseConstraintsForAnswer(&updated_answer_c, &updated_answer_options)); 2522 ParseConstraintsForAnswer(&updated_answer_c, &updated_answer_options));
2523 EXPECT_TRUE(updated_answer_options.has_audio()); 2523 EXPECT_TRUE(updated_answer_options.has_audio());
2524 EXPECT_TRUE(updated_answer_options.has_video()); 2524 EXPECT_TRUE(updated_answer_options.has_video());
2525 } 2525 }
OLDNEW
« no previous file with comments | « talk/app/webrtc/peerconnectioninterface.h ('k') | talk/app/webrtc/remoteaudiosource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698