summaryrefslogtreecommitdiff
path: root/lang/qt/tests/t-remarks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lang/qt/tests/t-remarks.cpp')
-rw-r--r--lang/qt/tests/t-remarks.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/lang/qt/tests/t-remarks.cpp b/lang/qt/tests/t-remarks.cpp
index f6227d15..c39c430b 100644
--- a/lang/qt/tests/t-remarks.cpp
+++ b/lang/qt/tests/t-remarks.cpp
@@ -62,6 +62,9 @@ public:
// case in the UI
void testRemarkOwnKey()
{
+ if (!loopbackSupported()) {
+ return;
+ }
// Get the signing key (alfa)
auto ctx = Context::create(OpenPGP);
QVERIFY (ctx);
@@ -109,6 +112,9 @@ private Q_SLOTS:
void testRemarkReplaceSingleUIDExportable()
{
+ if (!loopbackSupported()) {
+ return;
+ }
// Get the signing key (alfa)
auto ctx = Context::create(OpenPGP);
QVERIFY (ctx);
@@ -197,6 +203,9 @@ private Q_SLOTS:
void testMultipleRemarks()
{
+ if (!loopbackSupported()) {
+ return;
+ }
// Get the signing key1 (alfa)
auto ctx = Context::create(OpenPGP);
QVERIFY (ctx);
@@ -285,6 +294,9 @@ private Q_SLOTS:
void testRemarkReplaceSingleUID()
{
+ if (!loopbackSupported()) {
+ return;
+ }
// Get the signing key (alfa)
auto ctx = Context::create(OpenPGP);
QVERIFY (ctx);
@@ -372,6 +384,9 @@ private Q_SLOTS:
void testRemarkReplaceMultiUID()
{
+ if (!loopbackSupported()) {
+ return;
+ }
// Get the signing key (alfa)
auto ctx = Context::create(OpenPGP);
QVERIFY (ctx);