Add integration tests for Dungeon Editor and object parsing functionality
- Updated CMakeLists.txt to include new test files for CPU, PPU, SPC700, APU, and dungeon editor integration tests. - Introduced new testing helpers in testing.h for validating StatusOr objects with specific error messages and codes. - Added comprehensive integration tests for the DungeonEditor, covering object parsing, rendering, and room graphics. - Created mock ROM and object data setups to facilitate testing without real ROM files. - Implemented various test cases to ensure the reliability of object parsing and rendering logic in the dungeon editor.
This commit is contained in:
@@ -24,6 +24,10 @@ add_executable(
|
||||
zelda3/message_test.cc
|
||||
zelda3/overworld_test.cc
|
||||
zelda3/sprite_builder_test.cc
|
||||
integration/dungeon_editor_test.cc
|
||||
zelda3/object_parser_test.cc
|
||||
zelda3/object_parser_structs_test.cc
|
||||
zelda3/test_dungeon_objects.cc
|
||||
${ASAR_STATIC_SRC}
|
||||
${IMGUI_SRC}
|
||||
${IMGUI_TEST_ENGINE_SOURCES}
|
||||
|
||||
Reference in New Issue
Block a user