2012-07-21 09:25:17 +00:00
|
|
|
########################################################
|
|
|
|
# Test TabBox::ClientModel
|
|
|
|
########################################################
|
|
|
|
set( testTabBoxClientModel_SRCS
|
|
|
|
../clientmodel.cpp
|
|
|
|
../desktopmodel.cpp
|
|
|
|
../tabboxconfig.cpp
|
|
|
|
../tabboxhandler.cpp
|
|
|
|
test_tabbox_clientmodel.cpp
|
|
|
|
mock_declarative.cpp
|
|
|
|
mock_tabboxhandler.cpp
|
|
|
|
mock_tabboxclient.cpp
|
|
|
|
)
|
|
|
|
|
2013-07-23 10:03:44 +00:00
|
|
|
#kde4_add_unit_test( testTabBoxClientModel TESTNAME kwin-testTabBoxClientModel ${testTabBoxClientModel_SRCS} )
|
2012-07-21 09:25:17 +00:00
|
|
|
|
2013-07-23 10:03:44 +00:00
|
|
|
#target_link_libraries( testTabBoxClientModel ${KDE4_KDEUI_LIBS} ${QT_QTDECLARATIVE_LIBRARY} ${X11_LIBRARIES} ${QT_QTTEST_LIBRARY} )
|
2012-08-08 20:28:22 +00:00
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test TabBox::TabBoxHandler
|
|
|
|
########################################################
|
|
|
|
set( testTabBoxHandler_SRCS
|
|
|
|
../clientmodel.cpp
|
|
|
|
../desktopmodel.cpp
|
|
|
|
../tabboxconfig.cpp
|
|
|
|
../tabboxhandler.cpp
|
|
|
|
test_tabbox_handler.cpp
|
|
|
|
mock_declarative.cpp
|
|
|
|
mock_tabboxhandler.cpp
|
|
|
|
mock_tabboxclient.cpp
|
|
|
|
)
|
|
|
|
|
2013-07-23 10:03:44 +00:00
|
|
|
# kde4_add_unit_test( testTabBoxHandler TESTNAME kwin-testTabBoxHandler ${testTabBoxHandler_SRCS} )
|
2012-08-08 20:28:22 +00:00
|
|
|
|
2013-07-23 10:03:44 +00:00
|
|
|
# target_link_libraries( testTabBoxHandler ${KDE4_KDEUI_LIBS} ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTDECLARATIVE_LIBRARY} ${QT_QTTEST_LIBRARY} ${X11_LIBRARIES} )
|
2012-08-15 18:53:05 +00:00
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test TabBox::TabBoxConfig
|
|
|
|
########################################################
|
|
|
|
set( testTabBoxConfig_SRCS
|
|
|
|
../tabboxconfig.cpp
|
|
|
|
test_tabbox_config.cpp
|
|
|
|
)
|
|
|
|
|
2012-11-16 13:37:01 +00:00
|
|
|
kde4_add_unit_test( testTabBoxConfig TESTNAME kwin-testTabBoxConfig ${testTabBoxConfig_SRCS} )
|
2013-08-20 07:10:18 +00:00
|
|
|
target_link_libraries( testTabBoxConfig Qt5::Core Qt5::Test )
|
2012-11-17 10:50:59 +00:00
|
|
|
|
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test TabBox::DesktopChainManager
|
|
|
|
########################################################
|
|
|
|
set( testDesktopChain_SRCS
|
|
|
|
../desktopchain.cpp
|
|
|
|
test_desktopchain.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
kde4_add_unit_test( testDesktopChain TESTNAME kwin-testDesktopChain ${testDesktopChain_SRCS} )
|
2013-08-20 07:10:18 +00:00
|
|
|
target_link_libraries( testDesktopChain Qt5::Core Qt5::Test )
|