aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/net/smtp/SMTPTransportTestUtils.hpp1
-rw-r--r--tests/testUtils.hpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/net/smtp/SMTPTransportTestUtils.hpp b/tests/net/smtp/SMTPTransportTestUtils.hpp
index 8710639f..c0d4e54f 100644
--- a/tests/net/smtp/SMTPTransportTestUtils.hpp
+++ b/tests/net/smtp/SMTPTransportTestUtils.hpp
@@ -241,6 +241,7 @@ public:
m_state = STATE_NOT_CONNECTED;
m_bdatChunkCount = 0;
+ m_bdatChunkSize = m_bdatChunkReceived = 0;
m_ehloSent = m_mailSent = m_rcptSent = m_quitSent = false;
}
diff --git a/tests/testUtils.hpp b/tests/testUtils.hpp
index f625dec0..06ddb3e2 100644
--- a/tests/testUtils.hpp
+++ b/tests/testUtils.hpp
@@ -93,7 +93,7 @@ namespace CppUnit {
// Work-around for comparing 'std::string' against 'char*'
inline void assertEquals(
const char* expected,
- const std::string actual,
+ const std::string &actual,
SourceLine sourceLine,
const std::string &message
) {