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

End-to-End test suite for comprehensive ROM testing. More...

#include <e2e_test_suite.h>

Inheritance diagram for yaze::test::E2ETestSuite:
Collaboration diagram for yaze::test::E2ETestSuite:

Public Member Functions

 E2ETestSuite ()=default
 
 ~E2ETestSuite () 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 RunRomLoadSaveTest (TestResults &results, Rom *rom)
 
void RunDataIntegrityTest (TestResults &results, Rom *rom)
 
void RunTransactionSystemTest (TestResults &results, Rom *rom)
 
void RunLargeScaleEditingTest (TestResults &results, Rom *rom)
 
void RunCorruptionDetectionTest (TestResults &results, Rom *rom)
 

Private Attributes

bool test_rom_load_save_ = true
 
bool test_data_integrity_ = true
 
bool test_transaction_system_ = true
 
bool test_large_scale_editing_ = true
 
bool test_corruption_detection_ = true
 
int num_edits_ = 10
 

Additional Inherited Members

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

Detailed Description

End-to-End test suite for comprehensive ROM testing.

This test suite provides comprehensive E2E testing capabilities including:

  • ROM loading/saving validation
  • Data integrity testing
  • Transaction system testing
  • Large-scale editing validation

Definition at line 25 of file e2e_test_suite.h.

Constructor & Destructor Documentation

◆ E2ETestSuite()

yaze::test::E2ETestSuite::E2ETestSuite ( )
default

◆ ~E2ETestSuite()

yaze::test::E2ETestSuite::~E2ETestSuite ( )
overridedefault

Member Function Documentation

◆ GetName()

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

◆ GetCategory()

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

◆ RunTests()

◆ DrawConfiguration()

◆ AddSkippedTest()

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

◆ RunRomLoadSaveTest()

◆ RunDataIntegrityTest()

◆ RunTransactionSystemTest()

◆ RunLargeScaleEditingTest()

◆ RunCorruptionDetectionTest()

Member Data Documentation

◆ test_rom_load_save_

bool yaze::test::E2ETestSuite::test_rom_load_save_ = true
private

Definition at line 409 of file e2e_test_suite.h.

Referenced by DrawConfiguration(), and RunTests().

◆ test_data_integrity_

bool yaze::test::E2ETestSuite::test_data_integrity_ = true
private

Definition at line 410 of file e2e_test_suite.h.

Referenced by DrawConfiguration(), and RunTests().

◆ test_transaction_system_

bool yaze::test::E2ETestSuite::test_transaction_system_ = true
private

Definition at line 411 of file e2e_test_suite.h.

Referenced by DrawConfiguration(), and RunTests().

◆ test_large_scale_editing_

bool yaze::test::E2ETestSuite::test_large_scale_editing_ = true
private

Definition at line 412 of file e2e_test_suite.h.

Referenced by DrawConfiguration(), and RunTests().

◆ test_corruption_detection_

bool yaze::test::E2ETestSuite::test_corruption_detection_ = true
private

Definition at line 413 of file e2e_test_suite.h.

Referenced by DrawConfiguration(), and RunTests().

◆ num_edits_

int yaze::test::E2ETestSuite::num_edits_ = 10
private

Definition at line 414 of file e2e_test_suite.h.

Referenced by DrawConfiguration(), and RunLargeScaleEditingTest().


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