From 62c80a3771f0a44518b39dd85d34f97272f6dfd8 Mon Sep 17 00:00:00 2001 From: Joe Konno Date: Wed, 25 Jul 2012 15:02:09 -0700 Subject: [PATCH] EFL: Hover tests, basic Signed-off-by: Joe Konno --- src/efl/Makefile.am | 1 + src/efl/test_hover.cpp | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 src/efl/test_hover.cpp diff --git a/src/efl/Makefile.am b/src/efl/Makefile.am index 5575bd4..4cb5a71 100644 --- a/src/efl/Makefile.am +++ b/src/efl/Makefile.am @@ -45,6 +45,7 @@ wayland_efl_test_SOURCES = \ test_flip.cpp \ test_flipselector.cpp \ test_frame.cpp \ + test_hover.cpp \ test_window.cpp \ ../testmain.cpp diff --git a/src/efl/test_hover.cpp b/src/efl/test_hover.cpp new file mode 100644 index 0000000..4a40745 --- /dev/null +++ b/src/efl/test_hover.cpp @@ -0,0 +1,29 @@ +#include "templates.h" + +class Hover : public EvasObject +{ +public: + Hover(EvasObject &parent) + : EvasObject::EvasObject(elm_hover_add(parent)) + { + return; + } +}; + + +typedef ResizeObjectTest HoverResizeTest; +typedef PositionObjectTest HoverPositionTest; +typedef VisibleObjectTest HoverVisibilityTest; + +BOOST_AUTO_TEST_SUITE(EFL) + + BOOST_AUTO_TEST_SUITE(Hover) + + WAYLAND_ELM_HARNESS_TEST_CASE(HoverResizeTest) + WAYLAND_ELM_HARNESS_TEST_CASE(HoverPositionTest) + WAYLAND_ELM_HARNESS_TEST_CASE(HoverVisibilityTest) + + BOOST_AUTO_TEST_SUITE_END() + +BOOST_AUTO_TEST_SUITE_END() + -- 2.7.4