aboutsummaryrefslogtreecommitdiff
path: root/tests/IntegrationTesting.h
diff options
context:
space:
mode:
authorMelvin Keskin <melvo@olomono.de>2022-01-08 08:26:46 +0000
committerLinus Jahn <lnj@kaidan.im>2022-01-15 14:04:15 +0100
commitfd11e024a6079be3e0bc62911b6e3070c7553224 (patch)
tree199a3d658bc1641259faffd588534788fadb05dd /tests/IntegrationTesting.h
parentee1ea9091f128164f91d29d7a3598d792326c1a7 (diff)
downloadqxmpp-fd11e024a6079be3e0bc62911b6e3070c7553224.tar.gz
Run 'clang-format' on all files
Diffstat (limited to 'tests/IntegrationTesting.h')
-rw-r--r--tests/IntegrationTesting.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/IntegrationTesting.h b/tests/IntegrationTesting.h
index e8db182c..9733295e 100644
--- a/tests/IntegrationTesting.h
+++ b/tests/IntegrationTesting.h
@@ -5,21 +5,21 @@
#ifndef INTEGRATIONTESTING_H
#define INTEGRATIONTESTING_H
-#include <QtGlobal>
-#include <QDebug>
-
#include "QXmppConfiguration.h"
+#include <QDebug>
+#include <QtGlobal>
+
#define ENV_ENABLED "QXMPP_TESTS_INTEGRATION_ENABLED"
#define ENV_JID "QXMPP_TESTS_JID"
#define ENV_PASSWORD "QXMPP_TESTS_PASSWORD"
-#define SKIP_IF_INTEGRATION_TESTS_DISABLED() \
- if (!IntegrationTests::enabled()) { \
+#define SKIP_IF_INTEGRATION_TESTS_DISABLED() \
+ if (!IntegrationTests::enabled()) { \
QSKIP("Export 'QXMPP_TESTS_INTEGRATION_ENABLED=1' to enable."); \
- } else if (!IntegrationTests::credentialsAvailable()) { \
- QFAIL("No credentials for integration tests provided! " \
- "Export 'QXMPP_TESTS_JID' and 'QXMPP_TESTS_PASSWORD'."); \
+ } else if (!IntegrationTests::credentialsAvailable()) { \
+ QFAIL("No credentials for integration tests provided! " \
+ "Export 'QXMPP_TESTS_JID' and 'QXMPP_TESTS_PASSWORD'."); \
}
class IntegrationTests
@@ -57,4 +57,4 @@ public:
#undef ENV_JID
#undef ENV_PASSWORD
-#endif // INTEGRATIONTESTING_H
+#endif // INTEGRATIONTESTING_H