From: Joe Konno Date: Wed, 25 Jul 2012 22:02:09 +0000 (-0700) Subject: EFL: Hover tests, basic X-Git-Tag: upstream/0.2.1~266 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=62c80a3771f0a44518b39dd85d34f97272f6dfd8;p=test%2Fgeneric%2Fwayland-fits.git EFL: Hover tests, basic Signed-off-by: Joe Konno --- 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() +