Check that toString() methods are constructed appropriately, uses the correct style and that there aren't stupid NPE
bugs in them.
Method from org.displaytag.util.ToStringTest Detail: |
public String getName() {
return getClass().getName() + "." + super.getName();
}
|
public void testCell() {
checkToString(new Cell(null));
}
|
public void testColumn() {
checkToString(new Column(new HeaderCell(), null, null));
}
|
public void testColumnTag() {
checkToString(new ColumnTag());
}
|
public void testHeaderCell() {
checkToString(new HeaderCell());
}
|
public void testNumberedPage() {
checkToString(new NumberedPage(1, false));
}
|
public void testPagination() {
checkToString(new Pagination(null, null));
}
|
public void testRow() {
checkToString(new Row(null, 0));
}
|
public void testSmartListHelper() {
checkToString(new SmartListHelper(new ArrayList(), 100, 10, TableProperties.getInstance(null), false));
}
|
public void testTableModel() {
checkToString(new TableModel(null, null, null));
}
|