mochitests fix for bug 512424

This commit is contained in:
Alexander Surkov 2009-09-11 11:31:19 +08:00
parent 76bf54e530
commit 2d766ada03
3 changed files with 10 additions and 10 deletions

View File

@ -360,7 +360,7 @@ function testTableSelection(aIdentifier, aCellsArray, aMsg)
}
// selectedColsCount test
is(acc.selectedcolumnCount, selCols.length,
is(acc.selectedColumnCount, selCols.length,
msg + "Wrong count of selected columns for " + prettyName(aIdentifier));
// getSelectedColumns test
@ -399,8 +399,8 @@ function testTableSelection(aIdentifier, aCellsArray, aMsg)
selRows.push(rowIdx);
}
// selectedrowCount test
is(acc.selectedrowCount, selRows.length,
// selectedRowCount test
is(acc.selectedRowCount, selRows.length,
msg + "Wrong count of selected rows for " + prettyName(aIdentifier));
// getSelectedRows test

View File

@ -33,7 +33,7 @@ function doTest()
cell = getNode("col2c");
range.selectNode(cell);
s.addRange(range);
is(accTable.selectedcolumnCount, 1, "only one column selected");
is(accTable.selectedColumnCount, 1, "only one column selected");
cell = getNode("row2a");
range.selectNode(cell);
s.addRange(range);
@ -44,7 +44,7 @@ function doTest()
range.selectNode(cell);
s.addRange(range);
is(accTable.selectedrowCount, 1, "no cells selected");
is(accTable.selectedRowCount, 1, "no cells selected");
var columnDescription;
works = true;

View File

@ -51,7 +51,7 @@
}
/**
* Helper function to test isColumnSelected(), selectedColumnCount() and
* Helper function to test isColumnSelected(), selectedColumnCount and
* getSelectedColumn() methods.
*/
function testColumnSelection(aId, aAcc, aCount, aSelCount, aSelIndexesArray)
@ -67,8 +67,8 @@
}
}
// selectedcolumnCount
is(aAcc.selectedcolumnCount, aSelCount,
// selectedColumnCount
is(aAcc.selectedColumnCount, aSelCount,
aId + ": wrong number of selected columns");
// getSelectedColumns
@ -106,8 +106,8 @@
}
}
// selectedrowCount
is(aAcc.selectedrowCount, aSelCount,
// selectedRowCount
is(aAcc.selectedRowCount, aSelCount,
aId + ": wrong number of selected rows");
// getSelectedRows