Lukas Dürrenberger
90f05ac4e8
Switch to using Documentation IP ranges in tests
...
Documentation IP ranges are define in RFC 5737 and are 'safe' address
for documentation purposes
2023-03-09 16:40:01 -07:00
Jonny Paton
e4bffe5b84
Rename test files to be unique
2022-10-23 16:39:12 +02:00
Chris Thrasher
9feef3708d
Test existence of copy and move semantics
2022-10-10 11:46:55 -06:00
Chris Thrasher
25fa30afc6
Make test case names more readable
...
Test output now shows the module name left-aligned so you can easily
browse to see what modules have what tests and know what module a
failing test is coming from.
2022-10-01 23:19:52 +02:00
Chris Thrasher
28a4a88832
Add more tests for sf::Packet
2022-10-01 12:35:29 -06:00
Chris Thrasher
12aaa4d08a
Use macros for test abstractions to preserve line number information
2022-10-01 12:35:29 -06:00
Chris Thrasher
abc8d858c3
Only include header under test
2022-10-01 12:35:29 -06:00
Chris Thrasher
05690b963d
Replace sf::Int64
with std::int64_t
2022-09-13 11:15:03 -06:00
Chris Thrasher
b94df9e0d8
Let tests succeed even if nullopt is returned
...
This is the desire behavior when the network fails so we can't
just fail the test when this happens.
2022-09-12 15:58:51 -06:00
Chris Thrasher
105ff68a6a
Time out test for public IP address
...
On poor network connections, the call to getPublicAddress may hang
indefinitely. If it is to succeed, let's require that it succeed
within a reasonable time frame to put an upper limit on how long
this test takes to run.
2022-09-12 15:58:51 -06:00
Chris Thrasher
e294090c8e
Replace sf::Uint32
with std::uint32_t
2022-09-12 15:36:55 -06:00
Chris Thrasher
056f66a2b8
Replace sf::Int32
with std::int32_t
2022-09-12 15:36:55 -06:00
Chris Thrasher
e21ae3204e
Replace sf::Int16
with std::int16_t
2022-09-12 21:36:13 +03:00
Chris Thrasher
af34794123
Replace sf::Int8
with std::int8_t
2022-09-09 10:28:53 +02:00
Chris Thrasher
a47eb8320a
Remove vendored doctest header
2022-07-20 08:56:59 +02:00
Chris Thrasher
4f52793f7d
Run clang-format
2022-07-11 20:04:56 +02:00
Vittorio Romeo
8c8d97c6c9
IpAddress is always valid
2022-06-28 00:31:12 +02:00
Chris Thrasher
e4e9b290b1
Add tests for sf::IpAddress
2022-06-23 18:47:23 +02:00
Vittorio Romeo
29983aa8d4
Replace Catch with Doctest
2021-12-24 15:06:32 +01:00
Chris Thrasher
ade9843dd8
Collapse test/src directory
2021-12-24 11:56:58 +01:00