OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 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 <stdio.h> | 11 #include <stdio.h> |
12 #include <string> | 12 #include <string> |
13 | 13 |
14 #include "webrtc/call/rtc_event_log.h" | |
15 #include "webrtc/test/test_suite.h" | 14 #include "webrtc/test/test_suite.h" |
16 #include "webrtc/test/testsupport/fileutils.h" | 15 #include "webrtc/test/testsupport/fileutils.h" |
17 #include "webrtc/voice_engine/test/auto_test/fixtures/after_streaming_fixture.h" | 16 #include "webrtc/voice_engine/test/auto_test/fixtures/after_streaming_fixture.h" |
18 #include "webrtc/voice_engine/voice_engine_defines.h" | 17 #include "webrtc/voice_engine/voice_engine_defines.h" |
19 | 18 |
20 class CodecTest : public AfterStreamingFixture { | 19 class CodecTest : public AfterStreamingFixture { |
21 protected: | 20 protected: |
22 void SetUp() { | 21 void SetUp() { |
23 memset(&codec_instance_, 0, sizeof(codec_instance_)); | 22 memset(&codec_instance_, 0, sizeof(codec_instance_)); |
24 } | 23 } |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 TEST_LOG("%d ", packet_size); | 205 TEST_LOG("%d ", packet_size); |
207 TEST_LOG_FLUSH; | 206 TEST_LOG_FLUSH; |
208 at_least_one_succeeded = true; | 207 at_least_one_succeeded = true; |
209 Sleep(CODEC_TEST_TIME); | 208 Sleep(CODEC_TEST_TIME); |
210 } | 209 } |
211 } | 210 } |
212 TEST_LOG("\n"); | 211 TEST_LOG("\n"); |
213 EXPECT_TRUE(at_least_one_succeeded); | 212 EXPECT_TRUE(at_least_one_succeeded); |
214 } | 213 } |
215 } | 214 } |
OLD | NEW |