View | Details | Raw Unified | Return to bug 10935
Collapse All | Expand All

(-)TestHSSFSheet.java (+11 lines)
Line 201 Link Here
201
202
    public void testColumnWidths()
203
    {
204
        HSSFWorkbook workbook = new HSSFWorkbook();
205
        HSSFSheet sheet = workbook.createSheet("Test Sheet");
206
        assertEquals(sheet.getDefaultColumnWidth(), sheet.getColumnWidth(0));
207
        sheet.setColumnWidth(0, 9000);
208
        assertEquals(9000, sheet.getColumnWidth(0));
209
        sheet.setColumnWidth(2, 8000);
210
        assertEquals(8000, sheet.getColumnWidth(2));        
211
    }

Return to bug 10935