File tree 2 files changed +6
-14
lines changed 2 files changed +6
-14
lines changed Original file line number Diff line number Diff line change @@ -14,3 +14,7 @@ QString TestHelpers::pdfFilename(const std::string& basename) {
14
14
std::ostream& operator << (std::ostream& where, const QSize& what) {
15
15
return where << " QSize(" << what.width () << ' x' << what.height () << ' )' ;
16
16
}
17
+
18
+ std::ostream& operator << (std::ostream& where, const QColor& what) {
19
+ return where << " QColor(" << what.name ().toStdString () << " )" ;
20
+ }
Original file line number Diff line number Diff line change @@ -56,17 +56,5 @@ namespace TestHelpers {
56
56
/* * Print a QSize to a standard output stream */
57
57
std::ostream& operator << (std::ostream& where, const QSize& what);
58
58
59
- /* * Print QRgb values as #123456 html-style-strings within boost test
60
- * log messages */
61
- namespace boost {
62
- namespace test_tools {
63
- namespace tt_detail {
64
- template <>
65
- inline
66
- void
67
- print_log_value<QColor>::operator ()(std::ostream& where, const QColor& what) {
68
- where << what.name ().toStdString ();
69
- }
70
- }
71
- }
72
- }
59
+ /* * Print a QColor to a standard output stream */
60
+ std::ostream& operator << (std::ostream& where, const QColor& what);
You can’t perform that action at this time.
0 commit comments