summaryrefslogtreecommitdiff
path: root/src/tests/edje/data/test_filters.edc
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2015-06-30 19:26:20 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2015-07-01 20:46:34 +0900
commit6ca02cbfe898799c9276fdb52971f7697b16cac9 (patch)
tree3aa51a4c878088bf74c00a128c43493787092318 /src/tests/edje/data/test_filters.edc
parent161822418ab141a442a7d678adbcb0221e76eda9 (diff)
Edje: Embed verbatim scripts for Efl.Gfx.Filters
This is now like the other embedded scripts, where a verbatim string is parsed. The syntax is now: filters { filter { name: "filter0"; file: "filter.lua"; } filter { name: "filter1"; script { blend {} } } filter.file: "file.lua"; // name is "file.lua" } Thanks @raster for the quick review.
Diffstat (limited to '')
-rw-r--r--src/tests/edje/data/test_filters.edc28
1 files changed, 22 insertions, 6 deletions
diff --git a/src/tests/edje/data/test_filters.edc b/src/tests/edje/data/test_filters.edc
index 2c31955dc7..6b3b5e6eea 100644
--- a/src/tests/edje/data/test_filters.edc
+++ b/src/tests/edje/data/test_filters.edc
@@ -8,14 +8,30 @@ color_classes {
8} 8}
9filters { 9filters {
10 // some unused filters 10 // some unused filters
11 filter.file: "filter0" "filter.lua"; 11 filter {
12 filter.inline: "filter1" "blend {}"; 12 name: "filter0";
13 file: "filter.lua";
14 }
15 filter {
16 name: "filter1";
17 script {
18 blend {}
19 }
20 }
13} 21}
14collections { 22collections {
15 filters { 23 filters {
16 // some unused filters 24 // some more unused filters
17 filter.file: "filter2" "filter.lua"; 25 filter {
18 filter.inline: "filter3" "blend {}"; 26 name: "filterfile";
27 file: "filter.lua";
28 }
29 filter {
30 name: "filter3";
31 script {
32 blend {}
33 }
34 }
19 } 35 }
20 images { 36 images {
21 // found in tests/emotion/data 37 // found in tests/emotion/data
@@ -23,7 +39,7 @@ collections {
23 } 39 }
24 group { name: "test_group"; 40 group { name: "test_group";
25 filters { 41 filters {
26 filter.file: "filterfile" "filter.lua"; 42 filter.file: "filter.lua";
27 } 43 }
28 parts { 44 parts {
29 part { name: "background"; 45 part { name: "background";