| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 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 "testing/gmock/include/gmock/gmock.h" | 11 #include "testing/gmock/include/gmock/gmock.h" |
| 12 #include "webrtc/base/scoped_ptr.h" | 12 #include "webrtc/base/scoped_ptr.h" |
| 13 #include "webrtc/modules/audio_conference_mixer/interface/audio_conference_mixer
.h" | 13 #include "webrtc/modules/audio_conference_mixer/include/audio_conference_mixer.h
" |
| 14 #include "webrtc/modules/audio_conference_mixer/interface/audio_conference_mixer
_defines.h" | 14 #include "webrtc/modules/audio_conference_mixer/include/audio_conference_mixer_d
efines.h" |
| 15 | 15 |
| 16 namespace webrtc { | 16 namespace webrtc { |
| 17 | 17 |
| 18 using testing::_; | 18 using testing::_; |
| 19 using testing::AtLeast; | 19 using testing::AtLeast; |
| 20 using testing::Invoke; | 20 using testing::Invoke; |
| 21 using testing::Return; | 21 using testing::Return; |
| 22 | 22 |
| 23 class MockAudioMixerOutputReceiver : public AudioMixerOutputReceiver { | 23 class MockAudioMixerOutputReceiver : public AudioMixerOutputReceiver { |
| 24 public: | 24 public: |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 } else { | 156 } else { |
| 157 EXPECT_TRUE(is_mixed) << "Mixing status of Participant #" | 157 EXPECT_TRUE(is_mixed) << "Mixing status of Participant #" |
| 158 << i << " wrong."; | 158 << i << " wrong."; |
| 159 } | 159 } |
| 160 } | 160 } |
| 161 | 161 |
| 162 EXPECT_EQ(0, mixer->UnRegisterMixedStreamCallback()); | 162 EXPECT_EQ(0, mixer->UnRegisterMixedStreamCallback()); |
| 163 } | 163 } |
| 164 | 164 |
| 165 } // namespace webrtc | 165 } // namespace webrtc |
| OLD | NEW |