ZSCustomOverworld upgrade testing suite. More...
Protected Member Functions | |
void | SetUp () override |
void | TearDown () override |
void | InitializeVersionData () |
absl::Status | ApplyVersionPatch (Rom &rom, const std::string &version) |
bool | ValidateVersionAddresses (Rom &rom, const std::string &version) |
Protected Attributes | |
std::string | vanilla_rom_path_ |
std::string | vanilla_test_path_ |
std::string | v2_test_path_ |
std::string | v3_test_path_ |
std::map< std::string, std::pair< uint32_t, uint8_t > > | vanilla_data_ |
std::map< std::string, std::pair< uint32_t, uint8_t > > | v2_data_ |
std::map< std::string, std::pair< uint32_t, uint8_t > > | v3_data_ |
ZSCustomOverworld upgrade testing suite.
This test suite validates ZSCustomOverworld version upgrades:
Definition at line 24 of file zscustomoverworld_upgrade_test.cc.
|
inlineoverrideprotected |
Definition at line 26 of file zscustomoverworld_upgrade_test.cc.
References InitializeVersionData(), v2_test_path_, v3_test_path_, vanilla_rom_path_, and vanilla_test_path_.
|
inlineoverrideprotected |
Definition at line 52 of file zscustomoverworld_upgrade_test.cc.
References v2_test_path_, v3_test_path_, and vanilla_test_path_.
|
inlineprotected |
Definition at line 65 of file zscustomoverworld_upgrade_test.cc.
References v2_data_, v3_data_, and vanilla_data_.
Referenced by SetUp().
|
inlineprotected |
Definition at line 107 of file zscustomoverworld_upgrade_test.cc.
References RETURN_IF_ERROR, v2_data_, v3_data_, vanilla_data_, and yaze::Rom::WriteByte().
|
inlineprotected |
Definition at line 138 of file zscustomoverworld_upgrade_test.cc.
References yaze::Rom::ReadByte(), v2_data_, v3_data_, and vanilla_data_.
|
protected |
Definition at line 156 of file zscustomoverworld_upgrade_test.cc.
Referenced by SetUp().
|
protected |
Definition at line 157 of file zscustomoverworld_upgrade_test.cc.
Referenced by SetUp(), and TearDown().
|
protected |
Definition at line 158 of file zscustomoverworld_upgrade_test.cc.
Referenced by SetUp(), and TearDown().
|
protected |
Definition at line 159 of file zscustomoverworld_upgrade_test.cc.
Referenced by SetUp(), and TearDown().
|
protected |
Definition at line 161 of file zscustomoverworld_upgrade_test.cc.
Referenced by ApplyVersionPatch(), InitializeVersionData(), and ValidateVersionAddresses().
|
protected |
Definition at line 162 of file zscustomoverworld_upgrade_test.cc.
Referenced by ApplyVersionPatch(), InitializeVersionData(), and ValidateVersionAddresses().
|
protected |
Definition at line 163 of file zscustomoverworld_upgrade_test.cc.
Referenced by ApplyVersionPatch(), InitializeVersionData(), and ValidateVersionAddresses().