aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorJaeun Choi <jaeun12.choi@samsung.com>2019-01-23 20:10:55 +0900
committerJaeun Choi <jaeun12.choi@samsung.com>2019-01-25 14:32:26 +0900
commit0b79064f4c5c383bf75833c7f3b64cd9a2d37af9 (patch)
tree32a8b1aaf03a18062fc6c02228801ac7d1bb8f38 /data
parentefl_ui_pager: remove unnecessary lines (diff)
downloadefl-0b79064f4c5c383bf75833c7f3b64cd9a2d37af9.tar.gz
efl_ui_pager: add tests for efl_ui_pager
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am6
-rw-r--r--data/elementary/objects/Makefile.am1
-rw-r--r--data/elementary/objects/meson.build1
-rw-r--r--data/elementary/objects/test_pager.edc96
4 files changed, 104 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index a326711dc0..b1ba8de91a 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -225,6 +225,7 @@ elementary/objects/cursors.edj \
elementary/objects/font_preview.edj \
elementary/objects/postit_ent.edj \
elementary/objects/multibuttonentry.edj \
+elementary/objects/test_pager.edj \
elementary/objects/test_prefs.edj \
elementary/objects/test_prefs.epb \
elementary/objects/test_focus_style.edj \
@@ -276,6 +277,11 @@ elementary/objects/multibuttonentry.edj: elementary/objects/multibuttonentry.edc
$(MKDIR_P) elementary/objects/; \
$(EDJE_CC) $(EDJE_CC_FLAGS) $< $@
+elementary/objects/test_pager.edj: elementary/objects/test_pager.edc
+ $(AM_V_EDJ) \
+ $(MKDIR_P) elementary/objects/; \
+ $(EDJE_CC) $(EDJE_CC_FLAGS) $< $@
+
elementary/objects/test_prefs.edj: elementary/objects/test_prefs.edc
$(AM_V_EDJ) \
$(MKDIR_P) elementary/objects/; \
diff --git a/data/elementary/objects/Makefile.am b/data/elementary/objects/Makefile.am
index ac8391f79a..c1325b8865 100644
--- a/data/elementary/objects/Makefile.am
+++ b/data/elementary/objects/Makefile.am
@@ -4,6 +4,7 @@ EXTRA_DIST += \
elementary/objects/test.edc \
elementary/objects/test_external.edc \
elementary/objects/test_masking.edc \
+elementary/objects/test_pager.edc \
elementary/objects/test_prefs.edc \
elementary/objects/test_prefs.epc \
elementary/objects/test_tab_pager.edc \
diff --git a/data/elementary/objects/meson.build b/data/elementary/objects/meson.build
index 18352eb409..6d9ead2463 100644
--- a/data/elementary/objects/meson.build
+++ b/data/elementary/objects/meson.build
@@ -5,6 +5,7 @@ edc_files = [
'test_masking.edc',
'test_tab_pager.edc',
'test_tooltip.edc',
+ 'test_pager.edc',
'test_prefs.edc',
'cursors.edc',
'font_preview.edc',
diff --git a/data/elementary/objects/test_pager.edc b/data/elementary/objects/test_pager.edc
new file mode 100644
index 0000000000..44f31c6648
--- /dev/null
+++ b/data/elementary/objects/test_pager.edc
@@ -0,0 +1,96 @@
+collections {
+ group {
+ name: "pager";
+ parts {
+ rect { "bg";
+ desc { "default";
+ color: 0 0 0 0;
+ }
+ }
+ swallow { "pager";
+ desc { "default";
+ }
+ }
+ swallow { "prev_btn";
+ desc { "default";
+ rel1.relative: 0.0 0.5;
+ rel1.offset: 10 0;
+ rel2.relative: 0.0 0.5;
+ rel2.offset: 10 0;
+ align: 0.0 0.5;
+ min: 30 30;
+ }
+ }
+ swallow { "next_btn";
+ desc { "default";
+ rel1.relative: 1.0 0.5;
+ rel1.offset: -10 0;
+ rel2.relative: 1.0 0.5;
+ rel2.offset: -10 0;
+ align: 1.0 0.5;
+ min: 30 30;
+ }
+ }
+ }
+ }
+ group {
+ name: "page";
+ parts {
+ rect { "bg";
+ desc { "default";
+ }
+ }
+ text { "tl";
+ desc { "default";
+ rel1.relative: 0 0;
+ rel2.relative: 0 0;
+ align: 0 0;
+ color: 0 0 0 255;
+ text { size: 10;
+ min: 1 1;
+ }
+ }
+ }
+ text { "tr";
+ desc { "default";
+ rel1.relative: 1 0;
+ rel2.relative: 1 0;
+ align: 1 0;
+ color: 0 0 0 255;
+ text { size: 10;
+ min: 1 1;
+ }
+ }
+ }
+ text { "bl";
+ desc { "default";
+ rel1.relative: 0 1;
+ rel2.relative: 0 1;
+ align: 0 1;
+ color: 0 0 0 255;
+ text { size: 10;
+ min: 1 1;
+ }
+ }
+ }
+ text { "br";
+ desc { "default";
+ rel1.relative: 1 1;
+ rel2.relative: 1 1;
+ align: 1 1;
+ color: 0 0 0 255;
+ text { size: 10;
+ min: 1 1;
+ }
+ }
+ }
+ text { "text";
+ desc { "default";
+ color: 0 0 0 255;
+ text { size: 20;
+ }
+ }
+ }
+ }
+ }
+}