mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-23 15:14:37 +01:00
Fix TestSuite::run()
This commit is contained in:
parent
ef63822c04
commit
0ca753a481
@ -72,6 +72,11 @@ protected:
|
||||
_fixture.get()->setUp();
|
||||
}
|
||||
|
||||
void setUp(const std::vector<std::string>& setup)
|
||||
{
|
||||
_fixture.get()->setUp(setup);
|
||||
}
|
||||
|
||||
void tearDown()
|
||||
{
|
||||
_fixture.get()->tearDown();
|
||||
|
@ -27,6 +27,8 @@ void TestSuite::run(TestResult *result)
|
||||
break;
|
||||
|
||||
Test *test = *it;
|
||||
if (_setup.size() > 0)
|
||||
test->addSetup(_setup);
|
||||
test->run(result);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user