2018-08-19 07:30:53 +08:00
|
|
|
// Header for SFML unit tests.
|
|
|
|
//
|
2021-12-29 13:03:15 +08:00
|
|
|
// For a new window module test case, include this header.
|
2021-12-24 21:31:27 +08:00
|
|
|
// This ensures that string conversions are visible and can be used by doctest for debug output.
|
2018-08-19 07:30:53 +08:00
|
|
|
|
2022-12-21 12:17:38 +08:00
|
|
|
#pragma once
|
2018-08-19 07:30:53 +08:00
|
|
|
|
2022-06-26 10:41:32 +08:00
|
|
|
#include <SystemUtil.hpp>
|
2018-08-19 07:30:53 +08:00
|
|
|
|
2023-02-04 15:06:22 +08:00
|
|
|
#ifdef SFML_RUN_DISPLAY_TESTS
|
|
|
|
static constexpr bool skipDisplayTests = false;
|
|
|
|
#else
|
|
|
|
static constexpr bool skipDisplayTests = true;
|
|
|
|
#endif
|
|
|
|
|
2021-12-24 21:31:27 +08:00
|
|
|
// String conversions for doctest framework
|
2018-08-19 07:30:53 +08:00
|
|
|
namespace sf
|
|
|
|
{
|
2022-07-05 00:20:58 +08:00
|
|
|
class VideoMode;
|
2018-08-19 07:30:53 +08:00
|
|
|
|
2023-03-07 06:32:56 +08:00
|
|
|
// Required because WindowUtil.cpp doesn't include WindowUtil.hpp
|
|
|
|
// NOLINTNEXTLINE(readability-redundant-declaration)
|
2022-07-05 13:46:34 +08:00
|
|
|
std::ostream& operator<<(std::ostream& os, const VideoMode& videoMode);
|
2022-07-05 00:20:58 +08:00
|
|
|
} // namespace sf
|