Skip to content

Commit 9f03569

Browse files
committed
Add AudioInputMock
1 parent 27b1734 commit 9f03569

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

test/mocks/audioinputmock.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#pragma once
2+
3+
#include <audio/iaudioinput.h>
4+
#include <gmock/gmock.h>
5+
6+
using namespace libscratchcpp;
7+
8+
class AudioInputMock : public IAudioInput
9+
{
10+
public:
11+
MOCK_METHOD(std::shared_ptr<IAudioLoudness>, audioLoudness, (), (const, override));
12+
};

0 commit comments

Comments
 (0)