mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
mochitests fix for bug 512424
This commit is contained in:
parent
76bf54e530
commit
2d766ada03
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user