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

Namespaces

namespace  anonymous_namespace{test_manager.cc}
 
namespace  anonymous_namespace{test_recorder.cc}
 
namespace  anonymous_namespace{test_script_parser.cc}
 
namespace  anonymous_namespace{widget_discovery_service.cc}
 

Classes

class  AIVisionVerifier
 AI-powered visual verification for GUI testing. More...
 
class  ArenaTestSuite
 
struct  ComparisonConfig
 Configuration for screenshot comparison. More...
 
struct  ComparisonResult
 Result of a screenshot comparison. More...
 
class  E2ETestSuite
 End-to-End test suite for comprehensive ROM testing. More...
 
class  EmulatorTestSuite
 Test suite for core emulator components. More...
 
class  IntegratedTestSuite
 
class  PerformanceTestSuite
 
struct  ResourceStats
 
class  RomDependentTestSuite
 
class  ScopedIterativeVerification
 RAII helper for iterative verification sessions. More...
 
struct  ScreenRegion
 Region of interest for screenshot comparison. More...
 
struct  Screenshot
 Screenshot data container. More...
 
class  ScreenshotAssertion
 Utilities for screenshot-based testing assertions. More...
 
class  TestManager
 
class  TestRecorder
 
struct  TestResult
 
struct  TestResults
 
struct  TestScript
 
class  TestScriptParser
 
struct  TestScriptStep
 
class  TestSuite
 
class  UITestSuite
 
class  UnitTestSuite
 
struct  VisionVerificationResult
 Result of an AI vision verification check. More...
 
struct  VisionVerifierConfig
 Configuration for vision verification. More...
 
class  WidgetDiscoveryService
 
class  ZSCustomOverworldTestSuite
 ZSCustomOverworld upgrade testing suite. More...
 

Typedefs

using ScreenshotCaptureCallback
 Callback for custom screenshot capture.
 

Enumerations

enum class  TestStatus {
  kNotRun , kRunning , kPassed , kFailed ,
  kSkipped
}
 
enum class  TestCategory {
  kUnit , kIntegration , kUI , kPerformance ,
  kMemory
}
 

Functions

const char * TestStatusToString (TestStatus status)
 
const char * TestCategoryToString (TestCategory category)
 
ImVec4 GetTestStatusColor (TestStatus status)
 
void RegisterZ3edTestSuites ()
 

Typedef Documentation

◆ ScreenshotCaptureCallback

Initial value:
std::function<absl::StatusOr<std::vector<uint8_t>>(int* width, int* height)>

Callback for custom screenshot capture.

Allows integration with different rendering backends (SDL, OpenGL, etc.)

Definition at line 75 of file ai_vision_verifier.h.

Enumeration Type Documentation

◆ TestStatus

enum class yaze::test::TestStatus
strong
Enumerator
kNotRun 
kRunning 
kPassed 
kFailed 
kSkipped 

Definition at line 42 of file test_manager.h.

◆ TestCategory

enum class yaze::test::TestCategory
strong
Enumerator
kUnit 
kIntegration 
kUI 
kPerformance 
kMemory 

Definition at line 45 of file test_manager.h.

Function Documentation

◆ TestStatusToString()

const char * yaze::test::TestStatusToString ( TestStatus status)

Definition at line 62 of file test_manager.cc.

References kFailed, kNotRun, kPassed, kRunning, and kSkipped.

◆ TestCategoryToString()

const char * yaze::test::TestCategoryToString ( TestCategory category)

Definition at line 78 of file test_manager.cc.

References kIntegration, kMemory, kPerformance, kUI, and kUnit.

◆ GetTestStatusColor()

ImVec4 yaze::test::GetTestStatusColor ( TestStatus status)

Definition at line 94 of file test_manager.cc.

References kFailed, kNotRun, kPassed, kRunning, and kSkipped.

Referenced by yaze::test::TestManager::DrawTestDashboard().

◆ RegisterZ3edTestSuites()

void yaze::test::RegisterZ3edTestSuites ( )

Definition at line 9 of file z3ed_test_suite.cc.

References yaze::test::TestManager::Get(), LOG_INFO, and yaze::test::TestManager::RegisterTestSuite().

Referenced by yaze::editor::EditorManager::InitializeTestSuites().

Here is the call graph for this function: