summaryrefslogtreecommitdiff
path: root/src/tests/edje/data
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-04-25 16:20:57 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-04-26 14:09:36 +0900
commitf19da66843552cccc8479cb3bee7d42264f598ce (patch)
treeb1e9ed50329ae769bda38cccd988f0449c766c09 /src/tests/edje/data
parent12146ddea63a47ff0cdacc47e4f02a13221eb84b (diff)
Edje: Add test case for edje table
This tests the EO and Legacy APIs
Diffstat (limited to 'src/tests/edje/data')
-rw-r--r--src/tests/edje/data/test_table.edc116
1 files changed, 116 insertions, 0 deletions
diff --git a/src/tests/edje/data/test_table.edc b/src/tests/edje/data/test_table.edc
index e69de29bb2..6ba175c316 100644
--- a/src/tests/edje/data/test_table.edc
+++ b/src/tests/edje/data/test_table.edc
@@ -0,0 +1,116 @@
1collections {
2 group { "item1";
3 parts {
4 text { "text";
5 desc {
6 text {
7 font: "Sans";
8 size: 42;
9 text: "0,0";
10 ellipsis: -1;
11 }
12 min: 1 1;
13 }
14 }
15 }
16 }
17 group { "item2";
18 parts {
19 text { "text";
20 desc {
21 text {
22 font: "Sans";
23 size: 42;
24 text: "1,0";
25 ellipsis: -1;
26 }
27 min: 1 1;
28 }
29 }
30 }
31 }
32 group { "item3";
33 parts {
34 text { "text";
35 desc {
36 text {
37 font: "Sans";
38 size: 42;
39 text: "0,1";
40 ellipsis: -1;
41 }
42 min: 1 1;
43 }
44 }
45 }
46 }
47 group { "item4";
48 parts {
49 text { "text";
50 desc {
51 text {
52 font: "Sans";
53 size: 42;
54 text: "1,1";
55 ellipsis: -1;
56 }
57 min: 1 1;
58 }
59 }
60 }
61 }
62 group { "test_group";
63 parts {
64 rect { "rect";
65 desc {
66 rel.to: "table";
67 color: 12 32 64 128;
68 }
69 }
70 table { "table";
71 desc {
72 table {
73 homogeneous: TABLE;
74 padding: 10 10;
75 }
76 }
77 table {
78 items {
79 item {
80 type: GROUP;
81 source: "item1";
82 position: 0 0;
83 span: 1 1;
84 weight: 1 1;
85 align: -1 -1;
86 }
87 item {
88 type: GROUP;
89 source: "item2";
90 position: 1 0;
91 span: 1 1;
92 weight: 1 1;
93 align: -1 -1;
94 }
95 item {
96 type: GROUP;
97 source: "item3";
98 position: 0 1;
99 span: 1 1;
100 weight: 1 1;
101 align: -1 -1;
102 }
103 item {
104 type: GROUP;
105 source: "item4";
106 position: 1 1;
107 span: 1 1;
108 weight: 1 1;
109 align: -1 -1;
110 }
111 }
112 }
113 }
114 }
115 }
116} \ No newline at end of file