Skip to content

Commit

Permalink
Add getSound mock to EmptyApplication
Browse files Browse the repository at this point in the history
  • Loading branch information
pajlada committed Nov 26, 2023
1 parent c0b3eff commit 44cf294
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mocks/include/mocks/EmptyApplication.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@ class EmptyApplication : public IApplication
return nullptr;
}

ISoundController *getSound() override
{
assert(!"getSound was called without being initialized");
return nullptr;
}

ITwitchLiveController *getTwitchLiveController() override
{
return nullptr;
Expand Down

0 comments on commit 44cf294

Please sign in to comment.