[gegl/meta-json: 18/18] meta-json: Enable test composition
- From: Jon Nordby <jonnor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl/meta-json: 18/18] meta-json: Enable test composition
- Date: Tue, 20 Jan 2015 02:00:14 +0000 (UTC)
commit aed686554b6bf2e4469e249ba74e3d4a5900c4af
Author: Jon Nordby <jononor gmail com>
Date: Tue Jan 20 02:48:10 2015 +0100
meta-json: Enable test composition
operations/json/grey2.fbp | 4 +---
operations/json/grey2.json | 10 +---------
tests/compositions/Makefile.am | 1 +
tests/compositions/reference/grey-json.png | Bin 0 -> 44747 bytes
4 files changed, 3 insertions(+), 12 deletions(-)
---
diff --git a/operations/json/grey2.fbp b/operations/json/grey2.fbp
index 9e0596b..f5ba384 100644
--- a/operations/json/grey2.fbp
+++ b/operations/json/grey2.fbp
@@ -1,8 +1,6 @@
INPORT=in.INPUT:INPUT
OUTPORT=out.OUTPUT:OUTPUT
-INPORT=g.SAMPLES:SAMPLES
-INPORT=g.ITERATIONS:ITERATIONS
INPORT=tr.HEIGHT:HEIGHT
INPORT=tr.WIDTH:WIDTH
-in(gegl/nop) OUTPUT -> INPUT g(gegl/c2g) OUTPUT -> INPUT tr(gegl/crop) OUTPUT -> INPUT out(gegl/nop)
+in(gegl/nop) OUTPUT -> INPUT g(gegl/gray) OUTPUT -> INPUT tr(gegl/crop) OUTPUT -> INPUT out(gegl/nop)
diff --git a/operations/json/grey2.json b/operations/json/grey2.json
index b113208..8b675b2 100644
--- a/operations/json/grey2.json
+++ b/operations/json/grey2.json
@@ -7,7 +7,7 @@
"component": "gegl/nop"
},
"g": {
- "component": "gegl/c2g"
+ "component": "gegl/gray"
},
"tr": {
"component": "gegl/crop"
@@ -53,14 +53,6 @@
"process": "in",
"port": "input"
},
- "samples": {
- "process": "g",
- "port": "samples"
- },
- "iterations": {
- "process": "g",
- "port": "iterations"
- },
"height": {
"process": "tr",
"port": "height"
diff --git a/tests/compositions/Makefile.am b/tests/compositions/Makefile.am
index cfd84f5..40804a4 100644
--- a/tests/compositions/Makefile.am
+++ b/tests/compositions/Makefile.am
@@ -58,6 +58,7 @@ TESTS = \
supernova.xml \
transform.xml \
video-degradation.xml \
+ grey-json.xml \
weighted-blend.xml \
rectangles.xml
diff --git a/tests/compositions/reference/grey-json.png b/tests/compositions/reference/grey-json.png
new file mode 100644
index 0000000..2f5287e
Binary files /dev/null and b/tests/compositions/reference/grey-json.png differ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]