mirror of
https://github.com/pocoproject/poco.git
synced 2026-01-03 03:09:34 +01:00
Poco 1.9.1 assert true (#2255)
* Rename assert by assertTrue * Update submodules * Missing assertTrue * Rename poco_assertTrue to poco_assert * Rename poco_assertTrue to poco_assert
This commit is contained in:
committed by
Aleksandar Fabijanic
parent
5a1bf5eb4a
commit
960ecb38f0
@@ -51,7 +51,7 @@ void HTTPStreamFactoryTest::testNoRedirect()
|
||||
#endif // POCO_ENABLE_CPP11
|
||||
std::ostringstream ostr;
|
||||
StreamCopier::copyStream(*pStr.get(), ostr);
|
||||
assert (ostr.str() == HTTPTestServer::LARGE_BODY);
|
||||
assertTrue (ostr.str() == HTTPTestServer::LARGE_BODY);
|
||||
}
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ void HTTPStreamFactoryTest::testEmptyPath()
|
||||
#endif // POCO_ENABLE_CPP11
|
||||
std::ostringstream ostr;
|
||||
StreamCopier::copyStream(*pStr.get(), ostr);
|
||||
assert (ostr.str() == HTTPTestServer::SMALL_BODY);
|
||||
assertTrue (ostr.str() == HTTPTestServer::SMALL_BODY);
|
||||
}
|
||||
|
||||
|
||||
@@ -86,7 +86,7 @@ void HTTPStreamFactoryTest::testRedirect()
|
||||
#endif // POCO_ENABLE_CPP11
|
||||
std::ostringstream ostr;
|
||||
StreamCopier::copyStream(*pStr.get(), ostr);
|
||||
assert (ostr.str() == HTTPTestServer::LARGE_BODY);
|
||||
assertTrue (ostr.str() == HTTPTestServer::LARGE_BODY);
|
||||
}
|
||||
|
||||
|
||||
@@ -102,7 +102,7 @@ void HTTPStreamFactoryTest::testProxy()
|
||||
#endif // POCO_ENABLE_CPP11
|
||||
std::ostringstream ostr;
|
||||
StreamCopier::copyStream(*pStr.get(), ostr);
|
||||
assert (ostr.str() == HTTPTestServer::LARGE_BODY);
|
||||
assertTrue (ostr.str() == HTTPTestServer::LARGE_BODY);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user