From 868453ef75110badecdb54e13b79a74cfc95282a Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 15 Nov 2013 16:34:20 -0600 Subject: Woot, a test, kinda --- tests/CMakeLists.txt | 21 +++++++++++++++++++++ tests/name-watch-test.cc | 21 +++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 tests/name-watch-test.cc (limited to 'tests') 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 +#include + +class NameWatchTest : public ::testing::Test +{ + protected: + virtual void SetUp() { + + } + + virtual void TearDown() { + + } +}; + +TEST_F(NameWatchTest, DummyTest) +{ + + +} -- cgit v1.2.3