@Test public void testToStringWithQuota() { long length = 11111; long fileCount = 22222; long directoryCount = 33333; long quota = 44444; long spaceConsumed = 55555; long spaceQuota = 66665; ContentSummary contentSummary = new ContentSummary(length, fileCount, directoryCount, quota, spaceConsumed, spaceQuota); String expected = " 44444 -11111 66665 11110" + " 33333 22222 11111 "; assertEquals(expected, contentSummary.toString(true)); }
@Override public String toString() { return toString(true); }
ContentSummary implements Writable { @Override public String toString() { return toString(true); } }
ContentSummary implements Writable { @Override public String toString() { return toString(true); } ContentSummary();  ContentSummary(long length, long fileCount, long directoryCount);  ContentSummary(
      long length, long fileCount, long directoryCount, long quota,
      long spaceConsumed, long spaceQuota); }
ContentSummary implements Writable { @Override public String toString() { return toString(true); } ContentSummary();  ContentSummary(long length, long fileCount, long directoryCount);  ContentSummary(
      long length, long fileCount, long directoryCount, long quota,
      long spaceConsumed, long spaceQuota); long getLength(); long getDirectoryCount(); long getFileCount(); long getQuota(); long getSpaceConsumed(); long getSpaceQuota(); @Override @InterfaceAudience.Private void write(DataOutput out); @Override @InterfaceAudience.Private void readFields(DataInput in); static String getHeader(boolean qOption); @Override String toString(); String toString(boolean qOption); String toString(boolean qOption, boolean hOption); }
ContentSummary implements Writable { @Override public String toString() { return toString(true); } ContentSummary();  ContentSummary(long length, long fileCount, long directoryCount);  ContentSummary(
      long length, long fileCount, long directoryCount, long quota,
      long spaceConsumed, long spaceQuota); long getLength(); long getDirectoryCount(); long getFileCount(); long getQuota(); long getSpaceConsumed(); long getSpaceQuota(); @Override @InterfaceAudience.Private void write(DataOutput out); @Override @InterfaceAudience.Private void readFields(DataInput in); static String getHeader(boolean qOption); @Override String toString(); String toString(boolean qOption); String toString(boolean qOption, boolean hOption);  }