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

Test class for Asar integration with real ROM files These tests are only run when ROM testing is enabled. More...

Inheritance diagram for yaze::test::integration::AsarRomIntegrationTest:
Collaboration diagram for yaze::test::integration::AsarRomIntegrationTest:

Protected Member Functions

void SetUp () override
 
void TearDown () override
 
void CreateTestPatches ()
 
- Protected Member Functions inherited from yaze::test::RomDependentTest
void SetUp () override
 

Protected Attributes

std::unique_ptr< core::AsarWrapperwrapper_
 
std::filesystem::path test_dir_
 
std::filesystem::path simple_patch_path_
 
std::filesystem::path gameplay_patch_path_
 
std::filesystem::path symbols_patch_path_
 
- Protected Attributes inherited from yaze::test::RomDependentTest
std::vector< uint8_t > test_rom_
 

Detailed Description

Test class for Asar integration with real ROM files These tests are only run when ROM testing is enabled.

Definition at line 23 of file asar_rom_test.cc.

Member Function Documentation

◆ SetUp()

void yaze::test::integration::AsarRomIntegrationTest::SetUp ( )
inlineoverrideprotected

Definition at line 25 of file asar_rom_test.cc.

References ASSERT_OK, CreateTestPatches(), yaze::test::RomDependentTest::SetUp(), test_dir_, and wrapper_.

Here is the call graph for this function:

◆ TearDown()

void yaze::test::integration::AsarRomIntegrationTest::TearDown ( )
inlineoverrideprotected

Definition at line 38 of file asar_rom_test.cc.

References test_dir_.

◆ CreateTestPatches()

void yaze::test::integration::AsarRomIntegrationTest::CreateTestPatches ( )
inlineprotected

Definition at line 48 of file asar_rom_test.cc.

References simple_patch_path_, and test_dir_.

Referenced by SetUp().

Member Data Documentation

◆ wrapper_

std::unique_ptr<core::AsarWrapper> yaze::test::integration::AsarRomIntegrationTest::wrapper_
protected

Definition at line 68 of file asar_rom_test.cc.

Referenced by SetUp().

◆ test_dir_

std::filesystem::path yaze::test::integration::AsarRomIntegrationTest::test_dir_
protected

Definition at line 69 of file asar_rom_test.cc.

Referenced by CreateTestPatches(), SetUp(), and TearDown().

◆ simple_patch_path_

std::filesystem::path yaze::test::integration::AsarRomIntegrationTest::simple_patch_path_
protected

Definition at line 70 of file asar_rom_test.cc.

Referenced by CreateTestPatches().

◆ gameplay_patch_path_

std::filesystem::path yaze::test::integration::AsarRomIntegrationTest::gameplay_patch_path_
protected

Definition at line 71 of file asar_rom_test.cc.

◆ symbols_patch_path_

std::filesystem::path yaze::test::integration::AsarRomIntegrationTest::symbols_patch_path_
protected

Definition at line 72 of file asar_rom_test.cc.


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