/** * Returns the content of the file range as a string. * * @return A <code>String</code> which represents the contents of the file range. */ @Override public String toString() { return String.format("bytes=%d-%d", this.getStartOffset(), this.getEndOffset()); } }
/** * Returns the content of the file range as a string. * * @return A <code>String</code> which represents the contents of the file range. */ @Override public String toString() { return String.format("bytes=%d-%d", this.getStartOffset(), this.getEndOffset()); } }
assertEquals(expectedFileRanges.get(i).getStartOffset(), actualFileRanges.get(i).getStartOffset()); assertEquals(expectedFileRanges.get(i).getEndOffset(), actualFileRanges.get(i).getEndOffset());