PrintTo functions for google test and valgrind

This commit is contained in:
Matthew Barr
2016-03-08 14:53:03 +11:00
parent 4a482b07ea
commit e10d2eb269
3 changed files with 22 additions and 0 deletions

View File

@@ -287,3 +287,8 @@ static const MultiaccelTestParam multiaccelTests[] = {
};
INSTANTIATE_TEST_CASE_P(Multiaccel, MultiaccelTest, ValuesIn(multiaccelTests));
// boring stuff for google test
void PrintTo(const MultiaccelTestParam &p, ::std::ostream *os) {
*os << "MultiaccelTestParam: " << p.match_pattern;
}