summaryrefslogtreecommitdiff
path: root/src/tests/edje/data
diff options
context:
space:
mode:
authorNak-Gyeong Kim <nakkyong.kim@samsung.com>2015-05-29 18:11:49 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-05-29 18:22:09 +0200
commit7d33ae501b2263ff1450c6351dea181573afe517 (patch)
treecd46ff3b8749c8206e433f68a8847e414db3d4f6 /src/tests/edje/data
parent7056b2f6e4af9c1ef9445472c018655a19a54e71 (diff)
edje: edje_cc_parse should check pair of parens.
Summary: Fix parens bug. ((x + y)-z) is OK. ((x + y) - z) is NOT OK. This patch can cover this case. @fix Signed-off-by: Nak-Gyeong Kim <nakkyong.kim@samsung.com> Test Plan: Test in edc. ((x + y)-z) is OK. ((x + y) - z) is NOT OK. This patch can cover this case. If parens are not paired, it will notify. Reviewers: raster, Hermet, cedric Subscribers: kimcinoo, jaehwan Differential Revision: https://phab.enlightenment.org/D2554 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/tests/edje/data')
-rw-r--r--src/tests/edje/data/test_parens.edc24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/tests/edje/data/test_parens.edc b/src/tests/edje/data/test_parens.edc
new file mode 100644
index 0000000000..7df748ad73
--- /dev/null
+++ b/src/tests/edje/data/test_parens.edc
@@ -0,0 +1,24 @@
1collections {
2 group {
3 name: "test_group";
4
5 parts {
6 part {
7 name: "background";
8 type: RECT;
9 mouse_events: 0;
10
11 description {
12 state: "default" 0.0;
13 min: ((1000 + 100) - 1000) 100;
14
15 rel1 {
16 relative: 0.0 0.0;
17 }
18 rel2 {
19 relative: 1.0 1.0;
20 }
21 }
22 }
23 }
24}