diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2020-06-18 20:42:29 +0200 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2020-06-26 12:17:30 +0200 |
commit | cdb42f0d6b47a60ceb647e3ac6a6ce66352dbae4 (patch) | |
tree | 40f76de30181eb1036d44516e5dd05488c8c31dc /test.pro | |
parent | 4de5748e25678dce9c5a344afc5fd40508c0860f (diff) |
[test] minimal qml tests
just a minimal boilerplate. the idea is to import the qml files and
assert that the states/widgets change accordingly if we mock the backend
status.
- Closes: #300
Diffstat (limited to 'test.pro')
-rw-r--r-- | test.pro | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/test.pro b/test.pro new file mode 100644 index 0000000..099e18f --- /dev/null +++ b/test.pro @@ -0,0 +1,26 @@ +TEMPLATE = app +TARGET = test_ui +CONFIG += warn_on qmltestcase + +SOURCES += \ + tests/test_ui.cpp \ + gui/qjsonmodel.cpp \ + gui/handlers.cpp + +HEADERS += \ + lib/libgoshim.h \ + gui/qjsonmodel.h \ + gui/handlers.h + + +LIBS += -L../lib -lgoshim -lpthread + +DESTDIR = build +OBJECTS_DIR = build/.obj +RCC_DIR = build/.rcc +UI_DIR = build/.ui + +Release:DESTDIR = build +Release:OBJECTS_DIR = build/.obj +Release:RCC_DIR = build/.rcc +Release:UI_DIR = build/.ui |