Test filters context map & message builder (#4886)

This commit is contained in:
pajlada
2023-10-13 17:41:23 +02:00
committed by GitHub
parent b85d666b32
commit 9f23c8562a
17 changed files with 345 additions and 70 deletions
+2 -14
View File
@@ -1,25 +1,13 @@
#include "common/ChannelChatters.hpp"
#include "common/Channel.hpp"
#include "mocks/Channel.hpp"
#include <gtest/gtest.h>
#include <QColor>
#include <QStringList>
namespace chatterino {
class MockChannel : public Channel
{
public:
MockChannel(const QString &name)
: Channel(name, Channel::Type::Twitch)
{
}
};
} // namespace chatterino
using namespace chatterino;
using chatterino::mock::MockChannel;
// Ensure inserting the same user does not increase the size of the stored colors
TEST(ChatterChatters, insertSameUser)