Skip to content
Snippets Groups Projects
Commit c6f91acc authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

test + gApp

parent 00917e7b
No related branches found
No related tags found
1 merge request!2452cleanup autosave, style sheet & palette; split save some files; dissolve GUI/Support
...@@ -14,13 +14,17 @@ ...@@ -14,13 +14,17 @@
#include "BATesting.h" #include "BATesting.h"
#include "GUI/Model/Project/ProjectDocument.h" #include "GUI/Model/Project/ProjectDocument.h"
#include "GUI/View/Base/AppConfig.h"
#include "GUI/View/Main/ProjectManager.h" #include "GUI/View/Main/ProjectManager.h"
#include "Tests/GTestWrapper/google_test.h" #include "Tests/GTestWrapper/google_test.h"
#include <filesystem> #include <filesystem>
class GUIProjectCompatibility : public ::testing::Test { class GUIProjectCompatibility : public ::testing::Test {
public: public:
GUIProjectCompatibility() { gDoc = std::make_unique<ProjectDocument>(); } GUIProjectCompatibility() {
gApp = std::make_unique<AppConfig>();
gDoc = std::make_unique<ProjectDocument>();
}
void openProject(const std::string& project_name) void openProject(const std::string& project_name)
{ {
namespace fs = std::filesystem; namespace fs = std::filesystem;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment