EFL: basic tests for fileselectors
authorJoe Konno <joe.konno@intel.com>
Fri, 20 Jul 2012 17:55:50 +0000 (10:55 -0700)
committerJoe Konno <joe.konno@intel.com>
Fri, 20 Jul 2012 17:55:50 +0000 (10:55 -0700)
Signed-off-by: Joe Konno <joe.konno@intel.com>
src/efl/test_fileselector.cpp
src/efl/test_fileselector_button.cpp
src/efl/test_fileselector_entry.cpp

index f22e045..929351c 100644 (file)
@@ -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.
 
index c388b8d..bc28c7f 100644 (file)
@@ -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:
index 26d8df2..eacc642 100644 (file)
@@ -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.