diff options
| author | Mikkel Kamstrup Erlandsen <mikkel.kamstrup@gmail.com> | 2012-01-20 11:59:50 +0100 |
|---|---|---|
| committer | Mikkel Kamstrup Erlandsen <mikkel.kamstrup@gmail.com> | 2012-01-20 11:59:50 +0100 |
| commit | c3778b028117469f973b825902c1ac5d7b425fad (patch) | |
| tree | a9ead22d6187fb5b907dec38509dd04400a050c1 /tests | |
| parent | 57c7a9f58818d7b03ffc480f29f651bb1d39ec51 (diff) | |
Whitespace fixes in tests/CMakeLists.txt
(bzr r1825.2.40)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/CMakeLists.txt | 12 | ||||
| -rw-r--r-- | tests/test_home_lens.cpp | 22 |
2 files changed, 28 insertions, 6 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index e5155877d..cb8cef1dc 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -123,7 +123,7 @@ if (GTEST_FOUND AND test_shortcut_private.cpp test_introspection.cpp test_main_xless.cpp - test_grabhandle.cpp + test_grabhandle.cpp ${UNITY_SRC}/AbstractLauncherIcon.h ${UNITY_SRC}/AbstractShortcutHint.h ${UNITY_SRC}/Animator.cpp @@ -152,11 +152,11 @@ if (GTEST_FOUND AND ${UNITY_SRC}/Timer.h ${UNITY_SRC}/WindowManager.cpp ${UNITY_SRC}/WindowManager.h - ${CMAKE_SOURCE_DIR}/plugins/unity-mt-grab-handles/src/unity-mt-grab-handle.cpp - ${CMAKE_SOURCE_DIR}/plugins/unity-mt-grab-handles/src/unity-mt-grab-handle-group.cpp - ${CMAKE_SOURCE_DIR}/plugins/unity-mt-grab-handles/src/unity-mt-grab-handle-impl-factory.cpp - ${CMAKE_SOURCE_DIR}/plugins/unity-mt-grab-handles/src/unity-mt-grab-handle-layout.cpp - ${CMAKE_SOURCE_DIR}/plugins/unity-mt-grab-handles/src/unity-mt-texture.cpp + ${CMAKE_SOURCE_DIR}/plugins/unity-mt-grab-handles/src/unity-mt-grab-handle.cpp + ${CMAKE_SOURCE_DIR}/plugins/unity-mt-grab-handles/src/unity-mt-grab-handle-group.cpp + ${CMAKE_SOURCE_DIR}/plugins/unity-mt-grab-handles/src/unity-mt-grab-handle-impl-factory.cpp + ${CMAKE_SOURCE_DIR}/plugins/unity-mt-grab-handles/src/unity-mt-grab-handle-layout.cpp + ${CMAKE_SOURCE_DIR}/plugins/unity-mt-grab-handles/src/unity-mt-texture.cpp ) target_link_libraries(test-gtest-xless ${GTEST_BOTH_LIBRARIES} ${GMOCK_LIB} ${GMOCK_MAIN_LIB}) add_test(UnityGTestXless test-gtest-xless) diff --git a/tests/test_home_lens.cpp b/tests/test_home_lens.cpp new file mode 100644 index 000000000..f42dce92d --- /dev/null +++ b/tests/test_home_lens.cpp @@ -0,0 +1,22 @@ +#include <gtest/gtest.h> +#include <glib-object.h> + +#include <UnityCore/GLibWrapper.h> +#include <UnityCore/Categories.h> + +#include "test_utils.h" + +using namespace std; +using namespace unity::dash; + +namespace +{ + +TEST(TestHomeLens, TestConstruction) +{ + HomeLens home_lens_; + + EXPECT_EQ(home_lens.id(), "home.lens"); +} + +} |
