ecm_add_test(subtitleparsertest.cpp
    TEST_NAME subtitleparsertest
    LINK_LIBRARIES qtpotato_core Qt6::Test
)

ecm_add_test(mpvuserconfigtest.cpp
    TEST_NAME mpvuserconfigtest
    LINK_LIBRARIES qtpotato_core Qt6::Test
)

ecm_add_test(glossarystoretest.cpp ../src/translate/glossarystore.cpp
    TEST_NAME glossarystoretest
    LINK_LIBRARIES Qt6::Core Qt6::Test
)
target_include_directories(glossarystoretest PRIVATE ../src/translate)

ecm_add_test(playlistmodeltest.cpp ../src/playlist/playlistmodel.cpp
    TEST_NAME playlistmodeltest
    LINK_LIBRARIES Qt6::Qml Qt6::Test
)
target_include_directories(playlistmodeltest PRIVATE ../src/playlist)
