1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-07 07:41:54 +01:00
Clementine-audio-player-Mac.../tests/test_utils.cpp

21 lines
482 B
C++
Raw Normal View History

#include "test_utils.h"
#include <QNetworkRequest>
#include <QString>
#include <QUrl>
std::ostream& operator<<(std::ostream& stream, const QString& str) {
stream << str.toStdString();
return stream;
}
std::ostream& operator <<(std::ostream& stream, const QUrl& url) {
stream << url.toString().toStdString();
return stream;
}
std::ostream& operator <<(std::ostream& stream, const QNetworkRequest& req) {
stream << req.url().toString().toStdString();
return stream;
}