@Test public void getWidestAuthor() { Annotation instance = new Annotation("testfile.tst"); assertEquals(instance.getWidestAuthor(), 0); instance.addLine("1.0", "Author", true); assertEquals(instance.getWidestAuthor(), 6); instance.addLine("1.1.0", "Author 2", false); assertEquals(instance.getWidestAuthor(), 8); }
public int getWidestAuthor() { return widestAuthor; }
Annotation { public int getWidestAuthor() { return widestAuthor; } }
Annotation { public int getWidestAuthor() { return widestAuthor; } Annotation(String filename); }
Annotation { public int getWidestAuthor() { return widestAuthor; } Annotation(String filename); String getRevision(int line); Set<String> getRevisions(); String getAuthor(int line); boolean isEnabled(int line); int size(); int getWidestRevision(); int getWidestAuthor(); String getDesc(String revision); int getFileVersion(String revision); int getFileVersionsCount(); Map<String, String> getColors(); String getFilename(); void writeTooltipMap(Writer out); @Override String toString(); }
Annotation { public int getWidestAuthor() { return widestAuthor; } Annotation(String filename); String getRevision(int line); Set<String> getRevisions(); String getAuthor(int line); boolean isEnabled(int line); int size(); int getWidestRevision(); int getWidestAuthor(); String getDesc(String revision); int getFileVersion(String revision); int getFileVersionsCount(); Map<String, String> getColors(); String getFilename(); void writeTooltipMap(Writer out); @Override String toString();  }