We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 556854f commit 28a3414Copy full SHA for 28a3414
tests/src/core/test_template.cpp
@@ -0,0 +1,20 @@
1
+#include <QtTest>
2
+#include <QObject>
3
+#include <QString>
4
5
+//header for class being tested
6
+#include <[testClassLowerCaseName].h>
7
+
8
+class Test[testClassCamelCaseName]: public QObject
9
+{
10
+ Q_OBJECT;
11
+ private slots:
12
+ [TestMethods]
13
+};
14
15
+QTEST_MAIN(Test[testClassCamelCaseName])
16
+#include "test[testClassLowerCaseName].moc.cpp"
17
18
19
20
0 commit comments