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

Comprehensive End-to-End ROM testing suite. More...

Inheritance diagram for yaze::test::E2ERomDependentTest:
Collaboration diagram for yaze::test::E2ERomDependentTest:

Protected Member Functions

void SetUp () override
 
void TearDown () override
 

Static Protected Member Functions

static absl::Status LoadAndVerifyROM (const std::string &path, std::unique_ptr< Rom > &rom)
 
static bool VerifyROMIntegrity (const std::string &path1, const std::string &path2, const std::vector< uint32_t > &exclude_ranges={})
 

Protected Attributes

std::string vanilla_rom_path_
 
std::string test_rom_path_
 
std::string backup_rom_path_
 

Detailed Description

Comprehensive End-to-End ROM testing suite.

This test suite validates the complete ROM editing workflow:

  1. Load vanilla ROM
  2. Apply various edits (ROM data, graphics, etc.)
  3. Save changes
  4. Reload ROM and verify edits persist
  5. Verify no data corruption occurred

Definition at line 25 of file e2e_rom_test.cc.

Member Function Documentation

◆ SetUp()

void yaze::test::E2ERomDependentTest::SetUp ( )
inlineoverrideprotected

Definition at line 27 of file e2e_rom_test.cc.

References backup_rom_path_, test_rom_path_, and vanilla_rom_path_.

◆ TearDown()

void yaze::test::E2ERomDependentTest::TearDown ( )
inlineoverrideprotected

Definition at line 50 of file e2e_rom_test.cc.

References backup_rom_path_, and test_rom_path_.

◆ LoadAndVerifyROM()

static absl::Status yaze::test::E2ERomDependentTest::LoadAndVerifyROM ( const std::string &  path,
std::unique_ptr< Rom > &  rom 
)
inlinestaticprotected

Definition at line 61 of file e2e_rom_test.cc.

References RETURN_IF_ERROR.

◆ VerifyROMIntegrity()

static bool yaze::test::E2ERomDependentTest::VerifyROMIntegrity ( const std::string &  path1,
const std::string &  path2,
const std::vector< uint32_t > &  exclude_ranges = {} 
)
inlinestaticprotected

Definition at line 78 of file e2e_rom_test.cc.

Member Data Documentation

◆ vanilla_rom_path_

std::string yaze::test::E2ERomDependentTest::vanilla_rom_path_
protected

Definition at line 124 of file e2e_rom_test.cc.

Referenced by SetUp().

◆ test_rom_path_

std::string yaze::test::E2ERomDependentTest::test_rom_path_
protected

Definition at line 125 of file e2e_rom_test.cc.

Referenced by SetUp(), and TearDown().

◆ backup_rom_path_

std::string yaze::test::E2ERomDependentTest::backup_rom_path_
protected

Definition at line 126 of file e2e_rom_test.cc.

Referenced by SetUp(), and TearDown().


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