[gegl/meta-json] TEMP: add a trivial testcase



commit 7fc7457bb4a8f02127a849a942a8238e14ee59f3
Author: Jon Nordby <jononor gmail com>
Date:   Sun Dec 28 22:53:02 2014 +0100

    TEMP: add a trivial testcase

 operations/json/grey2.fbp  |    4 +++
 operations/json/grey2.json |   47 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+), 0 deletions(-)
---
diff --git a/operations/json/grey2.fbp b/operations/json/grey2.fbp
new file mode 100644
index 0000000..ce52618
--- /dev/null
+++ b/operations/json/grey2.fbp
@@ -0,0 +1,4 @@
+INPORT=in.INPUT:INPUT
+OUTPORT=out.OUTPUT:OUTPUT
+
+in(gegl/nop) OUTPUT -> INPUT g(gegl/grey) OUTPUT -> INPUT out(gegl/nop)
diff --git a/operations/json/grey2.json b/operations/json/grey2.json
new file mode 100644
index 0000000..89eb789
--- /dev/null
+++ b/operations/json/grey2.json
@@ -0,0 +1,47 @@
+{
+  "processes": {
+    "in": {
+      "component": "gegl/nop"
+    },
+    "g": {
+      "component": "gegl/grey"
+    },
+    "out": {
+      "component": "gegl/nop"
+    }
+  },
+  "connections": [
+    {
+      "src": {
+        "process": "in",
+        "port": "output"
+      },
+      "tgt": {
+        "process": "g",
+        "port": "input"
+      }
+    },
+    {
+      "src": {
+        "process": "g",
+        "port": "output"
+      },
+      "tgt": {
+        "process": "out",
+        "port": "input"
+      }
+    }
+  ],
+  "inports": {
+    "input": {
+      "process": "in",
+      "port": "input"
+    }
+  },
+  "outports": {
+    "output": {
+      "process": "out",
+      "port": "output"
+    }
+  }
+}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]