TestCmdlineParser: store messages in logger class instead of utilizing the redirect (#5482)
This commit is contained in:
parent
4ba19c42ba
commit
3774d46303
|
@ -104,6 +104,7 @@ bool TestFixture::prepareTest(const char testname[])
|
|||
} else {
|
||||
std::cout << classname << "::" << mTestname << std::endl;
|
||||
}
|
||||
teardownTestInternal();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
|
@ -61,6 +61,7 @@ protected:
|
|||
|
||||
bool prepareTest(const char testname[]);
|
||||
virtual void prepareTestInternal() {}
|
||||
virtual void teardownTestInternal() {}
|
||||
std::string getLocationStr(const char * const filename, const unsigned int linenr) const;
|
||||
|
||||
bool assert_(const char * const filename, const unsigned int linenr, const bool condition) const;
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue