Bug 1141978 - follow up, test fix, r=marcoz

This commit is contained in:
Alexander Surkov 2015-03-25 13:10:54 -04:00
parent b7ee0074f3
commit ab3bf34f45
2 changed files with 36 additions and 36 deletions

View File

@ -714,9 +714,9 @@ function testHeaderCells(aHeaderInfoMap)
var rowHeaderCell = getAccessible(rowHeaderCells[idx]);
var actualRowHeaderCell =
actualRowHeaderCells.queryElementAt(idx, nsIAccessible);
ok(actualRowHeaderCell, rowHeaderCell,
"Wrong row header cell at index " + idx + " for the cell " +
prettyName(rowHeaderCells[idx]));
isObject(actualRowHeaderCell, rowHeaderCell,
"Wrong row header cell at index " + idx + " for the cell " +
dataCellIdentifier);
}
}
@ -735,9 +735,9 @@ function testHeaderCells(aHeaderInfoMap)
var colHeaderCell = getAccessible(colHeaderCells[idx]);
var actualColHeaderCell =
actualColHeaderCells.queryElementAt(idx, nsIAccessible);
ok(actualColHeaderCell, colHeaderCell,
"Wrong column header cell at index " + idx + " for the cell " +
prettyName(colHeaderCells[idx]));
isObject(actualColHeaderCell, colHeaderCell,
"Wrong column header cell at index " + idx + " for the cell " +
dataCellIdentifier);
}
}
}

View File

@ -162,62 +162,62 @@
headerInfoMap = [
{
cell: "t7_r1c1",
rowHeaderCells: [ "t7_Females", "t7_Mary" ],
rowHeaderCells: [ "t7_Mary", "t7_Females" ],
columnHeaderCells: [ "t7_1km" ]
},
{
cell: "t7_r1c2",
rowHeaderCells: [ "t7_Females", "t7_Mary" ],
rowHeaderCells: [ "t7_Mary", "t7_Females" ],
columnHeaderCells: [ "t7_5km" ]
},
{
cell: "t7_r1c3",
rowHeaderCells: [ "t7_Females", "t7_Mary" ],
rowHeaderCells: [ "t7_Mary", "t7_Females" ],
columnHeaderCells: [ "t7_10km" ]
},
{
cell: "t7_r2c1",
rowHeaderCells: [ "t7_Females", "t7_Betsy" ],
rowHeaderCells: [ "t7_Betsy", "t7_Females" ],
columnHeaderCells: [ "t7_1km" ]
},
{
cell: "t7_r2c2",
rowHeaderCells: [ "t7_Females", "t7_Betsy" ],
rowHeaderCells: [ "t7_Betsy", "t7_Females" ],
columnHeaderCells: [ "t7_5km" ]
},
{
cell: "t7_r2c3",
rowHeaderCells: [ "t7_Females", "t7_Betsy" ],
rowHeaderCells: [ "t7_Betsy", "t7_Females" ],
columnHeaderCells: [ "t7_10km" ]
},
{
cell: "t7_r3c1",
rowHeaderCells: [ "t7_Males", "t7_Matt" ],
rowHeaderCells: [ "t7_Matt", "t7_Males" ],
columnHeaderCells: [ "t7_1km" ]
},
{
cell: "t7_r3c2",
rowHeaderCells: [ "t7_Males", "t7_Matt" ],
rowHeaderCells: [ "t7_Matt", "t7_Males" ],
columnHeaderCells: [ "t7_5km" ]
},
{
cell: "t7_r3c3",
rowHeaderCells: [ "t7_Males", "t7_Matt" ],
rowHeaderCells: [ "t7_Matt", "t7_Males" ],
columnHeaderCells: [ "t7_10km" ]
},
{
cell: "t7_r4c1",
rowHeaderCells: [ "t7_Males", "t7_Todd" ],
rowHeaderCells: [ "t7_Todd", "t7_Males" ],
columnHeaderCells: [ "t7_1km" ]
},
{
cell: "t7_r4c2",
rowHeaderCells: [ "t7_Males", "t7_Todd" ],
rowHeaderCells: [ "t7_Todd", "t7_Males" ],
columnHeaderCells: [ "t7_5km" ]
},
{
cell: "t7_r4c3",
rowHeaderCells: [ "t7_Males", "t7_Todd" ],
rowHeaderCells: [ "t7_Todd", "t7_Males" ],
columnHeaderCells: [ "t7_10km" ]
}
];
@ -231,62 +231,62 @@
{
cell: "t8_r1c1",
rowHeaderCells: [ "t8_1km" ],
columnHeaderCells: [ "t7_Females", "t7_Mary" ]
columnHeaderCells: [ "t8_Mary", "t8_Females" ]
},
{
cell: "t8_r1c2",
rowHeaderCells: [ "t8_5km" ],
columnHeaderCells: [ "t8_Females", "t8_Mary" ]
rowHeaderCells: [ "t8_1km" ],
columnHeaderCells: [ "t8_Betsy", "t8_Females" ]
},
{
cell: "t8_r1c3",
rowHeaderCells: [ "t8_10km" ],
columnHeaderCells: [ "t8_Females", "t8_Mary" ]
rowHeaderCells: [ "t8_1km" ],
columnHeaderCells: [ "t8_Matt", "t8_Males" ]
},
{
cell: "t8_r1c4",
rowHeaderCells: [ "t8_1km" ],
columnHeaderCells: [ "t8_Females", "t8_Betsy" ]
columnHeaderCells: [ "t8_Todd", "t8_Males" ]
},
{
cell: "t8_r2c1",
rowHeaderCells: [ "t8_5km" ],
columnHeaderCells: [ "t8_Females", "t8_Betsy" ]
columnHeaderCells: [ "t8_Mary", "t8_Females" ]
},
{
cell: "t8_r2c2",
rowHeaderCells: [ "t8_10km" ],
columnHeaderCells: [ "t8_Females", "t8_Betsy" ]
rowHeaderCells: [ "t8_5km" ],
columnHeaderCells: [ "t8_Betsy", "t8_Females" ]
},
{
cell: "t8_r2c3",
rowHeaderCells: [ "t8_1km" ],
columnHeaderCells: [ "t8_Males", "t8_Matt" ]
rowHeaderCells: [ "t8_5km" ],
columnHeaderCells: [ "t8_Matt", "t8_Males" ]
},
{
cell: "t8_r2c4",
rowHeaderCells: [ "t8_5km" ],
columnHeaderCells: [ "t8_Males", "t8_Matt" ]
columnHeaderCells: [ "t8_Todd", "t8_Males" ]
},
{
cell: "t8_r3c1",
rowHeaderCells: [ "t8_10km" ],
columnHeaderCells: [ "t8_Males", "t8_Matt" ]
columnHeaderCells: [ "t8_Mary", "t8_Females" ]
},
{
cell: "t8_r3c2",
rowHeaderCells: [ "t8_1km" ],
columnHeaderCells: [ "t8_Males", "t8_Todd" ]
rowHeaderCells: [ "t8_10km" ],
columnHeaderCells: [ "t8_Betsy", "t8_Females" ]
},
{
cell: "t8_r3c3",
rowHeaderCells: [ "t8_5km" ],
columnHeaderCells: [ "t8_Males", "t8_Todd" ]
rowHeaderCells: [ "t8_10km" ],
columnHeaderCells: [ "t8_Matt", "t8_Males" ]
},
{
cell: "t8_r3c4",
rowHeaderCells: [ "t8_10km" ],
columnHeaderCells: [ "t8_Males", "t8_Todd" ]
columnHeaderCells: [ "t8_Todd", "t8_Males" ]
}
];