Test filters context map & message builder (#4886)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user