mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 10:32:56 +01:00
Add -setup, a command line argument.
This commit is contained in:
@@ -110,7 +110,10 @@ void TestCase::run(TestResult *result)
|
||||
{
|
||||
result->startTest(this);
|
||||
|
||||
setUp();
|
||||
if (_setup.size() > 0)
|
||||
setUp(_setup);
|
||||
else
|
||||
setUp();
|
||||
try
|
||||
{
|
||||
runTest();
|
||||
|
||||
Reference in New Issue
Block a user