diff options
author | Ted Gould <ted@gould.cx> | 2013-11-15 16:34:20 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2013-11-15 16:34:20 -0600 |
commit | 868453ef75110badecdb54e13b79a74cfc95282a (patch) | |
tree | c08341f31717dc254f1b8af4c70e798a56ee86b1 /tests | |
parent | 5214427d1bf98bcd3f48ecfe31bdd7abda05f7eb (diff) | |
download | ayatana-indicator-sound-868453ef75110badecdb54e13b79a74cfc95282a.tar.gz ayatana-indicator-sound-868453ef75110badecdb54e13b79a74cfc95282a.tar.bz2 ayatana-indicator-sound-868453ef75110badecdb54e13b79a74cfc95282a.zip |
Woot, a test, kinda
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 21 | ||||
-rw-r--r-- | tests/name-watch-test.cc | 21 |
2 files changed, 42 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index e69de29..1e5448d 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -0,0 +1,21 @@ + +########################### +# Google Test +########################### + +include_directories(${GTEST_INCLUDE_DIR}) + +add_library (gtest STATIC + ${GTEST_SOURCE_DIR}/gtest-all.cc + ${GTEST_SOURCE_DIR}/gtest_main.cc) +target_link_libraries(gtest ${GTEST_LIBS}) + + +########################### +# Name Watch Test +########################### + +add_executable (name-watch-test name-watch-test.cc) +target_link_libraries (name-watch-test gtest ${GIO2_LIBRARIES}) +add_test(name-watch-test name-watch-test) + diff --git a/tests/name-watch-test.cc b/tests/name-watch-test.cc new file mode 100644 index 0000000..b5a1db3 --- /dev/null +++ b/tests/name-watch-test.cc @@ -0,0 +1,21 @@ + +#include <gio/gio.h> +#include <gtest/gtest.h> + +class NameWatchTest : public ::testing::Test +{ + protected: + virtual void SetUp() { + + } + + virtual void TearDown() { + + } +}; + +TEST_F(NameWatchTest, DummyTest) +{ + + +} |