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{visual_diff_engine.cc}
 
namespace  anonymous_namespace{widget_discovery_service.cc}
 

Classes

class  AgentToolsTestSuite
 
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  CoreSystemsTestSuite
 Test suite for core infrastructure: ContentRegistry and EventBus. More...
 
class  DungeonEditorTestSuite
 
class  E2ETestSuite
 End-to-End test suite for comprehensive ROM testing. More...
 
class  EmulatorTestSuite
 Test suite for core emulator components. More...
 
class  GraphicsEditorTestSuite
 
class  IntegratedTestSuite
 
class  OverworldEditorTestSuite
 
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...
 
struct  VisualDiffConfig
 Configuration for visual diff engine. More...
 
class  VisualDiffEngine
 High-level visual comparison engine for gRPC/MCP integration. More...
 
struct  VisualDiffResult
 Result of visual comparison with diff image. 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

void RegisterAgentToolsTestSuite ()
 
void RegisterDungeonUITests (ImGuiTestEngine *)
 
void RegisterOverworldUITests (ImGuiTestEngine *)
 
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 48 of file test_manager.h.

◆ TestCategory

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

Definition at line 51 of file test_manager.h.

Function Documentation

◆ RegisterAgentToolsTestSuite()

void yaze::test::RegisterAgentToolsTestSuite ( )

Definition at line 7 of file agent_tools_test.cc.

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

Referenced by main().

Here is the call graph for this function:

◆ RegisterDungeonUITests()

void yaze::test::RegisterDungeonUITests ( ImGuiTestEngine * engine)

Register all Tier 1 dungeon editor UI tests with the test engine. Call this after ImGuiTestEngine_Start() during InitializeUITesting().

Definition at line 217 of file dungeon_ui_tests.cc.

◆ RegisterOverworldUITests()

void yaze::test::RegisterOverworldUITests ( ImGuiTestEngine * engine)

Register all Tier 1 overworld editor UI tests with the test engine. Call this after ImGuiTestEngine_Start() during InitializeUITesting().

Definition at line 313 of file overworld_ui_tests.cc.

◆ TestStatusToString()

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

Definition at line 72 of file test_manager.cc.

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

◆ TestCategoryToString()

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

Definition at line 88 of file test_manager.cc.

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

◆ GetTestStatusColor()

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

◆ 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(), and main().

Here is the call graph for this function: