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

#include <test_utils.h>

Inheritance diagram for yaze::test::TestRomManager::BoundRomTest:
Collaboration diagram for yaze::test::TestRomManager::BoundRomTest:

Protected Member Functions

void SetUp () override
 
void TearDown () override
 
Romrom ()
 
const Romrom () const
 
std::string GetBoundRomPath () const
 

Private Member Functions

void EnsureRomLoaded ()
 

Private Attributes

std::unique_ptr< Romrom_instance_
 
bool rom_loaded_ = false
 

Detailed Description

Definition at line 139 of file test_utils.h.

Member Function Documentation

◆ SetUp()

void yaze::test::TestRomManager::BoundRomTest::SetUp ( )
inlineoverrideprotected

Definition at line 141 of file test_utils.h.

References rom_instance_.

◆ TearDown()

void yaze::test::TestRomManager::BoundRomTest::TearDown ( )
inlineoverrideprotected

Definition at line 145 of file test_utils.h.

References rom_instance_, and rom_loaded_.

◆ rom() [1/2]

Rom * yaze::test::TestRomManager::BoundRomTest::rom ( )
inlineprotected

◆ rom() [2/2]

const Rom * yaze::test::TestRomManager::BoundRomTest::rom ( ) const
inlineprotected

Definition at line 151 of file test_utils.h.

References rom_instance_.

◆ GetBoundRomPath()

std::string yaze::test::TestRomManager::BoundRomTest::GetBoundRomPath ( ) const
inlineprotected

Definition at line 153 of file test_utils.h.

References yaze::test::TestRomManager::GetTestRomPath().

Here is the call graph for this function:

◆ EnsureRomLoaded()

void yaze::test::TestRomManager::BoundRomTest::EnsureRomLoaded ( )
inlineprivate

Definition at line 159 of file test_utils.h.

References yaze::test::TestRomManager::GetTestRomPath(), rom_instance_, and rom_loaded_.

Referenced by rom().

Here is the call graph for this function:

Member Data Documentation

◆ rom_instance_

std::unique_ptr<Rom> yaze::test::TestRomManager::BoundRomTest::rom_instance_
private

Definition at line 156 of file test_utils.h.

Referenced by EnsureRomLoaded(), rom(), rom(), SetUp(), and TearDown().

◆ rom_loaded_

bool yaze::test::TestRomManager::BoundRomTest::rom_loaded_ = false
private

Definition at line 157 of file test_utils.h.

Referenced by EnsureRomLoaded(), and TearDown().


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