diff options
Diffstat (limited to 'tests/unit/unittest/gtest-creator-printing.cpp')
-rw-r--r-- | tests/unit/unittest/gtest-creator-printing.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/unit/unittest/gtest-creator-printing.cpp b/tests/unit/unittest/gtest-creator-printing.cpp index 53ed668250..0d9a83e0fd 100644 --- a/tests/unit/unittest/gtest-creator-printing.cpp +++ b/tests/unit/unittest/gtest-creator-printing.cpp @@ -40,6 +40,7 @@ #include <fulltokeninfo.h> #include <nativefilepath.h> #include <precompiledheadersupdatedmessage.h> +#include <projectpartartefacts.h> #include <sourcedependency.h> #include <sourcelocationentry.h> #include <sourcelocationscontainer.h> @@ -882,6 +883,14 @@ std::ostream &operator<<(std::ostream &out, const SourceDependency &sourceDepend << ")"; } +std::ostream &operator<<(std::ostream &out, const ProjectPartArtefact &projectPartArtefact) +{ + return out << "(" + << projectPartArtefact.compilerArguments << ", " + << projectPartArtefact.macroNames + <<")"; +} + void PrintTo(const FilePath &filePath, ::std::ostream *os) { *os << filePath; |