4243444546474849505152
{ for (int j = 0; j < 2; j++) { UICell cell = new UICell(); cell.setValue(i + "_" + j); wb.addItem(cell); } wb.nextColumn(); } byte[] correct = new String("\"0_0\",\"1_0\"\n\"0_1\",\"1_1\"\n").getBytes();
7172737475767778798081
UICell cell = new UICell(); cell.setValue("A1"); cell.setColumn(0); cell.setRow(0); wb.addItem(cell); cell.setValue("C2"); cell.setColumn(2); cell.setRow(1); wb.addItem(cell);
7576777879808182838485
cell.setRow(0); wb.addItem(cell); cell.setValue("C2"); cell.setColumn(2); cell.setRow(1); wb.addItem(cell); byte[] correct = new String("\"A1\",\"\",\"\"\n\"\",\"\",\"C2\"\n").getBytes(); byte[] created = wb.getBytes(); System.out.println(new String(created));
106107108109110111112113114115116
{ for (int j = 0; j < 2; j++) { UICell cell = new UICell(); cell.setValue(i + "_" + j); wb.addItem(cell); } wb.nextColumn(); } sheet.setStartColumn(1);
121122123124125126127128129130131
{ for (int j = 0; j < 2; j++) { UICell cell = new UICell(); cell.setValue(i + "_" + j); wb.addItem(cell); } wb.nextColumn(); } byte[] correct = new String("\"0_0\",\"1_0\",\"\"\n\"0_1\",\"0_0\",\"1_0\"\n\"\",\"0_1\",\"1_1\"\n").getBytes();