Fixed types.
This commit is contained in:
parent
af4c21ccdb
commit
b03c398b47
@ -291,7 +291,7 @@ public:
|
|||||||
vmime::shared_ptr <vmime::net::folder> folder = store->getFolder
|
vmime::shared_ptr <vmime::net::folder> folder = store->getFolder
|
||||||
(fpath() / "Folder" / "SubFolder" / "SubSubFolder2");
|
(fpath() / "Folder" / "SubFolder" / "SubSubFolder2");
|
||||||
|
|
||||||
vmime::index_t count, unseen;
|
vmime::size_t count, unseen;
|
||||||
folder->status(count, unseen);
|
folder->status(count, unseen);
|
||||||
|
|
||||||
VASSERT_EQ("Message count", 1, count);
|
VASSERT_EQ("Message count", 1, count);
|
||||||
|
@ -116,7 +116,7 @@ VMIME_TEST_SUITE_BEGIN(messageSetTest)
|
|||||||
|
|
||||||
void testNumberSet_Multiple()
|
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(1); // test grouping 1:3
|
||||||
numbers.push_back(89); // test sorting
|
numbers.push_back(89); // test sorting
|
||||||
numbers.push_back(2);
|
numbers.push_back(2);
|
||||||
|
@ -58,7 +58,7 @@ VMIME_TEST_SUITE_BEGIN(POP3UtilsTest)
|
|||||||
vmime::shared_ptr <POP3Response> resp =
|
vmime::shared_ptr <POP3Response> resp =
|
||||||
POP3Response::readMultilineResponse(conn);
|
POP3Response::readMultilineResponse(conn);
|
||||||
|
|
||||||
std::map <vmime::index_t, vmime::string> result;
|
std::map <vmime::size_t, vmime::string> result;
|
||||||
POP3Utils::parseMultiListOrUidlResponse(resp, result);
|
POP3Utils::parseMultiListOrUidlResponse(resp, result);
|
||||||
|
|
||||||
VASSERT_EQ("Count", 5, result.size());
|
VASSERT_EQ("Count", 5, result.size());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user