diff options
Diffstat (limited to 'addon-sdk/source/test/fixtures/loader/json')
6 files changed, 36 insertions, 0 deletions
diff --git a/addon-sdk/source/test/fixtures/loader/json/invalid.json b/addon-sdk/source/test/fixtures/loader/json/invalid.json new file mode 100644 index 000000000..02ea4b0b4 --- /dev/null +++ b/addon-sdk/source/test/fixtures/loader/json/invalid.json @@ -0,0 +1,3 @@ +{ + invalidjson +} diff --git a/addon-sdk/source/test/fixtures/loader/json/manifest.json b/addon-sdk/source/test/fixtures/loader/json/manifest.json new file mode 100644 index 000000000..5ae25bb9d --- /dev/null +++ b/addon-sdk/source/test/fixtures/loader/json/manifest.json @@ -0,0 +1,14 @@ +{ + "name": "Jetpack Loader Test", + "version": "1.0.1", + "dependencies": { + "async": "*", + "underscore": "*" + }, + "contributors": [ + "ash nazg durbatulûk", + "ash nazg gimbatul", + "ash nazg thrakatulûk", + "agh burzum-ishi krimpatul" + ] +} diff --git a/addon-sdk/source/test/fixtures/loader/json/mutation.json b/addon-sdk/source/test/fixtures/loader/json/mutation.json new file mode 100644 index 000000000..e1cbe3c15 --- /dev/null +++ b/addon-sdk/source/test/fixtures/loader/json/mutation.json @@ -0,0 +1 @@ +{ "value": 1 } diff --git a/addon-sdk/source/test/fixtures/loader/json/nodotjson.json.js b/addon-sdk/source/test/fixtures/loader/json/nodotjson.json.js new file mode 100644 index 000000000..af046caa6 --- /dev/null +++ b/addon-sdk/source/test/fixtures/loader/json/nodotjson.json.js @@ -0,0 +1,8 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +module.exports = { + "filename": "nodotjson.json.js", + "data": {} +}; diff --git a/addon-sdk/source/test/fixtures/loader/json/test.json b/addon-sdk/source/test/fixtures/loader/json/test.json new file mode 100644 index 000000000..d19dc7117 --- /dev/null +++ b/addon-sdk/source/test/fixtures/loader/json/test.json @@ -0,0 +1,3 @@ +{ + "filename": "test.json" +} diff --git a/addon-sdk/source/test/fixtures/loader/json/test.json.js b/addon-sdk/source/test/fixtures/loader/json/test.json.js new file mode 100644 index 000000000..b14364bff --- /dev/null +++ b/addon-sdk/source/test/fixtures/loader/json/test.json.js @@ -0,0 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +module.exports = { + "filename": "test.json.js" +}; |