summaryrefslogtreecommitdiff
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
parentee5a59a58d523f95b9a1cb69e66d27f90bcebce2 (diff)
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 a326711..b1ba8de 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -225,6 +225,7 @@ elementary/objects/cursors.edj \
225elementary/objects/font_preview.edj \ 225elementary/objects/font_preview.edj \
226elementary/objects/postit_ent.edj \ 226elementary/objects/postit_ent.edj \
227elementary/objects/multibuttonentry.edj \ 227elementary/objects/multibuttonentry.edj \
228elementary/objects/test_pager.edj \
228elementary/objects/test_prefs.edj \ 229elementary/objects/test_prefs.edj \
229elementary/objects/test_prefs.epb \ 230elementary/objects/test_prefs.epb \
230elementary/objects/test_focus_style.edj \ 231elementary/objects/test_focus_style.edj \
@@ -276,6 +277,11 @@ elementary/objects/multibuttonentry.edj: elementary/objects/multibuttonentry.edc
276 $(MKDIR_P) elementary/objects/; \ 277 $(MKDIR_P) elementary/objects/; \
277 $(EDJE_CC) $(EDJE_CC_FLAGS) $< $@ 278 $(EDJE_CC) $(EDJE_CC_FLAGS) $< $@
278 279
280elementary/objects/test_pager.edj: elementary/objects/test_pager.edc
281 $(AM_V_EDJ) \
282 $(MKDIR_P) elementary/objects/; \
283 $(EDJE_CC) $(EDJE_CC_FLAGS) $< $@
284
279elementary/objects/test_prefs.edj: elementary/objects/test_prefs.edc 285elementary/objects/test_prefs.edj: elementary/objects/test_prefs.edc
280 $(AM_V_EDJ) \ 286 $(AM_V_EDJ) \
281 $(MKDIR_P) elementary/objects/; \ 287 $(MKDIR_P) elementary/objects/; \
diff --git a/data/elementary/objects/Makefile.am b/data/elementary/objects/Makefile.am
index ac8391f..c1325b8 100644
--- a/data/elementary/objects/Makefile.am
+++ b/data/elementary/objects/Makefile.am
@@ -4,6 +4,7 @@ EXTRA_DIST += \
4elementary/objects/test.edc \ 4elementary/objects/test.edc \
5elementary/objects/test_external.edc \ 5elementary/objects/test_external.edc \
6elementary/objects/test_masking.edc \ 6elementary/objects/test_masking.edc \
7elementary/objects/test_pager.edc \
7elementary/objects/test_prefs.edc \ 8elementary/objects/test_prefs.edc \
8elementary/objects/test_prefs.epc \ 9elementary/objects/test_prefs.epc \
9elementary/objects/test_tab_pager.edc \ 10elementary/objects/test_tab_pager.edc \
diff --git a/data/elementary/objects/meson.build b/data/elementary/objects/meson.build
index 18352eb..6d9ead2 100644
--- a/data/elementary/objects/meson.build
+++ b/data/elementary/objects/meson.build
@@ -5,6 +5,7 @@ edc_files = [
5 'test_masking.edc', 5 'test_masking.edc',
6 'test_tab_pager.edc', 6 'test_tab_pager.edc',
7 'test_tooltip.edc', 7 'test_tooltip.edc',
8 'test_pager.edc',
8 'test_prefs.edc', 9 'test_prefs.edc',
9 'cursors.edc', 10 'cursors.edc',
10 'font_preview.edc', 11 'font_preview.edc',
diff --git a/data/elementary/objects/test_pager.edc b/data/elementary/objects/test_pager.edc
new file mode 100644
index 0000000..44f31c6
--- /dev/null
+++ b/data/elementary/objects/test_pager.edc
@@ -0,0 +1,96 @@
1collections {
2 group {
3 name: "pager";
4 parts {
5 rect { "bg";
6 desc { "default";
7 color: 0 0 0 0;
8 }
9 }
10 swallow { "pager";
11 desc { "default";
12 }
13 }
14 swallow { "prev_btn";
15 desc { "default";
16 rel1.relative: 0.0 0.5;
17 rel1.offset: 10 0;
18 rel2.relative: 0.0 0.5;
19 rel2.offset: 10 0;
20 align: 0.0 0.5;
21 min: 30 30;
22 }
23 }
24 swallow { "next_btn";
25 desc { "default";
26 rel1.relative: 1.0 0.5;
27 rel1.offset: -10 0;
28 rel2.relative: 1.0 0.5;
29 rel2.offset: -10 0;
30 align: 1.0 0.5;
31 min: 30 30;
32 }
33 }
34 }
35 }
36 group {
37 name: "page";
38 parts {
39 rect { "bg";
40 desc { "default";
41 }
42 }
43 text { "tl";
44 desc { "default";
45 rel1.relative: 0 0;
46 rel2.relative: 0 0;
47 align: 0 0;
48 color: 0 0 0 255;
49 text { size: 10;
50 min: 1 1;
51 }
52 }
53 }
54 text { "tr";
55 desc { "default";
56 rel1.relative: 1 0;
57 rel2.relative: 1 0;
58 align: 1 0;
59 color: 0 0 0 255;
60 text { size: 10;
61 min: 1 1;
62 }
63 }
64 }
65 text { "bl";
66 desc { "default";
67 rel1.relative: 0 1;
68 rel2.relative: 0 1;
69 align: 0 1;
70 color: 0 0 0 255;
71 text { size: 10;
72 min: 1 1;
73 }
74 }
75 }
76 text { "br";
77 desc { "default";
78 rel1.relative: 1 1;
79 rel2.relative: 1 1;
80 align: 1 1;
81 color: 0 0 0 255;
82 text { size: 10;
83 min: 1 1;
84 }
85 }
86 }
87 text { "text";
88 desc { "default";
89 color: 0 0 0 255;
90 text { size: 20;
91 }
92 }
93 }
94 }
95 }
96}