* converter
* @param parent the parent of the file pass
*/
private void addFilePasses(TestReport[] testReports, Data parent) {
for (int ii = 0; ii < testReports.length; ii++) {
TestReport tr = testReports[ii];
File testReportFile = tr.getTestReport();
Data testReportData = createReportData(testReportFile,
tr.getName(), parent);
addReturn(testReportData);
FilePassReport[] sFilePassReports =
tr.getSuccessfulFilePassReports();
for (int kk = 0; kk < sFilePassReports.length; kk++) {
FilePassReport fp = sFilePassReports[kk];
File fpFile = fp.getFilePassReport();
Data fpData = createReportData(fpFile, fp.getName(),
testReportData);
addReturn(fpData);
addAllConvertedDataReports(fp, fpData);
}
FilePassReport[] fFilePassReports =
tr.getFailedFilePassReports();
for (int kk = 0; kk < fFilePassReports.length; kk++) {
FilePassReport fp = fFilePassReports[kk];
File fpFile = fp.getFilePassReport();
Data fpData = createReportData(fpFile, fp.getName(),
testReportData);