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:
scawful
2025-09-24 12:44:14 -04:00
parent 8bc896265f
commit 789f577ee3
9 changed files with 1089 additions and 6 deletions

View File

@@ -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}