@Test public void flushIntoEmptyList() throws Exception { final List<TableRowImpl> rows = Collections.emptyList(); PowerMock.resetAll(); EasyMock.expect(this.w.append(this.sb)).andReturn(this.sb); PowerMock.replayAll(); final OdsAsyncFlusher flusher = new PreprocessedRowsFlusher(this.sb); flusher.flushInto(this.util, this.w); PowerMock.verifyAll(); }
@Override public void flushInto(final XMLUtil xmlUtil, final ZipUTF8Writer writer) throws IOException { writer.append(this.cs); }
PreprocessedRowsFlusher implements OdsAsyncFlusher { @Override public void flushInto(final XMLUtil xmlUtil, final ZipUTF8Writer writer) throws IOException { writer.append(this.cs); } }
PreprocessedRowsFlusher implements OdsAsyncFlusher { @Override public void flushInto(final XMLUtil xmlUtil, final ZipUTF8Writer writer) throws IOException { writer.append(this.cs); } PreprocessedRowsFlusher(final CharSequence cs); }
PreprocessedRowsFlusher implements OdsAsyncFlusher { @Override public void flushInto(final XMLUtil xmlUtil, final ZipUTF8Writer writer) throws IOException { writer.append(this.cs); } PreprocessedRowsFlusher(final CharSequence cs); static PreprocessedRowsFlusher create(final XMLUtil xmlUtil,
                                                 final List<TableRowImpl> tableRows); @Override void flushInto(final XMLUtil xmlUtil, final ZipUTF8Writer writer); @Override boolean isEnd(); }
PreprocessedRowsFlusher implements OdsAsyncFlusher { @Override public void flushInto(final XMLUtil xmlUtil, final ZipUTF8Writer writer) throws IOException { writer.append(this.cs); } PreprocessedRowsFlusher(final CharSequence cs); static PreprocessedRowsFlusher create(final XMLUtil xmlUtil,
                                                 final List<TableRowImpl> tableRows); @Override void flushInto(final XMLUtil xmlUtil, final ZipUTF8Writer writer); @Override boolean isEnd();  }