mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-29 04:17:55 +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 ParserWriterTest::testParseWriteXHTML()
|
||||
writer.writeNode(ostr, pDoc);
|
||||
|
||||
std::string xml = ostr.str();
|
||||
assert (xml == XHTML);
|
||||
assertTrue (xml == XHTML);
|
||||
}
|
||||
|
||||
|
||||
@@ -66,7 +66,7 @@ void ParserWriterTest::testParseWriteXHTML2()
|
||||
writer.writeNode(ostr, pDoc);
|
||||
|
||||
std::string xml = ostr.str();
|
||||
assert (xml == XHTML2);
|
||||
assertTrue (xml == XHTML2);
|
||||
}
|
||||
|
||||
|
||||
@@ -97,10 +97,10 @@ void ParserWriterTest::testParseWriteSimple()
|
||||
numChildren++;
|
||||
child = child->nextSibling();
|
||||
}
|
||||
assert (numChildren == 2);
|
||||
assertTrue (numChildren == 2);
|
||||
|
||||
std::string xml = ostr.str();
|
||||
assert (xml == simple);
|
||||
assertTrue (xml == simple);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user