yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
test_editor.h
Go to the documentation of this file.
1#ifndef YAZE_TEST_INTEGRATION_TEST_EDITOR_H
2#define YAZE_TEST_INTEGRATION_TEST_EDITOR_H
3
4#include "app/editor/editor.h"
5#include "imgui/imgui.h"
6#include "imgui_test_engine/imgui_te_context.h"
7#include "imgui_test_engine/imgui_te_engine.h"
8
9namespace yaze {
10namespace test {
11namespace integration {
12
14 public:
15 TestEditor() = default;
16 ~TestEditor() = default;
17
18 absl::Status Cut() override {
19 return absl::UnimplementedError("Not implemented");
20 }
21 absl::Status Copy() override {
22 return absl::UnimplementedError("Not implemented");
23 }
24 absl::Status Paste() override {
25 return absl::UnimplementedError("Not implemented");
26 }
27
28 absl::Status Undo() override {
29 return absl::UnimplementedError("Not implemented");
30 }
31 absl::Status Redo() override {
32 return absl::UnimplementedError("Not implemented");
33 }
34
35 absl::Status Find() override {
36 return absl::UnimplementedError("Not implemented");
37 }
38
39 absl::Status Update() override;
40
41 void RegisterTests(ImGuiTestEngine* engine);
42
43 private:
44 ImGuiTestEngine* engine_;
45};
46
48
49} // namespace integration
50} // namespace test
51} // namespace yaze
52
53#endif // YAZE_TEST_INTEGRATION_TEST_EDITOR_H
Interface for editor classes.
Definition editor.h:54
absl::Status Paste() override
Definition test_editor.h:24
absl::Status Update() override
absl::Status Find() override
Definition test_editor.h:35
absl::Status Cut() override
Definition test_editor.h:18
void RegisterTests(ImGuiTestEngine *engine)
absl::Status Undo() override
Definition test_editor.h:28
absl::Status Redo() override
Definition test_editor.h:31
absl::Status Copy() override
Definition test_editor.h:21
Definition common.cc:22