refactor: turn Emotes into EmoteController (#6516)
* refactor: turn `Emotes` into `EmoteController` * changelog * why does clang-format do this??? * nit: remove unused include from EmoteController.hpp --------- Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
#include "mocks/BaseApplication.hpp"
|
||||
#include "mocks/ChatterinoBadges.hpp"
|
||||
#include "mocks/DisabledStreamerMode.hpp"
|
||||
#include "mocks/Emotes.hpp"
|
||||
#include "mocks/EmoteController.hpp"
|
||||
#include "mocks/LinkResolver.hpp"
|
||||
#include "mocks/Logging.hpp"
|
||||
#include "mocks/TwitchIrcServer.hpp"
|
||||
@@ -24,7 +24,6 @@
|
||||
#include "providers/twitch/TwitchBadge.hpp"
|
||||
#include "providers/twitch/TwitchBadges.hpp"
|
||||
#include "providers/twitch/TwitchChannel.hpp"
|
||||
#include "singletons/Emotes.hpp"
|
||||
#include "Test.hpp"
|
||||
#include "util/IrcHelpers.hpp"
|
||||
#include "util/VectorMessageSink.hpp"
|
||||
@@ -72,7 +71,7 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
IEmotes *getEmotes() override
|
||||
EmoteController *getEmotes() override
|
||||
{
|
||||
return &this->emotes;
|
||||
}
|
||||
@@ -149,7 +148,7 @@ public:
|
||||
|
||||
mock::EmptyLogging logging;
|
||||
AccountController accounts;
|
||||
mock::Emotes emotes;
|
||||
mock::EmoteController emotes;
|
||||
mock::UserDataController userData;
|
||||
mock::MockTwitchIrcServer twitch;
|
||||
mock::ChatterinoBadges chatterinoBadges;
|
||||
|
||||
Reference in New Issue
Block a user