diff --git a/test/integration/test_editor.cc b/test/integration/test_editor.cc index dc5c0168..2ab1280e 100644 --- a/test/integration/test_editor.cc +++ b/test/integration/test_editor.cc @@ -67,7 +67,7 @@ int RunIntegrationTest() { controller.window(), yaze::core::Renderer::GetInstance().renderer()); ImGui_ImplSDLRenderer2_Init(yaze::core::Renderer::GetInstance().renderer()); - yaze::test::integration::TestEditor test_editor; + yaze::test::TestEditor test_editor; test_editor.RegisterTests(engine); ImGuiTestEngine_Start(engine, ImGui::GetCurrentContext()); controller.set_active(true); diff --git a/test/integration/test_editor.h b/test/integration/test_editor.h index 87c92f6d..17149c20 100644 --- a/test/integration/test_editor.h +++ b/test/integration/test_editor.h @@ -8,12 +8,14 @@ namespace yaze { namespace test { -namespace integration { class TestEditor : public yaze::editor::Editor { public: TestEditor() = default; ~TestEditor() = default; + void Initialize() override { + + } absl::Status Cut() override { return absl::UnimplementedError("Not implemented"); @@ -38,6 +40,13 @@ class TestEditor : public yaze::editor::Editor { absl::Status Update() override; + absl::Status Save() override { + return absl::UnimplementedError("Not implemented"); + } + absl::Status Load() override { + return absl::UnimplementedError("Not implemented"); + } + void RegisterTests(ImGuiTestEngine* engine); private: @@ -46,7 +55,6 @@ class TestEditor : public yaze::editor::Editor { int RunIntegrationTest(); -} // namespace integration } // namespace test } // namespace yaze