1234567891011121314151617181920212223242526272829303132 |
- #ifndef CALL_TEST_MOCK_BITRATE_ALLOCATOR_H_
- #define CALL_TEST_MOCK_BITRATE_ALLOCATOR_H_
- #include <string>
- #include "call/bitrate_allocator.h"
- #include "test/gmock.h"
- namespace webrtc {
- class MockBitrateAllocator : public BitrateAllocatorInterface {
- public:
- MOCK_METHOD(void,
- AddObserver,
- (BitrateAllocatorObserver*, MediaStreamAllocationConfig),
- (override));
- MOCK_METHOD(void, RemoveObserver, (BitrateAllocatorObserver*), (override));
- MOCK_METHOD(int,
- GetStartBitrate,
- (BitrateAllocatorObserver*),
- (const, override));
- };
- }
- #endif
|