yaze 0.2.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::test::integration::TestEditor Class Reference

#include <test_editor.h>

Inheritance diagram for yaze::test::integration::TestEditor:
Collaboration diagram for yaze::test::integration::TestEditor:

Public Member Functions

 TestEditor ()=default
 
 ~TestEditor ()=default
 
absl::Status Cut () override
 
absl::Status Copy () override
 
absl::Status Paste () override
 
absl::Status Undo () override
 
absl::Status Redo () override
 
absl::Status Find () override
 
absl::Status Update () override
 
void RegisterTests (ImGuiTestEngine *engine)
 
- Public Member Functions inherited from yaze::editor::Editor
 Editor ()=default
 
virtual ~Editor ()=default
 
virtual void Initialize ()=0
 
virtual absl::Status Load ()=0
 
virtual absl::Status Save ()=0
 
EditorType type () const
 
void set_context (EditorContext *context)
 
bool * active ()
 
void set_active (bool active)
 

Private Attributes

ImGuiTestEngine * engine_
 

Additional Inherited Members

- Protected Attributes inherited from yaze::editor::Editor
bool active_ = false
 
EditorType type_
 
EditorContextcontext_ = nullptr
 

Detailed Description

Definition at line 13 of file test_editor.h.

Constructor & Destructor Documentation

◆ TestEditor()

yaze::test::integration::TestEditor::TestEditor ( )
default

◆ ~TestEditor()

yaze::test::integration::TestEditor::~TestEditor ( )
default

Member Function Documentation

◆ Cut()

absl::Status yaze::test::integration::TestEditor::Cut ( )
inlineoverridevirtual

Implements yaze::editor::Editor.

Definition at line 18 of file test_editor.h.

◆ Copy()

absl::Status yaze::test::integration::TestEditor::Copy ( )
inlineoverridevirtual

Implements yaze::editor::Editor.

Definition at line 21 of file test_editor.h.

◆ Paste()

absl::Status yaze::test::integration::TestEditor::Paste ( )
inlineoverridevirtual

Implements yaze::editor::Editor.

Definition at line 24 of file test_editor.h.

◆ Undo()

absl::Status yaze::test::integration::TestEditor::Undo ( )
inlineoverridevirtual

Implements yaze::editor::Editor.

Definition at line 28 of file test_editor.h.

◆ Redo()

absl::Status yaze::test::integration::TestEditor::Redo ( )
inlineoverridevirtual

Implements yaze::editor::Editor.

Definition at line 31 of file test_editor.h.

◆ Find()

absl::Status yaze::test::integration::TestEditor::Find ( )
inlineoverridevirtual

Implements yaze::editor::Editor.

Definition at line 35 of file test_editor.h.

◆ Update()

absl::Status yaze::test::TestEditor::Update ( )
overridevirtual

Implements yaze::editor::Editor.

Definition at line 19 of file test_editor.cc.

References engine_, and Update().

Referenced by yaze::test::RunIntegrationTest(), and Update().

Here is the call graph for this function:

◆ RegisterTests()

void yaze::test::TestEditor::RegisterTests ( ImGuiTestEngine * engine)

Definition at line 35 of file test_editor.cc.

References engine_, and RegisterTests().

Referenced by RegisterTests(), and yaze::test::RunIntegrationTest().

Here is the call graph for this function:

Member Data Documentation

◆ engine_

ImGuiTestEngine* yaze::test::integration::TestEditor::engine_
private

Definition at line 44 of file test_editor.h.

Referenced by RegisterTests(), and Update().


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