| 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 <memory> | 11 #include <memory> | 
| 12 | 12 | 
| 13 #include "webrtc/test/gmock.h" |  | 
| 14 #include "webrtc/modules/audio_conference_mixer/include/audio_conference_mixer.h
     " | 13 #include "webrtc/modules/audio_conference_mixer/include/audio_conference_mixer.h
     " | 
| 15 #include "webrtc/modules/audio_conference_mixer/include/audio_conference_mixer_d
     efines.h" | 14 #include "webrtc/modules/audio_conference_mixer/include/audio_conference_mixer_d
     efines.h" | 
|  | 15 #include "webrtc/test/gmock.h" | 
| 16 | 16 | 
| 17 namespace webrtc { | 17 namespace webrtc { | 
| 18 | 18 | 
| 19 using testing::_; | 19 using testing::_; | 
| 20 using testing::AtLeast; | 20 using testing::AtLeast; | 
| 21 using testing::Invoke; | 21 using testing::Invoke; | 
| 22 using testing::Return; | 22 using testing::Return; | 
| 23 | 23 | 
| 24 class MockAudioMixerOutputReceiver : public AudioMixerOutputReceiver { | 24 class MockAudioMixerOutputReceiver : public AudioMixerOutputReceiver { | 
| 25  public: | 25  public: | 
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 157     } else { | 157     } else { | 
| 158       EXPECT_TRUE(is_mixed) << "Mixing status of Participant #" | 158       EXPECT_TRUE(is_mixed) << "Mixing status of Participant #" | 
| 159                             << i << " wrong."; | 159                             << i << " wrong."; | 
| 160     } | 160     } | 
| 161   } | 161   } | 
| 162 | 162 | 
| 163   EXPECT_EQ(0, mixer->UnRegisterMixedStreamCallback()); | 163   EXPECT_EQ(0, mixer->UnRegisterMixedStreamCallback()); | 
| 164 } | 164 } | 
| 165 | 165 | 
| 166 }  // namespace webrtc | 166 }  // namespace webrtc | 
| OLD | NEW | 
|---|