CellRef { @Override public String toString() { final StringBuilder sb = new StringBuilder(); try { this.write(sb); } catch (final IOException e) { throw new AssertionError(e); } return sb.toString(); } CellRef(final TableRef tableRef, final LocalCellRef localCellRef); static CellRef create(final int r, final int c, final int status); @Override boolean equals(final Object o); @Override int hashCode(); int getColumn(); int getRow(); @Override String toString(); void write(final Appendable appendable); static final char TABLE_CELL_SEP; }
@Test public void testD3Table2() { Assert.assertEquals("t.D3", new CellRef(TableRef.builder(this.tableNameUtil).table("t").build(), new LocalCellRef(2, 3, 4)).toString()); }
@Test public void testD3AbsTable3() { Assert.assertEquals("$'t''t'.D3", new CellRef(TableRef.builder(this.tableNameUtil).absTable("t't").build(), new LocalCellRef(2, 3, 4)).toString()); }
@Test public void testFilename() { Assert.assertEquals("'f'''#$t.D3", new CellRef(TableRef.builder(this.tableNameUtil).file("f'").absTable("t").build(), new LocalCellRef(2, 3, 4)).toString()); }