EFL: Hover tests, basic
authorJoe Konno <joe.konno@intel.com>
Wed, 25 Jul 2012 22:02:09 +0000 (15:02 -0700)
committerJoe Konno <joe.konno@intel.com>
Wed, 25 Jul 2012 22:02:09 +0000 (15:02 -0700)
Signed-off-by: Joe Konno <joe.konno@intel.com>
src/efl/Makefile.am
src/efl/test_hover.cpp [new file with mode: 0644]

index 5575bd4..4cb5a71 100644 (file)
@@ -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 (file)
index 0000000..4a40745
--- /dev/null
@@ -0,0 +1,29 @@
+#include "templates.h"
+
+class Hover : public EvasObject
+{
+public:
+       Hover(EvasObject &parent)
+               : EvasObject::EvasObject(elm_hover_add(parent))
+       {
+               return;
+       }
+};
+
+
+typedef ResizeObjectTest<Hover> HoverResizeTest;
+typedef PositionObjectTest<Hover> HoverPositionTest;
+typedef VisibleObjectTest<Hover> 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()
+