summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAnne Jan Brouwer <brouwer@annejan.com>2018-04-18 16:36:02 +0200
committerAnne Jan Brouwer <brouwer@annejan.com>2018-04-18 16:36:02 +0200
commitf04322cf1e533760911c63854aa5aea01db23473 (patch)
tree97623b9097781841b436fe014e117d1f991eab5b /tests
parent2bad10abd87b81eb9a64d0a99e55506b597c5167 (diff)
Automated housekeeping (clang-format CHANGELOG and localization)
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/ui/tst_ui.cpp8
-rw-r--r--tests/auto/util/tst_util.cpp4
2 files changed, 7 insertions, 5 deletions
diff --git a/tests/auto/ui/tst_ui.cpp b/tests/auto/ui/tst_ui.cpp
index 1bbd4f33..065a2143 100644
--- a/tests/auto/ui/tst_ui.cpp
+++ b/tests/auto/ui/tst_ui.cpp
@@ -14,11 +14,13 @@ private Q_SLOTS:
};
/**
- * @brief tst_ui::contentRemainsSame test that content set with PasswordDialog::setPassword
- * is repeated when calling PasswordDialog::getPassword.
+ * @brief tst_ui::contentRemainsSame test that content set with
+ * PasswordDialog::setPassword is repeated when calling
+ * PasswordDialog::getPassword.
*/
void tst_ui::contentRemainsSame() {
- QScopedPointer<PasswordDialog> d(new PasswordDialog(PasswordConfiguration{}, NULL));
+ QScopedPointer<PasswordDialog> d(
+ new PasswordDialog(PasswordConfiguration{}, NULL));
d->setTemplate("", false);
QString input = "pw\n";
d->setPass(input);
diff --git a/tests/auto/util/tst_util.cpp b/tests/auto/util/tst_util.cpp
index 2a628dc9..cce06664 100644
--- a/tests/auto/util/tst_util.cpp
+++ b/tests/auto/util/tst_util.cpp
@@ -1,8 +1,8 @@
-#include "../../../src/util.h"
#include "../../../src/filecontent.h"
+#include "../../../src/util.h"
#include <QCoreApplication>
-#include <QtTest>
#include <QList>
+#include <QtTest>
/**
* @brief The tst_util class is our first unit test