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

#include <overworld_editor_test_suite.h>

Inheritance diagram for yaze::test::OverworldEditorTestSuite:
Collaboration diagram for yaze::test::OverworldEditorTestSuite:

Public Member Functions

 OverworldEditorTestSuite ()=default
 
 ~OverworldEditorTestSuite () override=default
 
std::string GetName () const override
 
TestCategory GetCategory () const override
 
absl::Status RunTests (TestResults &results) override
 
void DrawConfiguration () override
 
- Public Member Functions inherited from yaze::test::TestSuite
virtual ~TestSuite ()=default
 
virtual bool IsEnabled () const
 
virtual void SetEnabled (bool enabled)
 

Private Member Functions

void AddSkippedTest (TestResults &results, const std::string &test_name, const std::string &reason)
 
void RunTilePlacementTest (TestResults &results, Rom *rom)
 
void RunEntityManipulationTest (TestResults &results, Rom *rom)
 

Private Attributes

bool test_tile_placement_ = true
 
bool test_entity_manipulation_ = true
 

Additional Inherited Members

- Protected Attributes inherited from yaze::test::TestSuite
bool enabled_ = true
 

Detailed Description

Definition at line 17 of file overworld_editor_test_suite.h.

Constructor & Destructor Documentation

◆ OverworldEditorTestSuite()

yaze::test::OverworldEditorTestSuite::OverworldEditorTestSuite ( )
default

◆ ~OverworldEditorTestSuite()

yaze::test::OverworldEditorTestSuite::~OverworldEditorTestSuite ( )
overridedefault

Member Function Documentation

◆ GetName()

std::string yaze::test::OverworldEditorTestSuite::GetName ( ) const
inlineoverridevirtual

◆ GetCategory()

TestCategory yaze::test::OverworldEditorTestSuite::GetCategory ( ) const
inlineoverridevirtual

◆ RunTests()

◆ DrawConfiguration()

void yaze::test::OverworldEditorTestSuite::DrawConfiguration ( )
inlineoverridevirtual

Reimplemented from yaze::test::TestSuite.

Definition at line 46 of file overworld_editor_test_suite.h.

References ICON_MD_MAP, test_entity_manipulation_, and test_tile_placement_.

◆ AddSkippedTest()

void yaze::test::OverworldEditorTestSuite::AddSkippedTest ( TestResults & results,
const std::string & test_name,
const std::string & reason )
inlineprivate

◆ RunTilePlacementTest()

◆ RunEntityManipulationTest()

Member Data Documentation

◆ test_tile_placement_

bool yaze::test::OverworldEditorTestSuite::test_tile_placement_ = true
private

Definition at line 206 of file overworld_editor_test_suite.h.

Referenced by DrawConfiguration(), and RunTests().

◆ test_entity_manipulation_

bool yaze::test::OverworldEditorTestSuite::test_entity_manipulation_ = true
private

Definition at line 207 of file overworld_editor_test_suite.h.

Referenced by DrawConfiguration(), and RunTests().


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