about summary refs log tree commit diff
path: root/test-data
diff options
context:
space:
mode:
Diffstat (limited to 'test-data')
-rw-r--r--test-data/empty.yaml1
-rw-r--r--test-data/foo0
-rw-r--r--test-data/input-file-with-location-only.yaml3
-rw-r--r--test-data/input-file-with-path-only.yaml3
-rw-r--r--test-data/inputs-with-type-ambiguities.yaml5
-rw-r--r--test-data/workflow-for-inputs-with-type-ambiguities.cwl11
-rw-r--r--test-data/workflow-with-a-file-input.cwl4
-rw-r--r--test-data/workflow-with-default-inputs.cwl23
-rw-r--r--test-data/workflow-with-various-file-type-formals.cwl39
9 files changed, 89 insertions, 0 deletions
diff --git a/test-data/empty.yaml b/test-data/empty.yaml
new file mode 100644
index 0000000..0967ef4
--- /dev/null
+++ b/test-data/empty.yaml
@@ -0,0 +1 @@
+{}
diff --git a/test-data/foo b/test-data/foo
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/test-data/foo
diff --git a/test-data/input-file-with-location-only.yaml b/test-data/input-file-with-location-only.yaml
new file mode 100644
index 0000000..dccb850
--- /dev/null
+++ b/test-data/input-file-with-location-only.yaml
@@ -0,0 +1,3 @@
+foo:
+  class: File
+  location: foo
diff --git a/test-data/input-file-with-path-only.yaml b/test-data/input-file-with-path-only.yaml
new file mode 100644
index 0000000..04fdfcd
--- /dev/null
+++ b/test-data/input-file-with-path-only.yaml
@@ -0,0 +1,3 @@
+foo:
+  class: File
+  path: foo
diff --git a/test-data/inputs-with-type-ambiguities.yaml b/test-data/inputs-with-type-ambiguities.yaml
new file mode 100644
index 0000000..119b72f
--- /dev/null
+++ b/test-data/inputs-with-type-ambiguities.yaml
@@ -0,0 +1,5 @@
+number: 13
+flag: true
+reverseflag: false
+foo: bar
+arr: [1, 2, 3]
diff --git a/test-data/workflow-for-inputs-with-type-ambiguities.cwl b/test-data/workflow-for-inputs-with-type-ambiguities.cwl
new file mode 100644
index 0000000..4e33148
--- /dev/null
+++ b/test-data/workflow-for-inputs-with-type-ambiguities.cwl
@@ -0,0 +1,11 @@
+class: Workflow
+inputs:
+  number: int
+  flag: boolean
+  reverseflag: boolean
+  foo: string
+  arr:
+    type:
+      type: array
+      items: int
+outputs: []
diff --git a/test-data/workflow-with-a-file-input.cwl b/test-data/workflow-with-a-file-input.cwl
new file mode 100644
index 0000000..ba3ab95
--- /dev/null
+++ b/test-data/workflow-with-a-file-input.cwl
@@ -0,0 +1,4 @@
+class: Workflow
+inputs:
+  foo: File
+outputs: []
diff --git a/test-data/workflow-with-default-inputs.cwl b/test-data/workflow-with-default-inputs.cwl
new file mode 100644
index 0000000..abc8817
--- /dev/null
+++ b/test-data/workflow-with-default-inputs.cwl
@@ -0,0 +1,23 @@
+class: Workflow
+inputs:
+  number:
+    type: int
+    default: 13
+  flag:
+    type: boolean
+    default: true
+  reverseflag:
+    type: boolean
+    default: false
+  foo:
+    type: string
+    default: bar
+  arr:
+    type:
+      type: array
+      items: int
+    default:
+      - 1
+      - 2
+      - 3
+outputs: []
diff --git a/test-data/workflow-with-various-file-type-formals.cwl b/test-data/workflow-with-various-file-type-formals.cwl
new file mode 100644
index 0000000..762bf9f
--- /dev/null
+++ b/test-data/workflow-with-various-file-type-formals.cwl
@@ -0,0 +1,39 @@
+class: Workflow
+inputs:
+  infoo:
+    type: File
+    secondaryFiles:
+      - .bai
+  inbar:
+    type:
+      type: array
+      items: File
+    secondaryFiles:
+      - .bai
+  infoobar:
+    type:
+      type: array
+      items:
+        type: array
+        items: File
+    secondaryFiles:
+      - .bai
+outputs:
+  outfoo:
+    type: File
+    secondaryFiles:
+      - .bai
+  outbar:
+    type:
+      type: array
+      items: File
+    secondaryFiles:
+      - .bai
+  outfoobar:
+    type:
+      type: array
+      items:
+        type: array
+        items: File
+    secondaryFiles:
+      - .bai