mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-29 12:18:01 +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
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user