forked from qt-creator/qt-creator
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user