2018-08-19 01:30:53 +02:00
|
|
|
// Header for SFML unit tests.
|
|
|
|
//
|
2021-12-28 22:03:15 -07:00
|
|
|
// For a new window module test case, include this header.
|
2023-01-17 21:51:08 -07:00
|
|
|
// This ensures that string conversions are visible and can be used by Catch2 for debug output.
|
2018-08-19 01:30:53 +02:00
|
|
|
|
2022-12-20 20:17:38 -08:00
|
|
|
#pragma once
|
2018-08-19 01:30:53 +02:00
|
|
|
|
2022-06-25 20:41:32 -06:00
|
|
|
#include <SystemUtil.hpp>
|
2023-01-17 21:51:08 -07:00
|
|
|
#include <string>
|
2018-08-19 01:30:53 +02:00
|
|
|
|
2023-01-17 21:51:08 -07:00
|
|
|
// Required because WindowUtil.cpp doesn't include WindowUtil.hpp
|
|
|
|
// NOLINTNEXTLINE(readability-redundant-declaration)
|
|
|
|
std::string runDisplayTests();
|
2023-02-04 00:06:22 -07:00
|
|
|
|
2023-01-17 21:51:08 -07:00
|
|
|
// String conversions for Catch2
|
2018-08-19 01:30:53 +02:00
|
|
|
namespace sf
|
|
|
|
{
|
2022-07-04 11:20:58 -05:00
|
|
|
class VideoMode;
|
2018-08-19 01:30:53 +02:00
|
|
|
|
2023-03-06 15:32:56 -07:00
|
|
|
// Required because WindowUtil.cpp doesn't include WindowUtil.hpp
|
|
|
|
// NOLINTNEXTLINE(readability-redundant-declaration)
|
2022-07-04 23:46:34 -06:00
|
|
|
std::ostream& operator<<(std::ostream& os, const VideoMode& videoMode);
|
2022-07-04 11:20:58 -05:00
|
|
|
} // namespace sf
|