include_directories(
    ${CMAKE_SOURCE_DIR}/plugins/sqlite
    ${CMAKE_SOURCE_DIR}/src
    ${CMAKE_CURRENT_BINARY_DIR}
    )

generate_test(SqlitePluginTest SOURCES SqlitePluginTest.cpp LIBRARIES lomirihistoryservice sqlitehistoryplugin QT5_MODULES Qt5::Core Qt5::DBus Qt5::Test Qt5::Sql)
generate_test(SqliteThreadViewTest SOURCES SqliteThreadViewTest.cpp LIBRARIES lomirihistoryservice sqlitehistoryplugin QT5_MODULES Qt5::Core Qt5::DBus Qt5::Test Qt5::Sql)
generate_test(SqliteEventViewTest SOURCES SqliteEventViewTest.cpp LIBRARIES lomirihistoryservice sqlitehistoryplugin QT5_MODULES Qt5::Core Qt5::DBus Qt5::Test Qt5::Sql)
