Remove unused variables in linkpreviewertest
This commit is contained in:
committed by
Tobias Fella
parent
d64e22c270
commit
37b8d8d813
@@ -19,13 +19,7 @@ class LinkPreviewerTest : public QObject
|
|||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
private:
|
|
||||||
Connection *connection = nullptr;
|
|
||||||
TestUtils::TestRoom *room = nullptr;
|
|
||||||
|
|
||||||
private Q_SLOTS:
|
private Q_SLOTS:
|
||||||
void initTestCase();
|
|
||||||
|
|
||||||
void linkPreviewsMatch_data();
|
void linkPreviewsMatch_data();
|
||||||
void linkPreviewsMatch();
|
void linkPreviewsMatch();
|
||||||
|
|
||||||
@@ -36,12 +30,6 @@ private Q_SLOTS:
|
|||||||
void linkPreviewsReject();
|
void linkPreviewsReject();
|
||||||
};
|
};
|
||||||
|
|
||||||
void LinkPreviewerTest::initTestCase()
|
|
||||||
{
|
|
||||||
connection = Connection::makeMockConnection(u"@bob:example.org"_s);
|
|
||||||
room = new TestUtils::TestRoom(connection, u"!test:example.org"_s);
|
|
||||||
}
|
|
||||||
|
|
||||||
void LinkPreviewerTest::linkPreviewsMatch_data()
|
void LinkPreviewerTest::linkPreviewsMatch_data()
|
||||||
{
|
{
|
||||||
QTest::addColumn<QString>("inputString");
|
QTest::addColumn<QString>("inputString");
|
||||||
|
|||||||
Reference in New Issue
Block a user