Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
libkleo
Commits
5688e83d
Unverified
Commit
5688e83d
authored
Aug 26, 2022
by
Andre Heinecke
Browse files
Fix newkeyapprovaldialogtest after string change
Thanks CI
parent
328a2042
Pipeline
#223065
passed with stage
in 3 minutes and 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
autotests/newkeyapprovaldialogtest.cpp
View file @
5688e83d
...
...
@@ -14,6 +14,7 @@
#include
<Libkleo/NewKeyApprovalDialog>
#include
<Libkleo/Predicates>
#include
<Libkleo/Test>
#include
<Libkleo/Compliance>
#include
<QCheckBox>
#include
<QGroupBox>
...
...
@@ -824,7 +825,7 @@ private Q_SLOTS:
const
auto
complianceLabel
=
dialog
->
findChild
<
QLabel
*>
(
QStringLiteral
(
"compliance label"
));
verifyWidgetVisibility
(
complianceLabel
,
IsVisible
);
QVERIFY
(
!
complianceLabel
->
text
().
contains
(
" not "
));
QVERIFY
(
!
complianceLabel
->
text
().
contains
(
DeVSCompliance
::
name
(
false
)
));
}
void
test__vs_de_compliance__not_all_keys_fully_valid
()
...
...
@@ -850,7 +851,7 @@ private Q_SLOTS:
const
auto
complianceLabel
=
dialog
->
findChild
<
QLabel
*>
(
QStringLiteral
(
"compliance label"
));
verifyWidgetVisibility
(
complianceLabel
,
IsVisible
);
QVERIFY
(
complianceLabel
->
text
().
contains
(
" not "
));
QVERIFY
(
complianceLabel
->
text
().
contains
(
DeVSCompliance
::
name
(
false
)
));
}
void
test__vs_de_compliance__null_keys_are_ignored
()
...
...
@@ -876,7 +877,7 @@ private Q_SLOTS:
const
auto
complianceLabel
=
dialog
->
findChild
<
QLabel
*>
(
QStringLiteral
(
"compliance label"
));
verifyWidgetVisibility
(
complianceLabel
,
IsVisible
);
QVERIFY
(
!
complianceLabel
->
text
().
contains
(
" not "
));
QVERIFY
(
!
complianceLabel
->
text
().
contains
(
DeVSCompliance
::
name
(
false
)
));
}
void
test__sign_and_encrypt_to_self_only
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment