Add tests for getEmoteSetBatches (#3036)

This commit is contained in:
pajlada
2021-07-18 12:14:01 +02:00
committed by GitHub
parent 9f2fc90928
commit 8ceb100177
4 changed files with 161 additions and 4 deletions
+1 -4
View File
@@ -21,7 +21,7 @@
#include "util/QStringHash.hpp"
#include "util/RapidjsonHelpers.hpp"
namespace {
namespace chatterino {
std::vector<QStringList> getEmoteSetBatches(QStringList emoteSetKeys)
{
@@ -48,9 +48,6 @@ std::vector<QStringList> getEmoteSetBatches(QStringList emoteSetKeys)
return batches;
}
} // namespace
namespace chatterino {
TwitchAccount::TwitchAccount(const QString &username, const QString &oauthToken,
const QString &oauthClient, const QString &userID)
: Account(ProviderId::Twitch)
+2
View File
@@ -51,6 +51,8 @@ struct TwitchEmoteSetResolverResponse {
}
};
std::vector<QStringList> getEmoteSetBatches(QStringList emoteSetKeys);
class TwitchAccount : public Account
{
public: