| 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/test/test_suite.h" | |
| 15 #include "webrtc/test/testsupport/fileutils.h" | 14 #include "webrtc/test/testsupport/fileutils.h" |
| 16 #include "webrtc/voice_engine/test/auto_test/fixtures/after_streaming_fixture.h" | 15 #include "webrtc/voice_engine/test/auto_test/fixtures/after_streaming_fixture.h" |
| 17 #include "webrtc/voice_engine/voice_engine_defines.h" | 16 #include "webrtc/voice_engine/voice_engine_defines.h" |
| 18 | 17 |
| 19 class CodecTest : public AfterStreamingFixture { | 18 class CodecTest : public AfterStreamingFixture { |
| 20 protected: | 19 protected: |
| 21 void SetUp() { | 20 void SetUp() { |
| 22 memset(&codec_instance_, 0, sizeof(codec_instance_)); | 21 memset(&codec_instance_, 0, sizeof(codec_instance_)); |
| 23 } | 22 } |
| 24 | 23 |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 TEST_LOG("%d ", packet_size); | 204 TEST_LOG("%d ", packet_size); |
| 206 TEST_LOG_FLUSH; | 205 TEST_LOG_FLUSH; |
| 207 at_least_one_succeeded = true; | 206 at_least_one_succeeded = true; |
| 208 Sleep(CODEC_TEST_TIME); | 207 Sleep(CODEC_TEST_TIME); |
| 209 } | 208 } |
| 210 } | 209 } |
| 211 TEST_LOG("\n"); | 210 TEST_LOG("\n"); |
| 212 EXPECT_TRUE(at_least_one_succeeded); | 211 EXPECT_TRUE(at_least_one_succeeded); |
| 213 } | 212 } |
| 214 } | 213 } |
| OLD | NEW |