UnitTests: Cleanup unit tests

There was still unneeded PrintTo functions and gtest includes.
It is now possible to use MockFunction for callbacks.

Change-Id: Ie5875c3697069a37b48c2f2022f1f8c21f1c794f
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
Marco Bubke
2017-12-27 20:44:34 +01:00
parent 40383715f7
commit 5d088e9df5
9 changed files with 34 additions and 51 deletions

View File

@@ -39,11 +39,6 @@ QDebug operator<<(QDebug debug, const Utf8String &text)
return debug;
}
void PrintTo(const Utf8String &text, ::std::ostream* os)
{
*os << "\"" << text.toByteArray().data() << "\"";
}
std::ostream& operator<<(std::ostream &os, const Utf8String &utf8String)
{
using std::ostream;