diff options
Diffstat (limited to 'tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files')
37 files changed, 0 insertions, 165 deletions
diff --git a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/five/lib/main.js b/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/five/lib/main.js deleted file mode 100644 index e32a30f..0000000 --- a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/five/lib/main.js +++ /dev/null @@ -1,5 +0,0 @@ -/* 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/. */ - -exports.main = "'main' mainly reigns in main(.js)"; diff --git a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/five/package.json b/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/five/package.json deleted file mode 100644 index 98e4b85..0000000 --- a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/five/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ "name": "five", - "main": "./lib/main" -} diff --git a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/four-deps/four-a/lib/misc.js b/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/four-deps/four-a/lib/misc.js deleted file mode 100644 index 7e1ce7e..0000000 --- a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/four-deps/four-a/lib/misc.js +++ /dev/null @@ -1,5 +0,0 @@ -/* 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/. */ - -exports.main = 42; diff --git a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/four-deps/four-a/package.json b/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/four-deps/four-a/package.json deleted file mode 100644 index 3010fae..0000000 --- a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/four-deps/four-a/package.json +++ /dev/null @@ -1,4 +0,0 @@ -{ "name": "four-a", - "directories": {"lib": "lib"}, - "main": "./topfiles/main.js" -} diff --git a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/four-deps/four-a/topfiles/main.js b/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/four-deps/four-a/topfiles/main.js deleted file mode 100644 index 7e1ce7e..0000000 --- a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/four-deps/four-a/topfiles/main.js +++ /dev/null @@ -1,5 +0,0 @@ -/* 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/. */ - -exports.main = 42; diff --git a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/four/lib/main.js b/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/four/lib/main.js deleted file mode 100644 index b95f7bd..0000000 --- a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/four/lib/main.js +++ /dev/null @@ -1,5 +0,0 @@ -/* 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/. */ - -var a = require("four-a"); diff --git a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/four/package.json b/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/four/package.json deleted file mode 100644 index 53180b9..0000000 --- a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/four/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ "name": "four", - "main": "main" -} diff --git a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/one/lib/main.js b/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/one/lib/main.js deleted file mode 100644 index 7b1f0de..0000000 --- a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/one/lib/main.js +++ /dev/null @@ -1,9 +0,0 @@ -/* 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/. */ - -var panel = require("panel"); -var two = require("two.js"); -var a = require("./two"); -var b = require("addon-kit/tabs.js"); -var c = require("./subdir/three"); diff --git a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/one/lib/subdir/three.js b/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/one/lib/subdir/three.js deleted file mode 100644 index b594f3c..0000000 --- a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/one/lib/subdir/three.js +++ /dev/null @@ -1,6 +0,0 @@ -/* 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/. */ - -exports.foo = 1; -var main = require("../main"); diff --git a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/one/lib/two.js b/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/one/lib/two.js deleted file mode 100644 index 9765219..0000000 --- a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/one/lib/two.js +++ /dev/null @@ -1,8 +0,0 @@ -/* 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/. */ - - -// this ought to find our sibling, not packages/development-mode/lib/main.js -var main = require("main"); -exports.foo = 1; diff --git a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/one/package.json b/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/one/package.json deleted file mode 100644 index edd2b17..0000000 --- a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/one/package.json +++ /dev/null @@ -1,4 +0,0 @@ -{ "name": "one", - "id": "jid1@jetpack", - "main": "main" -} diff --git a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/seven/data/text.data b/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/seven/data/text.data deleted file mode 100644 index 1269488..0000000 --- a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/seven/data/text.data +++ /dev/null @@ -1 +0,0 @@ -data diff --git a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/seven/lib/main.js b/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/seven/lib/main.js deleted file mode 100644 index b860821..0000000 --- a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/seven/lib/main.js +++ /dev/null @@ -1,6 +0,0 @@ -/* 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/. */ - -var self = require("self"); // trigger inclusion of data -exports.main = function () { console.log("main"); }; diff --git a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/seven/lib/unused.js b/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/seven/lib/unused.js deleted file mode 100644 index a7b1c14..0000000 --- a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/seven/lib/unused.js +++ /dev/null @@ -1,5 +0,0 @@ -/* 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/. */ - -exports.unused = "just pretend I'm not here"; diff --git a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/seven/package.json b/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/seven/package.json deleted file mode 100644 index 922c77d..0000000 --- a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/seven/package.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "name": "seven", - "id": "jid7" -} diff --git a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/six/lib/unused.js b/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/six/lib/unused.js deleted file mode 100644 index ada31ef..0000000 --- a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/six/lib/unused.js +++ /dev/null @@ -1,5 +0,0 @@ -/* 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/. */ - -exports.unused = "I am."; diff --git a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/six/package.json b/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/six/package.json deleted file mode 100644 index 906b249..0000000 --- a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/six/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ "name": "six", - "main": "./unreachable" -} diff --git a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/six/unreachable.js b/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/six/unreachable.js deleted file mode 100644 index e8b229c..0000000 --- a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/six/unreachable.js +++ /dev/null @@ -1,5 +0,0 @@ -/* 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/. */ - -exports.main = "I am outside lib/ and cannot be reached, yet"; diff --git a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-a/data/msg.txt b/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-a/data/msg.txt deleted file mode 100644 index 3b18e51..0000000 --- a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-a/data/msg.txt +++ /dev/null @@ -1 +0,0 @@ -hello world diff --git a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-a/data/subdir/submsg.txt b/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-a/data/subdir/submsg.txt deleted file mode 100644 index d2cfe80..0000000 --- a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-a/data/subdir/submsg.txt +++ /dev/null @@ -1 +0,0 @@ -hello subdir diff --git a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-a/lib/main.js b/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-a/lib/main.js deleted file mode 100644 index cee7380..0000000 --- a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-a/lib/main.js +++ /dev/null @@ -1,8 +0,0 @@ -/* 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/. */ - -exports.main = 42; -require("./subdir/subfile"); -require("self"); // trigger inclusion of our data/ directory - diff --git a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-a/lib/subdir/subfile.js b/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-a/lib/subdir/subfile.js deleted file mode 100644 index aec24d0..0000000 --- a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-a/lib/subdir/subfile.js +++ /dev/null @@ -1,5 +0,0 @@ -/* 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/. */ - -exports.main = "I should be included in a subdir"; diff --git a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-a/lib/unused.js b/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-a/lib/unused.js deleted file mode 100644 index 36c4a4e..0000000 --- a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-a/lib/unused.js +++ /dev/null @@ -1,5 +0,0 @@ -/* 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/. */ - -exports.main = "unused, linker should not include me in the XPI"; diff --git a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-a/locale/fr-FR.properties b/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-a/locale/fr-FR.properties deleted file mode 100644 index 980ac46..0000000 --- a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-a/locale/fr-FR.properties +++ /dev/null @@ -1,5 +0,0 @@ -# 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/. - -Yes= Oui diff --git a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-a/package.json b/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-a/package.json deleted file mode 100644 index 6b796fc..0000000 --- a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-a/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ "name": "three-a", - "main": "./lib/main.js" -} diff --git a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-b/lib/main.js b/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-b/lib/main.js deleted file mode 100644 index 7e1ce7e..0000000 --- a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-b/lib/main.js +++ /dev/null @@ -1,5 +0,0 @@ -/* 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/. */ - -exports.main = 42; diff --git a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-b/locale/fr-FR.properties b/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-b/locale/fr-FR.properties deleted file mode 100644 index c1bf146..0000000 --- a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-b/locale/fr-FR.properties +++ /dev/null @@ -1,6 +0,0 @@ -# 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/. - -No= Non -one= un diff --git a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-b/package.json b/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-b/package.json deleted file mode 100644 index c0ff5ee..0000000 --- a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-b/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ "name": "three-b", - "main": "./lib/main" -} diff --git a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-c/lib/main.js b/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-c/lib/main.js deleted file mode 100644 index 7e1ce7e..0000000 --- a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-c/lib/main.js +++ /dev/null @@ -1,5 +0,0 @@ -/* 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/. */ - -exports.main = 42; diff --git a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-c/lib/sub/foo.js b/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-c/lib/sub/foo.js deleted file mode 100644 index 5878496..0000000 --- a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-c/lib/sub/foo.js +++ /dev/null @@ -1,6 +0,0 @@ -/* 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/. */ - -exports.foo = "you found me down here"; - diff --git a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-c/locale/fr-FR.properties b/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-c/locale/fr-FR.properties deleted file mode 100644 index dac3f13..0000000 --- a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-c/locale/fr-FR.properties +++ /dev/null @@ -1,9 +0,0 @@ -# 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/. - -No= Nein -What?= Quoi? -plural=other -plural[one]=one -uft8_value=é diff --git a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-c/package.json b/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-c/package.json deleted file mode 100644 index 169c914..0000000 --- a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three-deps/three-c/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ "name": "three-c", - "main": "lib/main" -} diff --git a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three/lib/main.js b/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three/lib/main.js deleted file mode 100644 index 4f59443..0000000 --- a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three/lib/main.js +++ /dev/null @@ -1,8 +0,0 @@ -/* 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/. */ - -var a = require("three-a"); -var b = require("three-b"); -var c = require("three-c"); -var c3 = require("three-c/sub/foo"); diff --git a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three/package.json b/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three/package.json deleted file mode 100644 index cbfbc5b..0000000 --- a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ "name": "three", - "main": "main" -} diff --git a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three/tests/nontest.js b/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three/tests/nontest.js deleted file mode 100644 index 48630b0..0000000 --- a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three/tests/nontest.js +++ /dev/null @@ -1 +0,0 @@ -// dummy diff --git a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three/tests/test-one.js b/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three/tests/test-one.js deleted file mode 100644 index 48630b0..0000000 --- a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three/tests/test-one.js +++ /dev/null @@ -1 +0,0 @@ -// dummy diff --git a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three/tests/test-two.js b/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three/tests/test-two.js deleted file mode 100644 index 48630b0..0000000 --- a/tools/addon-sdk-1.5/python-lib/cuddlefish/tests/linker-files/three/tests/test-two.js +++ /dev/null @@ -1 +0,0 @@ -// dummy |