yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::zelda3::OverworldIntegrationTest Class Reference

Comprehensive overworld integration test that validates YAZE C++ implementation against ZScream C# logic and existing test infrastructure. More...

Inheritance diagram for yaze::zelda3::OverworldIntegrationTest:
Collaboration diagram for yaze::zelda3::OverworldIntegrationTest:

Protected Member Functions

void SetUp () override
 
void TearDown () override
 
void SetupMockRomData ()
 

Protected Attributes

std::vector< uint8_t > mock_rom_data_
 
std::unique_ptr< Romrom_
 
std::unique_ptr< Overworldoverworld_
 
bool use_real_rom_ = false
 

Detailed Description

Comprehensive overworld integration test that validates YAZE C++ implementation against ZScream C# logic and existing test infrastructure.

This test suite:

  1. Validates overworld loading logic matches ZScream behavior
  2. Tests integration with ZSCustomOverworld versions (vanilla, v2, v3)
  3. Uses existing RomDependentTestSuite infrastructure when available
  4. Provides both mock data and real ROM testing capabilities

Definition at line 25 of file overworld_integration_test.cc.

Member Function Documentation

◆ SetUp()

void yaze::zelda3::OverworldIntegrationTest::SetUp ( )
inlineoverrideprotected

Definition at line 27 of file overworld_integration_test.cc.

References mock_rom_data_, overworld_, rom_, SetupMockRomData(), and use_real_rom_.

Here is the call graph for this function:

◆ TearDown()

void yaze::zelda3::OverworldIntegrationTest::TearDown ( )
inlineoverrideprotected

Definition at line 59 of file overworld_integration_test.cc.

References overworld_, and rom_.

◆ SetupMockRomData()

void yaze::zelda3::OverworldIntegrationTest::SetupMockRomData ( )
inlineprotected

Definition at line 64 of file overworld_integration_test.cc.

References mock_rom_data_.

Referenced by SetUp().

Member Data Documentation

◆ mock_rom_data_

std::vector<uint8_t> yaze::zelda3::OverworldIntegrationTest::mock_rom_data_
protected

Definition at line 101 of file overworld_integration_test.cc.

Referenced by SetUp(), and SetupMockRomData().

◆ rom_

std::unique_ptr<Rom> yaze::zelda3::OverworldIntegrationTest::rom_
protected

Definition at line 102 of file overworld_integration_test.cc.

Referenced by SetUp(), and TearDown().

◆ overworld_

std::unique_ptr<Overworld> yaze::zelda3::OverworldIntegrationTest::overworld_
protected

Definition at line 103 of file overworld_integration_test.cc.

Referenced by SetUp(), and TearDown().

◆ use_real_rom_

bool yaze::zelda3::OverworldIntegrationTest::use_real_rom_ = false
protected

Definition at line 104 of file overworld_integration_test.cc.

Referenced by SetUp().


The documentation for this class was generated from the following file: