diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-01-28 17:02:55 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-01-28 17:05:31 +0100 |
commit | a79a4d2f12cb239bbc30aa23af02db0deb529bc3 (patch) | |
tree | 402013f1941ff228d040f6745d304ebc5c951368 /examples | |
parent | e58f26a41181f02525f03c8bebccd94ef1e68cdf (diff) | |
download | sink-a79a4d2f12cb239bbc30aa23af02db0deb529bc3.tar.gz sink-a79a4d2f12cb239bbc30aa23af02db0deb529bc3.zip |
Fixed imapmailsynctest
Diffstat (limited to 'examples')
-rw-r--r-- | examples/imapresource/tests/imapmailsyncbenchmark.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/imapresource/tests/imapmailsyncbenchmark.cpp b/examples/imapresource/tests/imapmailsyncbenchmark.cpp index 814e325..b5c3645 100644 --- a/examples/imapresource/tests/imapmailsyncbenchmark.cpp +++ b/examples/imapresource/tests/imapmailsyncbenchmark.cpp | |||
@@ -27,6 +27,7 @@ | |||
27 | #include "common/domain/applicationdomaintype.h" | 27 | #include "common/domain/applicationdomaintype.h" |
28 | #include "common/store.h" | 28 | #include "common/store.h" |
29 | #include "common/resourcecontrol.h" | 29 | #include "common/resourcecontrol.h" |
30 | #include "common/secretstore.h" | ||
30 | 31 | ||
31 | using namespace Sink; | 32 | using namespace Sink; |
32 | using namespace Sink::ApplicationDomain; | 33 | using namespace Sink::ApplicationDomain; |
@@ -56,9 +57,9 @@ class ImapMailSyncBenchmark : public QObject | |||
56 | { | 57 | { |
57 | auto resource = ApplicationDomain::ImapResource::create("account1"); | 58 | auto resource = ApplicationDomain::ImapResource::create("account1"); |
58 | resource.setProperty("server", "localhost"); | 59 | resource.setProperty("server", "localhost"); |
59 | resource.setProperty("port", 993); | 60 | resource.setProperty("port", 143); |
60 | resource.setProperty("username", "doe"); | 61 | resource.setProperty("username", "doe"); |
61 | resource.setProperty("password", "doe"); | 62 | Sink::SecretStore::instance().insert(resource.identifier(), "doe"); |
62 | return resource; | 63 | return resource; |
63 | } | 64 | } |
64 | 65 | ||