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:
zosrothko
2018-03-29 19:12:54 +02:00
committed by Aleksandar Fabijanic
parent 5a1bf5eb4a
commit 960ecb38f0
232 changed files with 16274 additions and 16265 deletions

View File

@@ -52,7 +52,7 @@ void ValidatorTest::testRegExpValidator()
catch (InvalidArgumentException& exc)
{
std::string s(exc.message());
assert (s == "argument for option does not match regular expression [0-9]+");
assertTrue (s == "argument for option does not match regular expression [0-9]+");
}
try
@@ -63,7 +63,7 @@ void ValidatorTest::testRegExpValidator()
catch (InvalidArgumentException& exc)
{
std::string s(exc.message());
assert (s == "argument for option does not match regular expression [0-9]+");
assertTrue (s == "argument for option does not match regular expression [0-9]+");
}
try
@@ -74,7 +74,7 @@ void ValidatorTest::testRegExpValidator()
catch (InvalidArgumentException& exc)
{
std::string s(exc.message());
assert (s == "argument for option does not match regular expression [0-9]+");
assertTrue (s == "argument for option does not match regular expression [0-9]+");
}
try
@@ -85,7 +85,7 @@ void ValidatorTest::testRegExpValidator()
catch (InvalidArgumentException& exc)
{
std::string s(exc.message());
assert (s == "argument for option does not match regular expression [0-9]+");
assertTrue (s == "argument for option does not match regular expression [0-9]+");
}
}
@@ -107,7 +107,7 @@ void ValidatorTest::testIntValidator()
catch (InvalidArgumentException& exc)
{
std::string s(exc.message());
assert (s == "argument for option must be in range 0 to 100");
assertTrue (s == "argument for option must be in range 0 to 100");
}
try
@@ -118,7 +118,7 @@ void ValidatorTest::testIntValidator()
catch (InvalidArgumentException& exc)
{
std::string s(exc.message());
assert (s == "argument for option must be in range 0 to 100");
assertTrue (s == "argument for option must be in range 0 to 100");
}
try
@@ -129,7 +129,7 @@ void ValidatorTest::testIntValidator()
catch (InvalidArgumentException& exc)
{
std::string s(exc.message());
assert (s == "argument for option must be an integer");
assertTrue (s == "argument for option must be an integer");
}
}