WindowController test

Create a WindowController test suite.

Also make sure that the class handles m_window being nullptr.
This commit is contained in:
James Graham
2023-12-24 15:37:56 +00:00
parent 9fe44515a7
commit 29321aeaf3
3 changed files with 114 additions and 0 deletions

View File

@@ -58,3 +58,9 @@ ecm_add_test(
LINK_LIBRARIES neochat Qt::Test
TEST_NAME actionshandlertest
)
ecm_add_test(
windowcontrollertest.cpp
LINK_LIBRARIES neochat Qt::Test
TEST_NAME windowcontrollertest
)