diff options
Diffstat (limited to 'www/wiki/tests/phpunit/data/registration')
7 files changed, 27 insertions, 0 deletions
diff --git a/www/wiki/tests/phpunit/data/registration/bad_spdx.json b/www/wiki/tests/phpunit/data/registration/bad_spdx.json new file mode 100644 index 00000000..383ab047 --- /dev/null +++ b/www/wiki/tests/phpunit/data/registration/bad_spdx.json @@ -0,0 +1,6 @@ +{ + "name": "FooBar", + "license-name": "not a license identifier", + "manifest_version": 1 +} + diff --git a/www/wiki/tests/phpunit/data/registration/good.json b/www/wiki/tests/phpunit/data/registration/good.json new file mode 100644 index 00000000..ad16c5e4 --- /dev/null +++ b/www/wiki/tests/phpunit/data/registration/good.json @@ -0,0 +1,4 @@ +{ + "name": "FooBar", + "manifest_version": 1 +} diff --git a/www/wiki/tests/phpunit/data/registration/invalid.json b/www/wiki/tests/phpunit/data/registration/invalid.json new file mode 100644 index 00000000..4d1fa589 --- /dev/null +++ b/www/wiki/tests/phpunit/data/registration/invalid.json @@ -0,0 +1,5 @@ +{ + "name": "FooBar", + "license-name": [ "array" ], + "manifest_version": 1 +} diff --git a/www/wiki/tests/phpunit/data/registration/newer_manifest_version.json b/www/wiki/tests/phpunit/data/registration/newer_manifest_version.json new file mode 100644 index 00000000..29c668ee --- /dev/null +++ b/www/wiki/tests/phpunit/data/registration/newer_manifest_version.json @@ -0,0 +1,4 @@ +{ + "name": "FooBar", + "manifest_version": 999999 +} diff --git a/www/wiki/tests/phpunit/data/registration/no_manifest_version.json b/www/wiki/tests/phpunit/data/registration/no_manifest_version.json new file mode 100644 index 00000000..1a6119f7 --- /dev/null +++ b/www/wiki/tests/phpunit/data/registration/no_manifest_version.json @@ -0,0 +1,3 @@ +{ + "name": "FooBar" +} diff --git a/www/wiki/tests/phpunit/data/registration/notjson.txt b/www/wiki/tests/phpunit/data/registration/notjson.txt new file mode 100644 index 00000000..d47b4607 --- /dev/null +++ b/www/wiki/tests/phpunit/data/registration/notjson.txt @@ -0,0 +1 @@ +This is definitely not JSON. diff --git a/www/wiki/tests/phpunit/data/registration/old_manifest_version.json b/www/wiki/tests/phpunit/data/registration/old_manifest_version.json new file mode 100644 index 00000000..f50faa1b --- /dev/null +++ b/www/wiki/tests/phpunit/data/registration/old_manifest_version.json @@ -0,0 +1,4 @@ +{ + "name": "FooBar", + "manifest_version": -2 +} |