datatable-body-tests.js revision d1d5a5059584e34fd0b070bf7f77f694c916de97
name: "datatable-body",
"test non-DataTable construction": function () {
});
},
"DataTable.Base default bodyView should be DataTable.BodyView": function () {
columns: ['a'],
data: [{ a: 1 }]
});
},
"DataTable default bodyView should be DataTable.BodyView": function () {
columns: ['a'],
data: [{ a: 1 }]
});
},
"Shared ModelList should not generate duplicate ids": function () {
columns: ['a'],
data: [{ a: 1 }]
}).render(),
columns: ['a'],
}).render(),
dups = 0;
function (id) {
dups++;
}
});
}
}));
name: "getCell",
setUp: function () {
columns: [
'b',
'c'
],
data: [
{ a: 1, b: 1, c: 1 },
{ a: 2, b: 2, c: 2 },
{ a: 3, b: 3, c: 3 }
]
}).render();
},
tearDown: function () {
},
"getCell([row, col]) should return <td>": function () {
},
"getCell(tdNode) should return <td>": function () {
},
"getCell(childNode) should return <td>": function () {
},
"getCell([row, col], shiftString) should return relative <td>": function () {
},
"getCell(tdNode, shiftString) should return the relative <td>": function () {
'above')));
},
"getCell(childNode, shiftString) should return the relative <td>": function () {
'above')));
},
"getCell([row, col], shiftArray) should return relative <td>": function () {
},
"getCell(tdNode, shiftArray) should return the relative <td>": function () {
},
"getCell(childNode, shiftArray) should return the relative <td>": function () {
}
}));
name: "getRow",
setUp: function () {
columns: [
'b',
'c'
],
data: [
{ a: 1, b: 1, c: 1 },
{ a: 2, b: 2, c: 2 },
{ a: 3, b: 3, c: 3 }
]
}).render();
},
tearDown: function () {
},
"getRow(index) should return <tr>": function () {
},
"getRow(model) should return the <tr>": function () {
},
"getRow(model.clientId) should return the <tr>": function () {
}
}));
name: "getRecord",
setUp: function () {
columns: [
'b',
'c'
],
data: [
{ a: 1, b: 1, c: 1 },
{ a: 2, b: 2, c: 2 },
{ a: 3, b: 3, c: 3 }
]
}).render();
},
tearDown: function () {
},
"getRecord(index) should return modelList.item(index)": function () {
},
"getRecord(node) should return the corresponding Model": function () {
},
"getRecord(childNode) should return the corresponding Model": function () {
},
"getRecord(model.clientId) should return the corresponding Model": function () {
},
"getRecord(rowId) should return the corresponding Model": function () {
},
"getRecord(childElId) should return the corresponding Model": function () {
}
}));