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
|
|
|
|
)
|
|
|
|
|
|
|
|
kde4_add_unit_test( testTabBoxClientModel TESTNAME testTabBoxClientModel ${testTabBoxClientModel_SRCS} )
|
|
|
|
|
2012-07-27 20:12:59 +00:00
|
|
|
target_link_libraries( testTabBoxClientModel ${KDE4_KDEUI_LIBS} ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTDECLARATIVE_LIBRARY} ${QT_QTTEST_LIBRARY} ${X11_LIBRARIES} )
|
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
|
|
|
|
)
|
|
|
|
|
|
|
|
kde4_add_unit_test( testTabBoxHandler TESTNAME testTabBoxHandler ${testTabBoxHandler_SRCS} )
|
|
|
|
|
|
|
|
target_link_libraries( testTabBoxHandler ${KDE4_KDEUI_LIBS} ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTDECLARATIVE_LIBRARY} ${QT_QTTEST_LIBRARY} ${X11_LIBRARIES} )
|