Change-Id: Id77e9101dec77924eb19c19c2cf34702db4d9f6a
removeExtension(datasourceExtension);
}
- columnKeys.removeAll();
datasource = container;
resetEditor();
grid.setContainerDataSource(container2);
assertNull("Grid should not have a column for property foo",
grid.getColumn("foo"));
+ assertNotNull("Grid did should have a column for property bar",
+ grid.getColumn("bar"));
+ for (Grid.Column column : grid.getColumns()) {
+ assertNotNull("Grid getColumns returned a null value", column);
+ }
+
grid.removeAllColumns();
grid.addColumn("foo");
assertNotNull("Grid should now have a column for property foo",