ActionsHandler test

Add basic test suite to make sure that ActionsHandler rejects attempts to handleMessage if either m_room or chatBarCacher are nullptr.
This commit is contained in:
James Graham
2023-12-10 18:14:51 +00:00
parent 8d717b78ac
commit 8062dface6
3 changed files with 51 additions and 5 deletions

View File

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