Warning, /plasma/kdecoration/autotests/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 include(ECMMarkAsTest)
0002
0003 set(decorationButtonTest_SRCS
0004 mockbridge.cpp
0005 mockbutton.cpp
0006 mockclient.cpp
0007 mockdecoration.cpp
0008 mocksettings.cpp
0009 decorationbuttontest.cpp
0010 )
0011 add_executable(decorationButtonTest ${decorationButtonTest_SRCS})
0012 target_link_libraries(decorationButtonTest kdecorations2 kdecorations2private Qt::Test)
0013 add_test(NAME kdecoration2-decorationButtonTest COMMAND decorationButtonTest)
0014 ecm_mark_as_test(decorationButtonTest)
0015
0016 set(decorationTest_SRCS
0017 mockbridge.cpp
0018 mockbutton.cpp
0019 mockclient.cpp
0020 mockdecoration.cpp
0021 mocksettings.cpp
0022 decorationtest.cpp
0023 )
0024 add_executable(decorationTest ${decorationTest_SRCS})
0025 target_link_libraries(decorationTest kdecorations2 kdecorations2private Qt::Test)
0026 add_test(NAME kdecoration2-decorationTest COMMAND decorationTest)
0027 ecm_mark_as_test(decorationTest)
0028
0029 set(decorationShadowTest_SRCS
0030 shadowtest.cpp
0031 )
0032 add_executable(decorationShadowTest ${decorationShadowTest_SRCS})
0033 target_link_libraries(decorationShadowTest kdecorations2 Qt::Test)
0034 add_test(NAME kdecoration2-decorationShadowTest COMMAND decorationShadowTest)
0035 ecm_mark_as_test(decorationShadowTest)