Bug 555942: Fix naming of getInstalls in plugins tests. r=robstrong

This commit is contained in:
Dave Townsend 2010-04-26 13:53:42 -07:00
Родитель 805a26c863
Коммит b68d45677b
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -348,7 +348,7 @@ function test_5_complete() {
ok(item, "Should have seen the installed item");
is(item.status, "Installed", "Should have been a successful install");
AddonManager.getInstalls(null, function(installs) {
AddonManager.getAllInstalls(function(installs) {
is(installs.length, 1, "Should be just one install");
is(installs[0].state, AddonManager.STATE_INSTALLED, "Should be fully installed");
is(installs[0].addon.id, "bug435788_1@tests.mozilla.org", "Should have installed the extension");
@ -463,7 +463,7 @@ function test_7_complete() {
ok(item, "Should have seen the installed item");
is(item.status, "Failed", "Should have been a failed install");
AddonManager.getInstalls(null, function(installs) {
AddonManager.getAllInstalls(function(installs) {
is(installs.length, 1, "Should be one active installs");
installs[0].cancel();
@ -520,7 +520,7 @@ function test_8_complete() {
ok(item, "Should have seen the installed item");
is(item.status, "Failed", "Should have not been a successful install");
AddonManager.getInstalls(null, function(installs) {
AddonManager.getAllInstalls(function(installs) {
is(installs.length, 0, "Should not be any installs");
gPFS.document.documentElement.getButton("finish").click();