mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-12-23 00:17:21 +01:00
Update POCO to 1.11.0
This commit is contained in:
5
vendor/POCO/CppUnit/src/TestCase.cpp
vendored
5
vendor/POCO/CppUnit/src/TestCase.cpp
vendored
@@ -111,11 +111,11 @@ void TestCase::run(TestResult *result)
|
||||
result->startTest(this);
|
||||
|
||||
setUp();
|
||||
try
|
||||
try
|
||||
{
|
||||
runTest();
|
||||
}
|
||||
catch (CppUnitException& e)
|
||||
catch (CppUnitException& e)
|
||||
{
|
||||
CppUnitException* copy = new CppUnitException(e);
|
||||
result->addFailure(this, copy);
|
||||
@@ -126,7 +126,6 @@ void TestCase::run(TestResult *result)
|
||||
msg.append(": ");
|
||||
msg.append(e.what());
|
||||
result->addError(this, new CppUnitException(msg));
|
||||
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
|
||||
2
vendor/POCO/CppUnit/src/TextTestResult.cpp
vendored
2
vendor/POCO/CppUnit/src/TextTestResult.cpp
vendored
@@ -126,6 +126,7 @@ void TextTestResult::addError(Test* test, CppUnitException* e)
|
||||
else
|
||||
{
|
||||
_ostr << "ERROR (ignored)" << std::flush;
|
||||
delete e;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -140,6 +141,7 @@ void TextTestResult::addFailure(Test* test, CppUnitException* e)
|
||||
else
|
||||
{
|
||||
_ostr << "FAILURE (ignored)" << std::flush;
|
||||
delete e;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user