Skip to content

Commit

Permalink
fix(bench): add 7tv personal emotes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerixyz committed Dec 24, 2024
1 parent e9ecdb8 commit 2af22f9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions benchmarks/src/RecentMessages.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include "providers/recentmessages/Impl.hpp"
#include "providers/seventv/SeventvBadges.hpp"
#include "providers/seventv/SeventvEmotes.hpp"
#include "providers/seventv/SeventvPersonalEmotes.hpp"
#include "providers/twitch/TwitchBadges.hpp"
#include "providers/twitch/TwitchChannel.hpp"
#include "singletons/Resources.hpp"
Expand Down Expand Up @@ -116,6 +117,11 @@ class MockApplication : public mock::BaseApplication
return &this->logging;
}

SeventvPersonalEmotes *getSeventvPersonalEmotes() override
{
return &this->seventvPersonalEmotes;
}

mock::EmptyLogging logging;
AccountController accounts;
mock::Emotes emotes;
Expand All @@ -131,6 +137,7 @@ class MockApplication : public mock::BaseApplication
FfzEmotes ffzEmotes;
SeventvEmotes seventvEmotes;
DisabledStreamerMode streamerMode;
SeventvPersonalEmotes seventvPersonalEmotes;
};

std::optional<QJsonDocument> tryReadJsonFile(const QString &path)
Expand Down

0 comments on commit 2af22f9

Please sign in to comment.