Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KMail
Commits
fc2ebb4e
Commit
fc2ebb4e
authored
Dec 06, 2021
by
Laurent Montel
😁
Browse files
Fix autotest
parent
fb33b8f9
Pipeline
#106053
failed with stage
in 5 minutes and 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
agents/followupreminderagent/autotests/followupreminderconfigtest.cpp
View file @
fc2ebb4e
...
...
@@ -158,11 +158,13 @@ void FollowUpReminderConfigTest::shouldRemoveItems()
info
.
setUniqueIdentifier
(
uniq
);
FollowUpReminder
::
FollowUpReminderUtil
::
writeFollowupReminderInfo
(
mConfig
,
&
info
,
false
);
itemList
=
mConfig
->
groupList
().
filter
(
mFollowupRegExpFilter
);
QCOMPARE
(
itemList
.
count
(),
2
);
uniq
=
44
;
info
.
setUniqueIdentifier
(
uniq
);
FollowUpReminder
::
FollowUpReminderUtil
::
writeFollowupReminderInfo
(
mConfig
,
&
info
,
false
);
itemList
=
mConfig
->
groupList
().
filter
(
mFollowupRegExpFilter
);
QCOMPARE
(
itemList
.
count
(),
3
);
// Add item without uniqIdentifier
FollowUpReminder
::
FollowUpReminderInfo
infoNotHaveUniq
;
...
...
@@ -207,8 +209,10 @@ void FollowUpReminderConfigTest::shouldNotRemoveItemWhenItemDoesntExist()
info
.
setTo
(
QStringLiteral
(
"kmail.org"
));
uniq
=
43
;
info
.
setUniqueIdentifier
(
uniq
);
QCOMPARE
(
itemList
.
count
(),
1
);
FollowUpReminder
::
FollowUpReminderUtil
::
writeFollowupReminderInfo
(
mConfig
,
&
info
,
false
);
itemList
=
mConfig
->
groupList
().
filter
(
mFollowupRegExpFilter
);
QCOMPARE
(
itemList
.
count
(),
2
);
uniq
=
44
;
info
.
setUniqueIdentifier
(
uniq
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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