diff options
author | Vincent Richard <[email protected]> | 2018-09-07 18:32:51 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2018-09-07 18:32:51 +0000 |
commit | 71968d978daea9beffdc22522e8e9a29d52c3e9e (patch) | |
tree | 48854151c452290f9e174765da3320ea845d5c50 /tests/parser/emptyContentHandlerTest.cpp | |
parent | Add SMTPS with AUTH PLAIN without SASL (diff) | |
parent | Useless mutex does not make nl_langinfo() thread-safe. (diff) | |
download | vmime-71968d978daea9beffdc22522e8e9a29d52c3e9e.tar.gz vmime-71968d978daea9beffdc22522e8e9a29d52c3e9e.zip |
Merge branch 'master' into master
Diffstat (limited to 'tests/parser/emptyContentHandlerTest.cpp')
-rw-r--r-- | tests/parser/emptyContentHandlerTest.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/tests/parser/emptyContentHandlerTest.cpp b/tests/parser/emptyContentHandlerTest.cpp index 81e2ed6b..43cd8c2b 100644 --- a/tests/parser/emptyContentHandlerTest.cpp +++ b/tests/parser/emptyContentHandlerTest.cpp @@ -1,6 +1,6 @@ // // VMime library (http://www.vmime.org) -// Copyright (C) 2002-2013 Vincent Richard <[email protected]> +// Copyright (C) 2002 Vincent Richard <[email protected]> // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License as @@ -38,30 +38,30 @@ VMIME_TEST_SUITE_BEGIN(emptyContentHandlerTest) VMIME_TEST_LIST_END - void testIsEmpty() - { + void testIsEmpty() { + vmime::emptyContentHandler cth; VASSERT_TRUE("empty", cth.isEmpty()); } - void testGetLength() - { + void testGetLength() { + vmime::emptyContentHandler cth; VASSERT_EQ("length", 0, cth.getLength()); } - void testIsEncoded() - { + void testIsEncoded() { + vmime::emptyContentHandler cth; VASSERT_FALSE("encoded", cth.isEncoded()); VASSERT_EQ("encoding", vmime::contentHandler::NO_ENCODING, cth.getEncoding()); } - void testExtract() - { + void testExtract() { + vmime::emptyContentHandler cth; std::ostringstream oss; @@ -72,8 +72,8 @@ VMIME_TEST_SUITE_BEGIN(emptyContentHandlerTest) VASSERT_EQ("extract", "", oss.str()); } - void testExtractRaw() - { + void testExtractRaw() { + vmime::emptyContentHandler cth; std::ostringstream oss; @@ -84,8 +84,8 @@ VMIME_TEST_SUITE_BEGIN(emptyContentHandlerTest) VASSERT_EQ("extractRaw", "", oss.str()); } - void testGenerate() - { + void testGenerate() { + vmime::emptyContentHandler cth; std::ostringstream oss; |