diff --git a/tests/v1.0/fail/action-remove-invalid-type.yaml b/tests/v1.0/fail/action-remove-invalid-type.yaml new file mode 100644 index 0000000..7972cf6 --- /dev/null +++ b/tests/v1.0/fail/action-remove-invalid-type.yaml @@ -0,0 +1,7 @@ +overlay: 1.0.0 +info: + title: Action remove must be a boolean + version: 1.0.0 +actions: + - target: '$' + remove: maybe \ No newline at end of file diff --git a/tests/v1.0/fail/action-target-invalid-type.yaml b/tests/v1.0/fail/action-target-invalid-type.yaml new file mode 100644 index 0000000..0da31e5 --- /dev/null +++ b/tests/v1.0/fail/action-target-invalid-type.yaml @@ -0,0 +1,6 @@ +overlay: 1.0.0 +info: + title: Action target must be a string + version: 1.0.0 +actions: + - target: 100 \ No newline at end of file diff --git a/tests/v1.0/fail/actions-invalid-type.yaml b/tests/v1.0/fail/actions-invalid-type.yaml new file mode 100644 index 0000000..3c476b4 --- /dev/null +++ b/tests/v1.0/fail/actions-invalid-type.yaml @@ -0,0 +1,5 @@ +overlay: 1.0.0 +info: + title: Actions must be an array + version: 1.0.0 +actions: {} \ No newline at end of file diff --git a/tests/v1.0/fail/info-invalid-type.yaml b/tests/v1.0/fail/info-invalid-type.yaml new file mode 100644 index 0000000..5acf19a --- /dev/null +++ b/tests/v1.0/fail/info-invalid-type.yaml @@ -0,0 +1,4 @@ +overlay: 1.0.0 +info: invalid +actions: + - target: '$' \ No newline at end of file diff --git a/tests/v1.0/fail/info-title-invalid-type.yaml b/tests/v1.0/fail/info-title-invalid-type.yaml new file mode 100644 index 0000000..c7eae3b --- /dev/null +++ b/tests/v1.0/fail/info-title-invalid-type.yaml @@ -0,0 +1,6 @@ +overlay: 1.0.0 +info: + title: 100 + version: 1.0.0 +actions: + - target: '$' \ No newline at end of file diff --git a/tests/v1.0/fail/info-version-invalid-type.yaml b/tests/v1.0/fail/info-version-invalid-type.yaml new file mode 100644 index 0000000..adf0bc8 --- /dev/null +++ b/tests/v1.0/fail/info-version-invalid-type.yaml @@ -0,0 +1,6 @@ +overlay: 1.0.0 +info: + title: Invalid info version type + version: false +actions: + - target: '$' \ No newline at end of file diff --git a/tests/v1.0/fail/overlay-invalid-pattern.yaml b/tests/v1.0/fail/overlay-invalid-pattern.yaml new file mode 100644 index 0000000..2c6f4cc --- /dev/null +++ b/tests/v1.0/fail/overlay-invalid-pattern.yaml @@ -0,0 +1,6 @@ +overlay: '1.0' +info: + title: Overlay version must match 1.0.x + version: 1.0.0 +actions: + - target: '$' \ No newline at end of file diff --git a/tests/v1.0/fail/root-invalid-property.yaml b/tests/v1.0/fail/root-invalid-property.yaml new file mode 100644 index 0000000..5ff6a15 --- /dev/null +++ b/tests/v1.0/fail/root-invalid-property.yaml @@ -0,0 +1,7 @@ +overlay: 1.0.0 +info: + title: Root invalid property + version: 1.0.0 +actions: + - target: '$' +invalidProperty: true \ No newline at end of file diff --git a/tests/v1.1/fail/action-copy-invalid-type.yaml b/tests/v1.1/fail/action-copy-invalid-type.yaml new file mode 100644 index 0000000..9bdd807 --- /dev/null +++ b/tests/v1.1/fail/action-copy-invalid-type.yaml @@ -0,0 +1,7 @@ +overlay: 1.1.0 +info: + title: Action copy must be a string + version: 1.0.0 +actions: + - target: '$' + copy: 100 \ No newline at end of file diff --git a/tests/v1.1/fail/action-remove-invalid-type.yaml b/tests/v1.1/fail/action-remove-invalid-type.yaml new file mode 100644 index 0000000..7ea38de --- /dev/null +++ b/tests/v1.1/fail/action-remove-invalid-type.yaml @@ -0,0 +1,7 @@ +overlay: 1.1.0 +info: + title: Action remove must be a boolean + version: 1.0.0 +actions: + - target: '$' + remove: maybe \ No newline at end of file diff --git a/tests/v1.1/fail/action-target-invalid-type.yaml b/tests/v1.1/fail/action-target-invalid-type.yaml new file mode 100644 index 0000000..baed0b8 --- /dev/null +++ b/tests/v1.1/fail/action-target-invalid-type.yaml @@ -0,0 +1,6 @@ +overlay: 1.1.0 +info: + title: Action target must be a string + version: 1.0.0 +actions: + - target: 100 \ No newline at end of file diff --git a/tests/v1.1/fail/actions-invalid-type.yaml b/tests/v1.1/fail/actions-invalid-type.yaml new file mode 100644 index 0000000..e32590d --- /dev/null +++ b/tests/v1.1/fail/actions-invalid-type.yaml @@ -0,0 +1,5 @@ +overlay: 1.1.0 +info: + title: Actions must be an array + version: 1.0.0 +actions: {} \ No newline at end of file diff --git a/tests/v1.1/fail/info-description-invalid-type.yaml b/tests/v1.1/fail/info-description-invalid-type.yaml new file mode 100644 index 0000000..65a180d --- /dev/null +++ b/tests/v1.1/fail/info-description-invalid-type.yaml @@ -0,0 +1,7 @@ +overlay: 1.1.0 +info: + title: Invalid info description type + version: 1.0.0 + description: 100 +actions: + - target: '$' \ No newline at end of file diff --git a/tests/v1.1/fail/info-invalid-type.yaml b/tests/v1.1/fail/info-invalid-type.yaml new file mode 100644 index 0000000..2e33ea9 --- /dev/null +++ b/tests/v1.1/fail/info-invalid-type.yaml @@ -0,0 +1,4 @@ +overlay: 1.1.0 +info: invalid +actions: + - target: '$' \ No newline at end of file diff --git a/tests/v1.1/fail/info-title-invalid-type.yaml b/tests/v1.1/fail/info-title-invalid-type.yaml new file mode 100644 index 0000000..2d130ef --- /dev/null +++ b/tests/v1.1/fail/info-title-invalid-type.yaml @@ -0,0 +1,6 @@ +overlay: 1.1.0 +info: + title: 100 + version: 1.0.0 +actions: + - target: '$' \ No newline at end of file diff --git a/tests/v1.1/fail/info-version-invalid-type.yaml b/tests/v1.1/fail/info-version-invalid-type.yaml new file mode 100644 index 0000000..1073805 --- /dev/null +++ b/tests/v1.1/fail/info-version-invalid-type.yaml @@ -0,0 +1,6 @@ +overlay: 1.1.0 +info: + title: Invalid info version type + version: false +actions: + - target: '$' \ No newline at end of file diff --git a/tests/v1.1/fail/overlay-invalid-pattern.yaml b/tests/v1.1/fail/overlay-invalid-pattern.yaml new file mode 100644 index 0000000..063a86b --- /dev/null +++ b/tests/v1.1/fail/overlay-invalid-pattern.yaml @@ -0,0 +1,6 @@ +overlay: '1.1' +info: + title: Overlay version must match 1.1.x + version: 1.0.0 +actions: + - target: '$' \ No newline at end of file diff --git a/tests/v1.1/fail/root-invalid-property.yaml b/tests/v1.1/fail/root-invalid-property.yaml new file mode 100644 index 0000000..2d85c0a --- /dev/null +++ b/tests/v1.1/fail/root-invalid-property.yaml @@ -0,0 +1,7 @@ +overlay: 1.1.0 +info: + title: Root invalid property + version: 1.0.0 +actions: + - target: '$' +invalidProperty: true \ No newline at end of file diff --git a/tests/v1.2-dev/fail/action-copy-invalid-type.yaml b/tests/v1.2-dev/fail/action-copy-invalid-type.yaml new file mode 100644 index 0000000..f1682bf --- /dev/null +++ b/tests/v1.2-dev/fail/action-copy-invalid-type.yaml @@ -0,0 +1,7 @@ +overlay: 1.2.0 +info: + title: Action copy must be a string + version: 1.0.0 +actions: + - target: '$' + copy: 100 \ No newline at end of file diff --git a/tests/v1.2-dev/fail/action-remove-invalid-type.yaml b/tests/v1.2-dev/fail/action-remove-invalid-type.yaml new file mode 100644 index 0000000..c783475 --- /dev/null +++ b/tests/v1.2-dev/fail/action-remove-invalid-type.yaml @@ -0,0 +1,7 @@ +overlay: 1.2.0 +info: + title: Action remove must be a boolean + version: 1.0.0 +actions: + - target: '$' + remove: maybe \ No newline at end of file diff --git a/tests/v1.2-dev/fail/actions-invalid-type.yaml b/tests/v1.2-dev/fail/actions-invalid-type.yaml new file mode 100644 index 0000000..8e39270 --- /dev/null +++ b/tests/v1.2-dev/fail/actions-invalid-type.yaml @@ -0,0 +1,5 @@ +overlay: 1.2.0 +info: + title: Actions must be an array + version: 1.0.0 +actions: {} \ No newline at end of file diff --git a/tests/v1.2-dev/fail/info-description-invalid-type.yaml b/tests/v1.2-dev/fail/info-description-invalid-type.yaml new file mode 100644 index 0000000..d3aae07 --- /dev/null +++ b/tests/v1.2-dev/fail/info-description-invalid-type.yaml @@ -0,0 +1,7 @@ +overlay: 1.2.0 +info: + title: Invalid info description type + version: 1.0.0 + description: 100 +actions: + - target: '$' \ No newline at end of file diff --git a/tests/v1.2-dev/fail/info-invalid-property.yaml b/tests/v1.2-dev/fail/info-invalid-property.yaml new file mode 100644 index 0000000..ebcd100 --- /dev/null +++ b/tests/v1.2-dev/fail/info-invalid-property.yaml @@ -0,0 +1,7 @@ +overlay: 1.2.0 +info: + title: Info invalid property + version: 1.0.0 + invalidProperty: true +actions: + - target: '$' \ No newline at end of file diff --git a/tests/v1.2-dev/fail/info-invalid-type.yaml b/tests/v1.2-dev/fail/info-invalid-type.yaml new file mode 100644 index 0000000..32d1ab9 --- /dev/null +++ b/tests/v1.2-dev/fail/info-invalid-type.yaml @@ -0,0 +1,4 @@ +overlay: 1.2.0 +info: invalid +actions: + - target: '$' \ No newline at end of file diff --git a/tests/v1.2-dev/fail/info-title-invalid-type.yaml b/tests/v1.2-dev/fail/info-title-invalid-type.yaml new file mode 100644 index 0000000..e52b3c1 --- /dev/null +++ b/tests/v1.2-dev/fail/info-title-invalid-type.yaml @@ -0,0 +1,6 @@ +overlay: 1.2.0 +info: + title: 100 + version: 1.0.0 +actions: + - target: '$' \ No newline at end of file diff --git a/tests/v1.2-dev/fail/info-version-invalid-type.yaml b/tests/v1.2-dev/fail/info-version-invalid-type.yaml new file mode 100644 index 0000000..af2f7be --- /dev/null +++ b/tests/v1.2-dev/fail/info-version-invalid-type.yaml @@ -0,0 +1,6 @@ +overlay: 1.2.0 +info: + title: Invalid info version type + version: false +actions: + - target: '$' \ No newline at end of file diff --git a/tests/v1.2-dev/fail/root-invalid-property.yaml b/tests/v1.2-dev/fail/root-invalid-property.yaml new file mode 100644 index 0000000..f1d841a --- /dev/null +++ b/tests/v1.2-dev/fail/root-invalid-property.yaml @@ -0,0 +1,7 @@ +overlay: 1.2.0 +info: + title: Root invalid property + version: 1.0.0 +actions: + - target: '$' +invalidProperty: true \ No newline at end of file