aboutsummaryrefslogtreecommitdiff
path: root/templates/qtest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'templates/qtest.sh')
-rwxr-xr-xtemplates/qtest.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/qtest.sh b/templates/qtest.sh
index 48a9f7d..50d288c 100755
--- a/templates/qtest.sh
+++ b/templates/qtest.sh
@@ -10,6 +10,7 @@ echo "#include <QtCore>
#include \"$class_name.hpp\"
+// NOLINTBEGIN
class ${class_name}Spec : public QObject {
Q_OBJECT
@@ -26,5 +27,6 @@ private slots:
QTEST_REGISTER(${class_name}Spec)
#include \"${class_name}Spec.moc\"
+// NOLINTEND
" > "./spec/${class_name}Spec.cpp"