From 346c8194842ab7395638e8613f0513a30b14e79e Mon Sep 17 00:00:00 2001 From: Joe Konno Date: Fri, 20 Jul 2012 10:55:50 -0700 Subject: [PATCH] EFL: basic tests for fileselectors Signed-off-by: Joe Konno --- src/efl/test_fileselector.cpp | 7 +++++++ src/efl/test_fileselector_button.cpp | 7 +++++++ src/efl/test_fileselector_entry.cpp | 7 +++++++ 3 files changed, 21 insertions(+) diff --git a/src/efl/test_fileselector.cpp b/src/efl/test_fileselector.cpp index f22e045..929351c 100644 --- a/src/efl/test_fileselector.cpp +++ b/src/efl/test_fileselector.cpp @@ -6,9 +6,16 @@ #include "window.h" #include "evasobject.h" #include "elmtestharness.h" +#include "templates.h" using std::vector; +// Basic suite START +EFL_RESIZE_TEST(Fileselector, fileselector, 300, 200, 200, 100) +EFL_POSITION_TEST(Fileselector, fileselector, 100, 50, 150, 100) +EFL_VISIBILITY_TEST(Fileselector, fileselector) +// Basic suite END + // TODO: Fileselector controls all share a lot of commonality, so an // TODO: aggressive refactor with cpp macros could be leveraged. diff --git a/src/efl/test_fileselector_button.cpp b/src/efl/test_fileselector_button.cpp index c388b8d..bc28c7f 100644 --- a/src/efl/test_fileselector_button.cpp +++ b/src/efl/test_fileselector_button.cpp @@ -6,9 +6,16 @@ #include "window.h" #include "evasobject.h" #include "elmtestharness.h" +#include "templates.h" using std::vector; +// Basic suite START +EFL_RESIZE_TEST(FileselectorButton, fileselector_button, 300, 200, 200, 100) +EFL_POSITION_TEST(FileselectorButton, fileselector_button, 100, 50, 150, 100) +EFL_VISIBILITY_TEST(FileselectorButton, fileselector_button) +// Basic suite END + class FileselectorButtonExpandableTest : public ElmTestHarness { public: diff --git a/src/efl/test_fileselector_entry.cpp b/src/efl/test_fileselector_entry.cpp index 26d8df2..eacc642 100644 --- a/src/efl/test_fileselector_entry.cpp +++ b/src/efl/test_fileselector_entry.cpp @@ -6,9 +6,16 @@ #include "window.h" #include "evasobject.h" #include "elmtestharness.h" +#include "templates.h" using std::vector; +// Basic suite START +EFL_RESIZE_TEST(FileselectorEntry, fileselector_entry, 300, 200, 200, 100) +EFL_POSITION_TEST(FileselectorEntry, fileselector_entry, 100, 50, 150, 100) +EFL_VISIBILITY_TEST(FileselectorEntry, fileselector_entry) +// Basic suite END + // TODO: FileselectorEntry and FileselectorButton share a lot of commonality // TODO: so an aggressive refactor with cpp macros could be leveraged. -- 2.7.4