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

Side by Side Diff: webrtc/test/call_test.h

Issue 2760623002: Probing EndToEndTests. (Closed)
Patch Set: Correctly disabled tests on memcheck bot. Created 3 years, 9 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2014 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 #ifndef WEBRTC_TEST_CALL_TEST_H_ 10 #ifndef WEBRTC_TEST_CALL_TEST_H_
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 VoiceEngineState voe_send_; 143 VoiceEngineState voe_send_;
144 VoiceEngineState voe_recv_; 144 VoiceEngineState voe_recv_;
145 145
146 // The audio devices must outlive the voice engines. 146 // The audio devices must outlive the voice engines.
147 std::unique_ptr<test::FakeAudioDevice> fake_send_audio_device_; 147 std::unique_ptr<test::FakeAudioDevice> fake_send_audio_device_;
148 std::unique_ptr<test::FakeAudioDevice> fake_recv_audio_device_; 148 std::unique_ptr<test::FakeAudioDevice> fake_recv_audio_device_;
149 }; 149 };
150 150
151 class BaseTest : public RtpRtcpObserver { 151 class BaseTest : public RtpRtcpObserver {
152 public: 152 public:
153 BaseTest();
153 explicit BaseTest(unsigned int timeout_ms); 154 explicit BaseTest(unsigned int timeout_ms);
154 virtual ~BaseTest(); 155 virtual ~BaseTest();
155 156
156 virtual void PerformTest() = 0; 157 virtual void PerformTest() = 0;
157 virtual bool ShouldCreateReceivers() const = 0; 158 virtual bool ShouldCreateReceivers() const = 0;
158 159
159 virtual size_t GetNumVideoStreams() const; 160 virtual size_t GetNumVideoStreams() const;
160 virtual size_t GetNumAudioStreams() const; 161 virtual size_t GetNumAudioStreams() const;
161 virtual size_t GetNumFlexfecStreams() const; 162 virtual size_t GetNumFlexfecStreams() const;
162 163
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 199
199 class SendTest : public BaseTest { 200 class SendTest : public BaseTest {
200 public: 201 public:
201 explicit SendTest(unsigned int timeout_ms); 202 explicit SendTest(unsigned int timeout_ms);
202 203
203 bool ShouldCreateReceivers() const override; 204 bool ShouldCreateReceivers() const override;
204 }; 205 };
205 206
206 class EndToEndTest : public BaseTest { 207 class EndToEndTest : public BaseTest {
207 public: 208 public:
209 EndToEndTest();
208 explicit EndToEndTest(unsigned int timeout_ms); 210 explicit EndToEndTest(unsigned int timeout_ms);
209 211
210 bool ShouldCreateReceivers() const override; 212 bool ShouldCreateReceivers() const override;
211 }; 213 };
212 214
213 } // namespace test 215 } // namespace test
214 } // namespace webrtc 216 } // namespace webrtc
215 217
216 #endif // WEBRTC_TEST_CALL_TEST_H_ 218 #endif // WEBRTC_TEST_CALL_TEST_H_
OLDNEW
« no previous file with comments | « tools-webrtc/valgrind/gtest_exclude/video_engine_tests.gtest-memcheck.txt ('k') | webrtc/test/call_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698