aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2016-03-23 19:05:59 +0000
committerVincent Richard <[email protected]>2016-03-23 19:05:59 +0000
commit4b62ae41746e82d5a1638dac5ad0c19ae8c5cd39 (patch)
treee40ba4c8394e7fc5ced7190f2feb5eb89ed548b9 /tests
parentFixed #135: getPeerAddress() is incorrect. Error handling. (diff)
downloadvmime-4b62ae41746e82d5a1638dac5ad0c19ae8c5cd39.tar.gz
vmime-4b62ae41746e82d5a1638dac5ad0c19ae8c5cd39.zip
Issue #126: fixed warnings about sign mismatch.
Diffstat (limited to 'tests')
-rw-r--r--tests/net/maildir/maildirStoreTest.cpp2
-rw-r--r--tests/net/messageSetTest.cpp2
-rw-r--r--tests/net/pop3/POP3UtilsTest.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/net/maildir/maildirStoreTest.cpp b/tests/net/maildir/maildirStoreTest.cpp
index 9911c484..df827b21 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");
- int count, unseen;
+ vmime::index_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 3aef7ab0..70ba051c 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 <int> numbers;
+ std::vector <vmime::index_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 55a99806..cc2cb7d3 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 <int, vmime::string> result;
+ std::map <vmime::index_t, vmime::string> result;
POP3Utils::parseMultiListOrUidlResponse(resp, result);
VASSERT_EQ("Count", 5, result.size());