From 3f3da3c713fb7735aa31841c67707bc3bcafd84b Mon Sep 17 00:00:00 2001 From: Joe Konno Date: Wed, 8 Aug 2012 15:42:50 -0700 Subject: [PATCH] EFL: Label basic tests Signed-off-by: Joe Konno --- src/efl/Makefile.am | 1 + src/efl/test_label.cpp | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 src/efl/test_label.cpp diff --git a/src/efl/Makefile.am b/src/efl/Makefile.am index 6804a7e..8c0ad59 100644 --- a/src/efl/Makefile.am +++ b/src/efl/Makefile.am @@ -51,6 +51,7 @@ wayland_efl_test_SOURCES = \ test_image.cpp \ test_inwin.cpp \ test_list.cpp \ + test_label.cpp \ test_window.cpp \ ../testmain.cpp diff --git a/src/efl/test_label.cpp b/src/efl/test_label.cpp new file mode 100644 index 0000000..0a4e9c2 --- /dev/null +++ b/src/efl/test_label.cpp @@ -0,0 +1,30 @@ +#include "templates.h" + +class Label : public EvasObject +{ +public: + Label(EvasObject &parent) + : EvasObject::EvasObject(elm_label_add(parent)) + { + elm_object_text_set(*this, "Label"); + } +}; + +//TODO: more rigorous tests + +typedef ResizeObjectTest