aboutsummaryrefslogtreecommitdiff
path: root/tests/CMakeLists.txt
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-07-22 09:58:29 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-07-22 09:58:29 -0500
commit399eab24252eb7c83042de726ebbc4cf9fbb7637 (patch)
tree810442076c15cc62edde1f337afbfe7262b0de6b /tests/CMakeLists.txt
parentdd5f50b07bea7a5dec515a753cf66f060e1d79c6 (diff)
downloadayatana-indicator-power-399eab24252eb7c83042de726ebbc4cf9fbb7637.tar.gz
ayatana-indicator-power-399eab24252eb7c83042de726ebbc4cf9fbb7637.tar.bz2
ayatana-indicator-power-399eab24252eb7c83042de726ebbc4cf9fbb7637.zip
add indicator-power-service-cmdline-battery, a manual test utility to test the indicator's behavior when a battery's state changes
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r--tests/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 64b8ed8..a0d24af 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -51,3 +51,11 @@ add_test_by_name(test-notify)
add_test(NAME dear-reader-the-next-test-takes-80-seconds COMMAND true)
add_test_by_name(test-device)
+###
+###
+
+set (APP_NAME indicator-power-service-cmdline-battery)
+add_executable (${APP_NAME} ${APP_NAME}.cc device-provider-mock.c)
+add_dependencies (${APP_NAME} libindicatorpowerservice)
+target_link_libraries (${APP_NAME} indicatorpowerservice ${SERVICE_DEPS_LIBRARIES})
+