Revision 8:3019cb6b538d Tester.cpp
| Tester.cpp | ||
|---|---|---|
| 59 | 59 |
|
| 60 | 60 |
using namespace std; |
| 61 | 61 |
|
| 62 |
Tester::Tester(std::string key) : |
|
| 63 |
m_key(key) |
|
| 62 |
Tester::Tester(std::string key, Test::Options options) : |
|
| 63 |
m_key(key), |
|
| 64 |
m_options(options) |
|
| 64 | 65 |
{
|
| 65 | 66 |
} |
| 66 | 67 |
|
| ... | ... | |
| 151 | 152 |
std::cout << " -- Performing test: " << i->first << std::endl; |
| 152 | 153 |
|
| 153 | 154 |
Test *test = i->second->makeTest(); |
| 154 |
Test::Results results = test->test(m_key); |
|
| 155 |
Test::Results results = test->test(m_key, m_options);
|
|
| 155 | 156 |
delete test; |
| 156 | 157 |
|
| 157 | 158 |
set<string> printed; |
Also available in: Unified diff