Commit graph

9 commits

Author SHA1 Message Date
Daniel Evans
b14bcc8a12 Rename ObjectDataTests suite to LoaderIDETests 2018-08-06 00:03:32 +01:00
Daniel Evans
fc64c5e87e Add more object tests and fix a ped info bug
The car mask ped info member was being loaded as base 10 instead of base 16
2018-08-05 23:55:20 +01:00
Daniel Evans
a8b2b94b05 Extract stream construction into fixture 2018-08-05 22:29:01 +01:00
Daniel Evans
3b7bb14de6 Extract object data assertions to functions 2018-08-05 22:22:13 +01:00
Daniel Evans
81b7e5226a Use hard-coded test data in object data tests
This removes the dependency on the game data for these tests.
2018-08-05 21:39:43 +01:00
Daniel Evans
01a6ddb2b7 Extract Object Data test setup into fixture
The setup between the two tests is the same.
2018-08-05 21:14:18 +01:00
Daniel Evans
989762a66e Split object tests into individual cases
The object data test case contained multiple tests. Split them to increase test granularity and to provide more descriptive unit names.
2018-08-05 21:11:22 +01:00
Anonymous Maarten
fb58dfb082 rwengine: iwyu: reduce warnings in engine subdirectory 2018-01-08 22:52:48 +00:00
Anonymous Maarten
e663d061b7 tests: capitalize test name (test_name.cpp -> test_Name.cpp) 2017-10-29 20:40:57 +00:00
Renamed from tests/test_object_data.cpp (Browse further)