diff options
author | Vincent Richard <[email protected]> | 2016-03-23 19:32:13 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2016-03-23 19:32:13 +0000 |
commit | b03c398b47ccfb3c41d5c67a73533d8d56f05962 (patch) | |
tree | e79bc1c6c5f5c8c20a07ffd694eca15d986e8215 /tests | |
parent | Issue #126: fixed deprecated GnuTLS types. (diff) | |
download | vmime-b03c398b47ccfb3c41d5c67a73533d8d56f05962.tar.gz vmime-b03c398b47ccfb3c41d5c67a73533d8d56f05962.zip |
Fixed types.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/net/maildir/maildirStoreTest.cpp | 2 | ||||
-rw-r--r-- | tests/net/messageSetTest.cpp | 2 | ||||
-rw-r--r-- | tests/net/pop3/POP3UtilsTest.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/net/maildir/maildirStoreTest.cpp b/tests/net/maildir/maildirStoreTest.cpp index df827b21..b456089a 100644 --- a/tests/net/maildir/maildirStoreTest.cpp +++ b/tests/net/maildir/maildirStoreTest.cpp @@ -291,7 +291,7 @@ public: vmime::shared_ptr <vmime::net::folder> folder = store->getFolder (fpath() / "Folder" / "SubFolder" / "SubSubFolder2"); - vmime::index_t count, unseen; + vmime::size_t count, unseen; folder->status(count, unseen); VASSERT_EQ("Message count", 1, count); diff --git a/tests/net/messageSetTest.cpp b/tests/net/messageSetTest.cpp index 70ba051c..471c2e6c 100644 --- a/tests/net/messageSetTest.cpp +++ b/tests/net/messageSetTest.cpp @@ -116,7 +116,7 @@ VMIME_TEST_SUITE_BEGIN(messageSetTest) void testNumberSet_Multiple() { - std::vector <vmime::index_t> numbers; + std::vector <vmime::size_t> numbers; numbers.push_back(1); // test grouping 1:3 numbers.push_back(89); // test sorting numbers.push_back(2); diff --git a/tests/net/pop3/POP3UtilsTest.cpp b/tests/net/pop3/POP3UtilsTest.cpp index cc2cb7d3..69e5e795 100644 --- a/tests/net/pop3/POP3UtilsTest.cpp +++ b/tests/net/pop3/POP3UtilsTest.cpp @@ -58,7 +58,7 @@ VMIME_TEST_SUITE_BEGIN(POP3UtilsTest) vmime::shared_ptr <POP3Response> resp = POP3Response::readMultilineResponse(conn); - std::map <vmime::index_t, vmime::string> result; + std::map <vmime::size_t, vmime::string> result; POP3Utils::parseMultiListOrUidlResponse(resp, result); VASSERT_EQ("Count", 5, result.size()); |