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

#include <rom_dependent_test_suite.h>

Inheritance diagram for yaze::test::RomDependentTestSuite:
Collaboration diagram for yaze::test::RomDependentTestSuite:

Public Member Functions

 RomDependentTestSuite ()=default
 
 ~RomDependentTestSuite () 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 RunRomHeaderValidationTest (TestResults &results, Rom *rom)
 
void RunRomDataAccessTest (TestResults &results, Rom *rom)
 
void RunRomGraphicsExtractionTest (TestResults &results, Rom *rom)
 
void RunRomOverworldLoadingTest (TestResults &results, Rom *rom)
 
void RunRomSpriteDataTest (TestResults &results, Rom *rom)
 
void RunRomMusicDataTest (TestResults &results, Rom *rom)
 
void RunTile16EditorTest (TestResults &results, Rom *rom)
 
void RunComprehensiveSaveTest (TestResults &results, Rom *rom)
 

Private Attributes

bool test_header_validation_ = true
 
bool test_data_access_ = true
 
bool test_graphics_extraction_ = true
 
bool test_overworld_loading_ = true
 
bool test_tile16_editor_ = true
 
bool test_comprehensive_save_ = true
 
bool test_advanced_features_ = false
 
bool test_sprite_data_ = false
 
bool test_music_data_ = false
 

Additional Inherited Members

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

Detailed Description

Definition at line 18 of file rom_dependent_test_suite.h.

Constructor & Destructor Documentation

◆ RomDependentTestSuite()

yaze::test::RomDependentTestSuite::RomDependentTestSuite ( )
default

◆ ~RomDependentTestSuite()

yaze::test::RomDependentTestSuite::~RomDependentTestSuite ( )
overridedefault

Member Function Documentation

◆ GetName()

◆ GetCategory()

◆ RunTests()

◆ DrawConfiguration()

◆ AddSkippedTest()

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

◆ RunRomHeaderValidationTest()

◆ RunRomDataAccessTest()

◆ RunRomGraphicsExtractionTest()

◆ RunRomOverworldLoadingTest()

◆ RunRomSpriteDataTest()

◆ RunRomMusicDataTest()

◆ RunTile16EditorTest()

◆ RunComprehensiveSaveTest()

Member Data Documentation

◆ test_header_validation_

bool yaze::test::RomDependentTestSuite::test_header_validation_ = true
private

Definition at line 530 of file rom_dependent_test_suite.h.

Referenced by DrawConfiguration(), and RunRomHeaderValidationTest().

◆ test_data_access_

bool yaze::test::RomDependentTestSuite::test_data_access_ = true
private

Definition at line 531 of file rom_dependent_test_suite.h.

Referenced by DrawConfiguration(), and RunRomDataAccessTest().

◆ test_graphics_extraction_

bool yaze::test::RomDependentTestSuite::test_graphics_extraction_ = true
private

Definition at line 532 of file rom_dependent_test_suite.h.

Referenced by DrawConfiguration(), and RunRomGraphicsExtractionTest().

◆ test_overworld_loading_

bool yaze::test::RomDependentTestSuite::test_overworld_loading_ = true
private

Definition at line 533 of file rom_dependent_test_suite.h.

Referenced by DrawConfiguration(), and RunRomOverworldLoadingTest().

◆ test_tile16_editor_

bool yaze::test::RomDependentTestSuite::test_tile16_editor_ = true
private

Definition at line 534 of file rom_dependent_test_suite.h.

◆ test_comprehensive_save_

bool yaze::test::RomDependentTestSuite::test_comprehensive_save_ = true
private

Definition at line 535 of file rom_dependent_test_suite.h.

◆ test_advanced_features_

bool yaze::test::RomDependentTestSuite::test_advanced_features_ = false
private

Definition at line 536 of file rom_dependent_test_suite.h.

Referenced by DrawConfiguration(), and RunTests().

◆ test_sprite_data_

bool yaze::test::RomDependentTestSuite::test_sprite_data_ = false
private

Definition at line 537 of file rom_dependent_test_suite.h.

Referenced by DrawConfiguration(), and RunRomSpriteDataTest().

◆ test_music_data_

bool yaze::test::RomDependentTestSuite::test_music_data_ = false
private

Definition at line 538 of file rom_dependent_test_suite.h.

Referenced by DrawConfiguration(), and RunRomMusicDataTest().


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