aboutsummaryrefslogtreecommitdiff
path: root/autotests/callcandidateseventtest.cpp
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-01-25 10:33:25 +0100
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-01-25 10:33:25 +0100
commita8e8f1cd39e846941de544c7791e1ab6398a335b (patch)
tree7ec28d6272499401dd9f44e1ce943c6e640abb51 /autotests/callcandidateseventtest.cpp
parent08de0609df2649170ecdc927c312e08387e6cc67 (diff)
downloadlibquotient-a8e8f1cd39e846941de544c7791e1ab6398a335b.tar.gz
libquotient-a8e8f1cd39e846941de544c7791e1ab6398a335b.zip
Collapse the autotest entirely in *.cpp file
Otherwise CMake's automoc complains that it doesn't see a moc-able class definition in the file that includes "*.moc".
Diffstat (limited to 'autotests/callcandidateseventtest.cpp')
-rw-r--r--autotests/callcandidateseventtest.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/autotests/callcandidateseventtest.cpp b/autotests/callcandidateseventtest.cpp
index f103e4d3..39e6a116 100644
--- a/autotests/callcandidateseventtest.cpp
+++ b/autotests/callcandidateseventtest.cpp
@@ -3,7 +3,16 @@
// SPDX-License-Identifier: LGPL-2.1-or-later
#include "events/callcandidatesevent.h"
-#include "callcandidateseventtest.h"
+
+#include <QtTest/QtTest>
+
+class TestCallCandidatesEvent : public QObject
+{
+ Q_OBJECT
+
+private Q_SLOTS:
+ void fromJson();
+};
void TestCallCandidatesEvent::fromJson()
{