diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-08-19 22:25:45 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-08-19 22:25:45 -0500 |
commit | ec2c7ec58b192e0b907239ad1ff840fe69b4da56 (patch) | |
tree | b698c312120326f6aeffde64602210955662a56a /tests | |
parent | 41ef58955239d873b1c4db850f781eaff5748169 (diff) | |
download | ayatana-indicator-display-ec2c7ec58b192e0b907239ad1ff840fe69b4da56.tar.gz ayatana-indicator-display-ec2c7ec58b192e0b907239ad1ff840fe69b4da56.tar.bz2 ayatana-indicator-display-ec2c7ec58b192e0b907239ad1ff840fe69b4da56.zip |
get skeletal service and tests building
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 5 | ||||
-rw-r--r-- | tests/test-hello-world.cpp | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index a2491b6..38c315c 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -26,9 +26,8 @@ function(add_test_by_name name) set (TEST_NAME ${name}) add_executable (${TEST_NAME} ${TEST_NAME}.cpp) add_test (${TEST_NAME} ${TEST_NAME}) - add_dependencies (${TEST_NAME} libindicatortransferservice) - #target_link_libraries (${TEST_NAME} indicatortransferservice gtest ${SERVICE_DEPS_LIBRARIES} ${GTEST_LIBS}) - target_link_libraries (${TEST_NAME} indicatortransferservice ${SERVICE_DEPS_LIBRARIES} ${GTEST_LIBRARIES} ${GMOCK_LIBRARIES}) + add_dependencies (${TEST_NAME} libindicatordisplayservice) + target_link_libraries (${TEST_NAME} indicatordisplayservice ${SERVICE_DEPS_LIBRARIES} ${GTEST_LIBRARIES} ${GMOCK_LIBRARIES}) endfunction() add_test_by_name(test-hello-world) diff --git a/tests/test-hello-world.cpp b/tests/test-hello-world.cpp index 53d2ec3..5d9c308 100644 --- a/tests/test-hello-world.cpp +++ b/tests/test-hello-world.cpp @@ -43,6 +43,6 @@ protected: TEST_F(HelloWorldFixture, HelloWorld) { - EXPECT_TRUE(true) + EXPECT_TRUE(true); } |