OLD | NEW |
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 10 matching lines...) Expand all Loading... |
21 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; | 21 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; |
22 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | 22 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
23 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | 23 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
24 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF | 24 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
25 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 */ | 26 */ |
27 | 27 |
28 #include <utility> | 28 #include <utility> |
29 #include <vector> | 29 #include <vector> |
30 | 30 |
31 #include "talk/app/webrtc/audiotrack.h" | |
32 #include "talk/app/webrtc/fakemediacontroller.h" | |
33 #include "talk/app/webrtc/fakemetricsobserver.h" | |
34 #include "talk/app/webrtc/jsepicecandidate.h" | |
35 #include "talk/app/webrtc/jsepsessiondescription.h" | |
36 #include "talk/app/webrtc/peerconnection.h" | |
37 #include "talk/app/webrtc/sctputils.h" | |
38 #include "talk/app/webrtc/streamcollection.h" | |
39 #include "talk/app/webrtc/streamcollection.h" | |
40 #include "talk/app/webrtc/test/fakeconstraints.h" | |
41 #include "talk/app/webrtc/test/fakedtlsidentitystore.h" | |
42 #include "talk/app/webrtc/videotrack.h" | |
43 #include "talk/app/webrtc/webrtcsession.h" | |
44 #include "talk/app/webrtc/webrtcsessiondescriptionfactory.h" | |
45 #include "talk/session/media/channelmanager.h" | 31 #include "talk/session/media/channelmanager.h" |
46 #include "talk/session/media/mediasession.h" | 32 #include "talk/session/media/mediasession.h" |
| 33 #include "webrtc/api/audiotrack.h" |
| 34 #include "webrtc/api/fakemediacontroller.h" |
| 35 #include "webrtc/api/fakemetricsobserver.h" |
| 36 #include "webrtc/api/jsepicecandidate.h" |
| 37 #include "webrtc/api/jsepsessiondescription.h" |
| 38 #include "webrtc/api/peerconnection.h" |
| 39 #include "webrtc/api/sctputils.h" |
| 40 #include "webrtc/api/streamcollection.h" |
| 41 #include "webrtc/api/streamcollection.h" |
| 42 #include "webrtc/api/test/fakeconstraints.h" |
| 43 #include "webrtc/api/test/fakedtlsidentitystore.h" |
| 44 #include "webrtc/api/videotrack.h" |
| 45 #include "webrtc/api/webrtcsession.h" |
| 46 #include "webrtc/api/webrtcsessiondescriptionfactory.h" |
47 #include "webrtc/base/fakenetwork.h" | 47 #include "webrtc/base/fakenetwork.h" |
48 #include "webrtc/base/firewallsocketserver.h" | 48 #include "webrtc/base/firewallsocketserver.h" |
49 #include "webrtc/base/gunit.h" | 49 #include "webrtc/base/gunit.h" |
50 #include "webrtc/base/logging.h" | 50 #include "webrtc/base/logging.h" |
51 #include "webrtc/base/network.h" | 51 #include "webrtc/base/network.h" |
52 #include "webrtc/base/physicalsocketserver.h" | 52 #include "webrtc/base/physicalsocketserver.h" |
53 #include "webrtc/base/ssladapter.h" | 53 #include "webrtc/base/ssladapter.h" |
54 #include "webrtc/base/sslidentity.h" | 54 #include "webrtc/base/sslidentity.h" |
55 #include "webrtc/base/sslstreamadapter.h" | 55 #include "webrtc/base/sslstreamadapter.h" |
56 #include "webrtc/base/stringutils.h" | 56 #include "webrtc/base/stringutils.h" |
(...skipping 4236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4293 } | 4293 } |
4294 | 4294 |
4295 // TODO(bemasc): Add a TestIceStatesBundle with BUNDLE enabled. That test | 4295 // TODO(bemasc): Add a TestIceStatesBundle with BUNDLE enabled. That test |
4296 // currently fails because upon disconnection and reconnection OnIceComplete is | 4296 // currently fails because upon disconnection and reconnection OnIceComplete is |
4297 // called more than once without returning to IceGatheringGathering. | 4297 // called more than once without returning to IceGatheringGathering. |
4298 | 4298 |
4299 INSTANTIATE_TEST_CASE_P(WebRtcSessionTests, | 4299 INSTANTIATE_TEST_CASE_P(WebRtcSessionTests, |
4300 WebRtcSessionTest, | 4300 WebRtcSessionTest, |
4301 testing::Values(ALREADY_GENERATED, | 4301 testing::Values(ALREADY_GENERATED, |
4302 DTLS_IDENTITY_STORE)); | 4302 DTLS_IDENTITY_STORE)); |
OLD | NEW |