yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::test::Tile16EditorIntegrationTest Class Reference
Inheritance diagram for yaze::editor::test::Tile16EditorIntegrationTest:
Collaboration diagram for yaze::editor::test::Tile16EditorIntegrationTest:

Protected Member Functions

void SetUp () override
 

Static Protected Member Functions

static void SetUpTestSuite ()
 
static void TearDownTestSuite ()
 
static void InitializeTestEnvironment ()
 

Protected Attributes

bool rom_loaded_ = false
 
std::unique_ptr< Romrom_
 
std::unique_ptr< gfx::Tilemaptilemap_
 
std::unique_ptr< gfx::Tilemaptile16_blockset_
 
std::unique_ptr< gfx::Bitmapcurrent_gfx_bmp_
 
std::unique_ptr< gfx::Bitmaptile16_blockset_bmp_
 
std::unique_ptr< zelda3::Overworldoverworld_
 
std::unique_ptr< Tile16Editoreditor_
 

Static Protected Attributes

static bool window_initialized_ = false
 
static core::Window test_window_
 
static std::unique_ptr< gfx::SDL2Renderertest_renderer_
 

Detailed Description

Definition at line 20 of file tile16_editor_test.cc.

Member Function Documentation

◆ SetUpTestSuite()

static void yaze::editor::test::Tile16EditorIntegrationTest::SetUpTestSuite ( )
inlinestaticprotected

Definition at line 22 of file tile16_editor_test.cc.

References InitializeTestEnvironment().

Here is the call graph for this function:

◆ TearDownTestSuite()

static void yaze::editor::test::Tile16EditorIntegrationTest::TearDownTestSuite ( )
inlinestaticprotected

Definition at line 27 of file tile16_editor_test.cc.

References yaze::core::ShutdownWindow(), test_window_, and window_initialized_.

Here is the call graph for this function:

◆ SetUp()

void yaze::editor::test::Tile16EditorIntegrationTest::SetUp ( )
inlineoverrideprotected

◆ InitializeTestEnvironment()

static void yaze::editor::test::Tile16EditorIntegrationTest::InitializeTestEnvironment ( )
inlinestaticprotected

Definition at line 91 of file tile16_editor_test.cc.

References yaze::core::CreateWindow(), test_renderer_, test_window_, and window_initialized_.

Referenced by SetUpTestSuite().

Here is the call graph for this function:

Member Data Documentation

◆ window_initialized_

bool yaze::editor::test::Tile16EditorIntegrationTest::window_initialized_ = false
staticprotected

Definition at line 104 of file tile16_editor_test.cc.

Referenced by InitializeTestEnvironment(), SetUp(), and TearDownTestSuite().

◆ test_window_

core::Window yaze::editor::test::Tile16EditorIntegrationTest::test_window_
staticprotected

Definition at line 105 of file tile16_editor_test.cc.

Referenced by InitializeTestEnvironment(), and TearDownTestSuite().

◆ test_renderer_

std::unique_ptr< gfx::SDL2Renderer > yaze::editor::test::Tile16EditorIntegrationTest::test_renderer_
staticprotected

Definition at line 106 of file tile16_editor_test.cc.

Referenced by InitializeTestEnvironment().

◆ rom_loaded_

bool yaze::editor::test::Tile16EditorIntegrationTest::rom_loaded_ = false
protected

Definition at line 108 of file tile16_editor_test.cc.

Referenced by SetUp().

◆ rom_

std::unique_ptr<Rom> yaze::editor::test::Tile16EditorIntegrationTest::rom_
protected

Definition at line 109 of file tile16_editor_test.cc.

Referenced by SetUp().

◆ tilemap_

std::unique_ptr<gfx::Tilemap> yaze::editor::test::Tile16EditorIntegrationTest::tilemap_
protected

Definition at line 110 of file tile16_editor_test.cc.

Referenced by SetUp().

◆ tile16_blockset_

std::unique_ptr<gfx::Tilemap> yaze::editor::test::Tile16EditorIntegrationTest::tile16_blockset_
protected

Definition at line 111 of file tile16_editor_test.cc.

Referenced by SetUp().

◆ current_gfx_bmp_

std::unique_ptr<gfx::Bitmap> yaze::editor::test::Tile16EditorIntegrationTest::current_gfx_bmp_
protected

Definition at line 112 of file tile16_editor_test.cc.

Referenced by SetUp().

◆ tile16_blockset_bmp_

std::unique_ptr<gfx::Bitmap> yaze::editor::test::Tile16EditorIntegrationTest::tile16_blockset_bmp_
protected

Definition at line 113 of file tile16_editor_test.cc.

Referenced by SetUp().

◆ overworld_

std::unique_ptr<zelda3::Overworld> yaze::editor::test::Tile16EditorIntegrationTest::overworld_
protected

Definition at line 114 of file tile16_editor_test.cc.

Referenced by SetUp().

◆ editor_

std::unique_ptr<Tile16Editor> yaze::editor::test::Tile16EditorIntegrationTest::editor_
protected

Definition at line 115 of file tile16_editor_test.cc.

Referenced by SetUp().


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