Jonathan G Rennison
84a0dd326f
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/console_cmds.cpp
# src/network/core/config.h
# src/network/core/packet.h
# src/network/core/tcp.cpp
# src/network/core/tcp_game.cpp
# src/network/core/tcp_game.h
# src/network/network_client.cpp
# src/network/network_client.h
# src/network/network_gui.h
# src/network/network_server.cpp
# src/network/network_server.h
# src/table/settings/network_secrets_settings.ini
1 week ago
Rubidium
fb9d4afa5c
Codechange: add set of classes providing authentication and encryption
3 months ago
Jonathan G Rennison
c0b8e58404
Codechange: Simplify SetBitIterator
...
Use FindFirstBit and KillFirstBit, allowing simpler iterator equality
Add simple test
4 months ago
Jonathan G Rennison
34668bff87
Test: Add upstream tests
6 months ago
Peter Nelson
b1eb5533eb
Add: WindowDesc unit test to validate NWidgetPart lists.
7 months ago
Peter Nelson
1c94fb0389
Add: Mock sprite cache intialization.
...
This fills up the sprite cache with SPR_OPENTTD_BASE + OPENTTD_SPRITE_COUNT zero-size sprites, to
allow GetSpriteSize() calls to continue from unit-tests.
7 months ago
Peter Nelson
46f63074da
Add: MockFontCache for testing GUI code that only needs to know font sizes.
7 months ago
Peter Nelson
e563057478
Add: WindowDesc unit test to validate ini-key value.
...
ini-key must be present if WWT_DEFSIZEBOX or WWT_STICKYBOX is present.
This was previously enforced by a workflow, however that parsed the source
code with regex which turned out to be error-prone.
7 months ago
Jonathan G Rennison
20ece8025e
Test: Add tests for FindLastBit function
9 months ago
Patric Stout
7afd686541
Codechange: add tests for GS <-> AdminPort JSON conversion ( #11252 )
...
While at it, fix a bug where booleans were made integers.
9 months ago
Rubidium
6635f809dd
Fix #11181 : attempting to read string as int triggers assertion
10 months ago
Jonathan G Rennison
8d3a90425c
Test: Add tests for ring buffer functionality
10 months ago
Rubidium
73d7052732
Add: unit test functionality using catch2
...
(cherry picked from commit 43a7e54067
)
10 months ago
Rubidium
86786a7af6
Codechange: introduce StrEqualsIgnoreCase/StrCompareIgnoreCase to replace strcasecmp
1 year ago
Rubidium
43a7e54067
Add: unit test functionality using catch2
1 year ago
Rubidium
c6ff7dad68
Add: compile time "unit tests" for GetPartialZ consistent
1 year ago