mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
23 lines
781 B
C++
23 lines
781 B
C++
#pragma once
|
|
|
|
#include <gmock/gmock.h> // IWYU pragma: export
|
|
#include <gtest/gtest.h> // IWYU pragma: export
|
|
|
|
#include <ostream>
|
|
|
|
class QString;
|
|
class QStringView;
|
|
class QByteArray;
|
|
|
|
// This file is included in all TUs in chatterino-test to avoid ODR violations.
|
|
std::ostream &operator<<(std::ostream &os, QStringView str);
|
|
std::ostream &operator<<(std::ostream &os, const QByteArray &bytes);
|
|
std::ostream &operator<<(std::ostream &os, const QString &str);
|
|
|
|
// NOLINTBEGIN(readability-identifier-naming)
|
|
// PrintTo is used for naming parameterized tests, and is part of gtest
|
|
void PrintTo(const QByteArray &bytes, std::ostream *os);
|
|
void PrintTo(QStringView str, std::ostream *os);
|
|
void PrintTo(const QString &str, std::ostream *os);
|
|
// NOLINTEND(readability-identifier-naming)
|