FilePairOutput { public static String getToStringHeader() { return FilePair.getToStringHeader() + "issues;issuesId;" + "commits;commitsId;" + "commitsFile1;commitsFile1Id;" + "commitsFile2;commitsFile2Id;" + "defectIssues;defectIssuesId;" + "futureDefectIssues;futureDefectIssuesId;" + "futureIssues;futureIssuesId;"; } FilePairOutput(FilePair filePair); FilePair getFilePair(); Set<Commit> getCommits(); Set<Integer> getCommitsId(); int getCommitsIdWeight(); int getCommitsWeight(); Set<Integer> getCommitsFile1Id(); int getCommitsFile1IdWeight(); Set<Integer> getCommitsFile2Id(); int getCommitsFile2IdWeight(); Set<Issue> getIssues(); Set<Integer> getIssuesId(); int getIssuesIdWeight(); int getIssuesWeight(); Set<Integer> getDefectIssuesId(); Set<Integer> getFutureDefectIssuesId(); int getFutureDefectIssuesIdWeight(); void addIssueId(Integer issueId); void addCommitId(Integer commitId); void addIssue(Issue issue); void addCommit(Commit commit); void addCommitFile1Id(Integer commitId); void addCommitFile2Id(Integer commitId); void addDefectIssueId(Integer defectId); void addDefectIssuesId(Collection<Integer> defectId); void addFutureIssuesId(Integer futureIssueId); void addFutureIssuesId(Collection<Integer> futureIssuesId); void addFutureDefectIssuesId(Integer futureDefectId); void addFutureDefectIssuesId(Collection<Integer> futureDefectId); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); String toStringPairFile(); static String getToStringHeader();  }
@Test public void testToStringHeader() { assertEquals("file1;file2;" + "issues;issuesId;" + "commits;commitsId;" + "commitsFile1;commitsFile1Id;" + "commitsFile2;commitsFile2Id;" + "defectIssues;defectIssuesId;" + "futureDefectIssues;futureDefectIssuesId;" + "futureIssues;futureIssuesId;" + "fileIssues;file2Issues;issues;allIssues;supportFile;supportFile2;" + "supportFilePair;confidence;confidence2;lift;conviction;conviction2;", FilePairAprioriOutput.getToStringHeader() ); }