2022-11-11 10:35:41 +00:00
|
|
|
#include "WaylandInterface.h"
|
2022-05-18 07:42:44 +00:00
|
|
|
|
|
|
|
#include "Window.h"
|
2022-11-10 10:48:22 +00:00
|
|
|
#include "FileLogger.h"
|
2022-05-18 07:42:44 +00:00
|
|
|
|
2022-11-11 11:48:42 +00:00
|
|
|
#include "GuiApplication.h"
|
2022-11-10 17:10:18 +00:00
|
|
|
|
2022-11-29 18:00:19 +00:00
|
|
|
#include "TestFramework.h"
|
|
|
|
|
|
|
|
TEST_CASE(TestWaylandWindow, "web")
|
2022-05-18 07:42:44 +00:00
|
|
|
{
|
2022-11-10 10:48:22 +00:00
|
|
|
FileLogger::GetInstance().Open();
|
|
|
|
|
2022-11-11 11:48:42 +00:00
|
|
|
auto app = std::make_unique<GuiApplication>();
|
2022-11-10 17:10:18 +00:00
|
|
|
|
2022-11-11 11:48:42 +00:00
|
|
|
//app->setUiInterfaceBackend(UiInterfaceFactory::Backend::WAYLAND);
|
|
|
|
app->setUiInterfaceBackend(UiInterfaceFactory::Backend::WAYLAND_RASTER);
|
2022-05-18 07:42:44 +00:00
|
|
|
|
2022-11-11 11:48:42 +00:00
|
|
|
app->run();
|
2022-05-18 07:42:44 +00:00
|
|
|
}
|