diff -r 000000000000 -r 6474c204b198 toolkit/mozapps/extensions/test/xpcshell/data/test_AddonRepository.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/toolkit/mozapps/extensions/test/xpcshell/data/test_AddonRepository.xml Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,820 @@ + + + + + PASS + Extension + test1@tests.mozilla.org + 1.1 + + + Test Creator 1 + http://localhost:%PORT%/creator1.html + + + Preliminarily Reviewed + + + xpcshell@tests.mozilla.org + 1 + 1 + + + + -2 + + + + -2 + http://localhost:%PORT%/test1.xpi + + + + + PASS + + Extension + test2@tests.mozilla.org + 1.2 + + + + Test Creator 2 + http://localhost:%PORT%/creator2.html + + + Test Developer 2 + http://localhost:%PORT%/developer2.html + + + <h1>Test Summary 2</h1><p>paragraph</p> + Test Description 2<br>newline + Test Developer + Comments 2 + Test EULA 2 + http://localhost:%PORT%/icon2-64.png + http://localhost:%PORT%/icon2-48.png + http://localhost:%PORT%/icon2-32.png + Public + + + xpcshell@tests.mozilla.org + 1 + 1 + + + + + + http://localhost:%PORT%/full1-2.png + http://localhost:%PORT%/thumbnail1-2.png + + + http://localhost:%PORT%/full2-2.png + http://localhost:%PORT%/thumbnail2-2.png + Caption 2 + + + NaN + + http://localhost:%PORT%/learnmore2.html + + http://localhost:%PORT%/support2.html + + http://localhost:%PORT%/contribution2.html + http://localhost:%PORT%/meetDevelopers2.html + + http://localhost:%PORT%/review2.html + NaN + NaN + NaN + Not an acual date + http://localhost:%PORT%/test2.xpi + + + + + PASS + + Theme + test3@tests.mozilla.org + 1.3 + + + + + http://localhost:%PORT%/ignore3.html + + + + Test Creator Ignore + + + + Test Creator 3 + http://localhost:%PORT%/creator3.html + + + First Test Developer 3 + http://localhost:%PORT%/developer1-3.html + + + + + + + Second Test Developer 3 + http://localhost:%PORT%/developer2-3.html + + + Test Summary 3 + Test Description 3<br><ul><li>List item 1<li>List item 2</ul> + Test Developer Comments 3 + Test EULA 3 + http://localhost:%PORT%/icon3.png + Preliminarily Reviewed + + + + unknown@tests.mozilla.org + 1 + 1 + + + xpcshell@tests.mozilla.org + 1 + 1 + + + + + + http://localhost:%PORT%/full2-3.png + Caption 2 - 3 + + + + Caption ignore - 3 + + + + + Caption ignore - 3 + + http://localhost:%PORT%/full1-3.png + http://localhost:%PORT%/thumbnail1-3.png + Caption 1 - 3 + + + http://localhost:%PORT%/full3-3.png + http://localhost:%PORT%/thumbnail3-3.png + Caption 3 - 3 + + + + + 2 + + http://localhost:%PORT%/learnmore3.html + http://localhost:%PORT%/homepage3.html + http://localhost:%PORT%/support3.html + + http://localhost:%PORT%/contribution3.html + $11.11 + http://localhost:%PORT%/meetDevelopers3.html + + http://localhost:%PORT%/review3.html + 2222 + 3333 + 4444 + 2010-02-01T14:04:05Z + + http://localhost:%PORT%/fail3.xpi + + http://localhost:%PORT%/test3.xpi + + + + + Extension + test4@tests.mozilla.org + 1.4 + Test Creator 4 + Public + Add-on with undefined name should be ignored. + + + xpcshell@tests.mozilla.org + 1 + 1 + + + http://localhost:%PORT%/test4.xpi + + + + + + Extension + test5@tests.mozilla.org + 1.5 + Test Creator 5 + Public + Add-on with empty name should be ignored. + + + xpcshell@tests.mozilla.org + 1 + 1 + + + http://localhost:%PORT%/test5.xpi + + + + + FAIL + test6@tests.mozilla.org + 1.6 + Test Creator 6 + Public + Add-on with undefined type should be ignored + + + xpcshell@tests.mozilla.org + 1 + 1 + + + http://localhost:%PORT%/test6.xpi + + + + + FAIL + Empty id attribute + test7@tests.mozilla.org + 1.7 + Test Creator 7 + Public + Add-on with empty type should be ignored + + + xpcshell@tests.mozilla.org + 1 + 1 + + + http://localhost:%PORT%/test7.xpi + + + + + FAIL + Unknown + test8@tests.mozilla.org + 1.8 + Test Creator 8 + Public + Add-on with unknown type should be ignored + + + xpcshell@tests.mozilla.org + 1 + 1 + + + http://localhost:%PORT%/test8.xpi + + + + + FAIL + Extension + 1.9 + Test Creator 9 + Public + Add-on with undefined guid should be ignored. + + + xpcshell@tests.mozilla.org + 1 + 1 + + + http://localhost:%PORT%/test9.xpi + + + + + FAIL + Extension + + 1.10 + Test Creator 10 + Public + Add-on with empty guid should be ignored. + + + xpcshell@tests.mozilla.org + 1 + 1 + + + http://localhost:%PORT%/test10.xpi + + + + + FAIL + Extension + test1@tests.mozilla.org + 1.11 + Test Creator 11 + Public + Add-on with a guid that matches a previously successful result should be ignored. + + + xpcshell@tests.mozilla.org + 1 + 1 + + + http://localhost:%PORT%/test11.xpi + + + + + FAIL + Extension + test_AddonRepository_1@tests.mozilla.org + 1.12 + Test Creator 12 + Public + Add-on with a guid that matches an installed Addon should be ignored. + + + xpcshell@tests.mozilla.org + 1 + 1 + + + http://localhost:%PORT%/test12.xpi + + + + + FAIL + Extension + test13@tests.mozilla.org + Test Creator 13 + Public + Add-on with undefined version should be ignored. + + + xpcshell@tests.mozilla.org + 1 + 1 + + + http://localhost:%PORT%/test13.xpi + + + + + FAIL + Extension + test14@tests.mozilla.org + + Test Creator 14 + Public + Add-on with empty version should be ignored. + + + xpcshell@tests.mozilla.org + 1 + 1 + + + http://localhost:%PORT%/test14.xpi + + + + + FAIL + Extension + test15@tests.mozilla.org + 1.15 + Public + Add-on with undefined authors should be ignored. + + + xpcshell@tests.mozilla.org + 1 + 1 + + + http://localhost:%PORT%/test15.xpi + + + + + FAIL + Extension + test16@tests.mozilla.org + 1.16 + + Public + Add-on with no defined author elements should be ignored. + + + xpcshell@tests.mozilla.org + 1 + 1 + + + http://localhost:%PORT%/test16.xpi + + + + + FAIL + Extension + test17@tests.mozilla.org + 1.17 + + + + + Public + Add-on with no non-empty author elements should be ignored. + + + xpcshell@tests.mozilla.org + 1 + 1 + + + http://localhost:%PORT%/test17.xpi + + + + + FAIL + Extension + test18@tests.mozilla.org + 1.18 + Test Creator 18 + Add-on with undefined status should be ignored. + + + xpcshell@tests.mozilla.org + 1 + 1 + + + http://localhost:%PORT%/test18.xpi + + + + + FAIL + Extension + test19@tests.mozilla.org + 1.19 + Test Creator 19 + Unknown + Add-on with non-Public status should be ignored. + + + xpcshell@tests.mozilla.org + 1 + 1 + + + http://localhost:%PORT%/test19.xpi + + + + + FAIL + Extension + test20@tests.mozilla.org + 1.20 + Test Creator 20 + Public + Add-on with undefined compatible_applications should be ignored. + http://localhost:%PORT%/test20.xpi + + + + + FAIL + Extension + test21@tests.mozilla.org + 1.21 + Test Creator 21 + Public + Add-on with no compatible applications should be ignored. + + + unknown@tests.mozilla.org + 1 + 1 + + + http://localhost:%PORT%/test21.xpi + + + + + FAIL + Extension + test22@tests.mozilla.org + 1.22 + Test Creator 22 + Public + Add-on with too high of a compatible application min version should be ignored. + + + xpcshell@tests.mozilla.org + 2.0 + + + http://localhost:%PORT%/test22.xpi + + + + + FAIL + Extension + test23@tests.mozilla.org + 1.23 + Test Creator 23 + Public + Add-on with too high of a compatible application min version should be ignored. + + + xpcshell@tests.mozilla.org + 1.1 + 2.0 + + + http://localhost:%PORT%/test23.xpi + + + + + FAIL + Extension + test24@tests.mozilla.org + 1.24 + Test Creator 24 + Public + Add-on with too low of a compatible application max version should be ignored. + + + xpcshell@tests.mozilla.org + 0.9 + + + http://localhost:%PORT%/test24.xpi + + + + + FAIL + Extension + test25@tests.mozilla.org + 1.25 + Test Creator 25 + Public + Add-on with too low of a compatible application max version should be ignored. + + + xpcshell@tests.mozilla.org + 0.9 + 0.9.9 + + + http://localhost:%PORT%/test25.xpi + + + + + FAIL + Extension + test26@tests.mozilla.org + 1.26 + Test Creator 26 + Public + Add-on with undefined XPI URL should be ignored. + + + xpcshell@tests.mozilla.org + 1 + 1 + + + + + + + FAIL + Extension + test27@tests.mozilla.org + 1.27 + Test Creator 27 + Public + Add-on with an empty XPI URL should be ignored. + + + xpcshell@tests.mozilla.org + 1 + 1 + + + + + + + + FAIL + Extension + test28@tests.mozilla.org + 1.28 + Test Creator 28 + Public + Add-on with no installs with compatible OS should be ignored. + + + xpcshell@tests.mozilla.org + 1 + 1 + + + http://localhost:%PORT%/test28.xpi + http://localhost:%PORT%/test28.xpi + + + + + FAIL + Extension + test29@tests.mozilla.org + 1.29 + Test Creator 29 + Public + Add-on with an XPI URL that matches an installing AddonInstall should be ignored. + + + xpcshell@tests.mozilla.org + 1 + 1 + + + http://localhost:%PORT%/addons/test_AddonRepository_2.xpi + + + + + PASS + Extension + purchase1@tests.mozilla.org + 2.0 + + + Test Creator - Last Passing + http://localhost:%PORT%/creatorLastPassing.html + + + Public + + ALL + + + + xpcshell@tests.mozilla.org + 1 + 1 + + + 5 + + http://localhost:%PORT%/purchaseURL1 + $5 + + + + + + PASS + Extension + purchase2@tests.mozilla.org + 2.0 + + + Test Creator - Last Passing + http://localhost:%PORT%/creatorLastPassing.html + + + Public + + XPCShell + + + + xpcshell@tests.mozilla.org + 1 + 1 + + + 5 + + http://localhost:%PORT%/purchaseURL2 + $10 + + + + + + FAIL + Extension + purchase3@tests.mozilla.org + 2.0 + + + Test Creator - Last Passing + http://localhost:%PORT%/creatorLastPassing.html + + + Public + + FOO + + + + xpcshell@tests.mozilla.org + 1 + 1 + + + 5 + + http://localhost:%PORT%/purchaseURL3 + $10 + + + + + + PASS + Extension + test-lastPassing@tests.mozilla.org + 2.0 + + + Test Creator - Last Passing + http://localhost:%PORT%/creatorLastPassing.html + + + Public + + + xpcshell@tests.mozilla.org + 1 + 1 + + + + 10 + http://localhost:%PORT%/addons/test_AddonRepository_3.xpi + + + + + FAIL + Extension + test-surpassesLimit@tests.mozilla.org + 9.9 + Test Creator - Surpasses Limit + Public + Add-on should not be added because doing so would surpass MAX_RESULTS limit + + + xpcshell@tests.mozilla.org + 1 + 1 + + + http://localhost:%PORT%/test-surpassesLimit.xpi + + +