From: <mwl...@us...> - 2007-08-22 18:29:00
|
Revision: 495 http://cishell.svn.sourceforge.net/cishell/?rev=495&view=rev Author: mwlinnem Date: 2007-08-22 11:28:57 -0700 (Wed, 22 Aug 2007) Log Message: ----------- Removed unused code. Modified Paths: -------------- trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/allconvs/AllConvsReportGenerator.java trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/allconvs/ConvReportSubGenerator.java trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/alltests/AllTestsReportGenerator.java trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/alltests/FilePassSubGenerator.java trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/alltests/TestReportSubGenerator.java trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/readme/ReadMeReportGenerator.java trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/reports/AllConvsReport.java trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/reports/AllTestsReport.java trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/reports/ConvReport.java trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/reports/FilePassReport.java trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/reports/ReadMeReport.java trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/reports/Report.java trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/reports/TestReport.java Modified: trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/allconvs/AllConvsReportGenerator.java =================================================================== --- trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/allconvs/AllConvsReportGenerator.java 2007-08-22 18:20:40 UTC (rev 494) +++ trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/allconvs/AllConvsReportGenerator.java 2007-08-22 18:28:57 UTC (rev 495) @@ -126,13 +126,11 @@ // convReportsList.add(convReport); // } -// String summary = "%" + avgChanceCorrect * 100 + " Correct"; - String summary = ""; ConvReport[] convReports = (ConvReport[]) convReportsList.toArray(new ConvReport[0]); this.allConvsReport = new AllConvsReport(reportFile, convReports, - "All Converters Report", summary); + "All Converters Report"); report.flush(); Modified: trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/allconvs/ConvReportSubGenerator.java =================================================================== --- trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/allconvs/ConvReportSubGenerator.java 2007-08-22 18:20:40 UTC (rev 494) +++ trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/allconvs/ConvReportSubGenerator.java 2007-08-22 18:28:57 UTC (rev 495) @@ -90,9 +90,8 @@ TestReport[] testReports = (TestReport[]) testReportsList .toArray(new TestReport[0]); - String summary = ""; this.convReport = new ConvReport(reportFile, new TestReport[0], cr - .getNameNoPackageWithTrust(), summary); + .getNameNoPackageWithTrust()); report.println(""); report.flush(); reportOutStream.close(); Modified: trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/alltests/AllTestsReportGenerator.java =================================================================== --- trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/alltests/AllTestsReportGenerator.java 2007-08-22 18:20:40 UTC (rev 494) +++ trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/alltests/AllTestsReportGenerator.java 2007-08-22 18:28:57 UTC (rev 495) @@ -109,14 +109,11 @@ failedTRReports.add(testReport); } -// String summary = "%" + percentCompletelyPassed * 100 + " Completely Passed"; - String summary = ""; this.allTestsReport = new AllTestsReport(reportFile, "All Test Reports", (TestReport[]) passedTRReports.toArray(new TestReport[0]), (TestReport[]) pPassedTRReports.toArray(new TestReport[0]), - (TestReport[]) failedTRReports.toArray(new TestReport[0]), - summary); + (TestReport[]) failedTRReports.toArray(new TestReport[0])); } catch (IOException e) { this.log.log(LogService.LOG_ERROR, "Unable to generate all tests report.", e); Modified: trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/alltests/FilePassSubGenerator.java =================================================================== --- trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/alltests/FilePassSubGenerator.java 2007-08-22 18:20:40 UTC (rev 494) +++ trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/alltests/FilePassSubGenerator.java 2007-08-22 18:28:57 UTC (rev 495) @@ -42,9 +42,7 @@ writeReport(report, fpr); - String summary = ""; - this.filePassReport = new FilePassReport(reportFile, fpr.getName(), - summary); + this.filePassReport = new FilePassReport(reportFile, fpr.getName()); } catch (IOException e) { this.log.log(LogService.LOG_ERROR, Modified: trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/alltests/TestReportSubGenerator.java =================================================================== --- trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/alltests/TestReportSubGenerator.java 2007-08-22 18:20:40 UTC (rev 494) +++ trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/alltests/TestReportSubGenerator.java 2007-08-22 18:28:57 UTC (rev 495) @@ -119,15 +119,10 @@ failedFPReports.add(filePassReport); } - -// String summary = "%" + percentSuccessful + " Successful"; - String summary = ""; + //TODO: remove file pass reports this.testReport = new TestReport(reportFile, tr.getNameWithSuccess(), new FilePassReport[0], - new FilePassReport[0], -// (FilePassReport[]) successfulFPReports.toArray(new FilePassReport[0]), -// (FilePassReport[]) failedFPReports.toArray(new FilePassReport[0]), - summary); + new FilePassReport[0]); } catch (IOException e) { Modified: trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/readme/ReadMeReportGenerator.java =================================================================== --- trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/readme/ReadMeReportGenerator.java 2007-08-22 18:20:40 UTC (rev 494) +++ trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/readme/ReadMeReportGenerator.java 2007-08-22 18:28:57 UTC (rev 495) @@ -21,7 +21,7 @@ "ReportREADME.txt"; File readmeFile = new File(readmePath); - this.readme = new ReadMeReport(readmeFile, "README", ""); + this.readme = new ReadMeReport(readmeFile, "README"); } public ReadMeReport getReadMe() { Modified: trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/reports/AllConvsReport.java =================================================================== --- trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/reports/AllConvsReport.java 2007-08-22 18:20:40 UTC (rev 494) +++ trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/reports/AllConvsReport.java 2007-08-22 18:28:57 UTC (rev 495) @@ -7,13 +7,11 @@ private File report; private ConvReport[] convReports; private String name; - private String summary; - public AllConvsReport (File report, ConvReport[] convReports, String name, String summary) { + public AllConvsReport (File report, ConvReport[] convReports, String name) { this.report = report; this.convReports = convReports; this.name = name; - this.summary = summary; } public String getName() { return this.name; @@ -26,9 +24,4 @@ public ConvReport[] getConverterReports() { return this.convReports; } - - public String getShortSummary() { - return this.summary; - } - } Modified: trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/reports/AllTestsReport.java =================================================================== --- trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/reports/AllTestsReport.java 2007-08-22 18:20:40 UTC (rev 494) +++ trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/reports/AllTestsReport.java 2007-08-22 18:28:57 UTC (rev 495) @@ -11,19 +11,16 @@ private TestReport[] failedTestReports; private String name; - private String summary; public AllTestsReport(File allTestsReport, String name, TestReport[] successfulTestReports, TestReport[] partialSuccessTestReports, - TestReport[] failedTestReports, - String summary) { + TestReport[] failedTestReports) { this.allTestsReport = allTestsReport; this.name = name; this.successfulTestReports = successfulTestReports; this.partialSuccessTestReports = partialSuccessTestReports; this.failedTestReports = failedTestReports; - this.summary = summary; } public File getAllTestsReport() { @@ -45,8 +42,4 @@ public String getName() { return this.name; } - - public String getShortSummary() { - return this.summary; - } } Modified: trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/reports/ConvReport.java =================================================================== --- trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/reports/ConvReport.java 2007-08-22 18:20:40 UTC (rev 494) +++ trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/reports/ConvReport.java 2007-08-22 18:28:57 UTC (rev 495) @@ -7,13 +7,11 @@ private File report; private TestReport[] trs; private String name; - private String summary; - public ConvReport (File report, TestReport[] trs, String name, String summary) { + public ConvReport (File report, TestReport[] trs, String name) { this.report = report; this.trs = trs; this.name = name; - this.summary = summary; } public String getName() { return this.name; @@ -26,8 +24,4 @@ public TestReport[] getTestReports() { return this.trs; } - - public String getShortSummary() { - return this.summary; - } } Modified: trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/reports/FilePassReport.java =================================================================== --- trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/reports/FilePassReport.java 2007-08-22 18:20:40 UTC (rev 494) +++ trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/reports/FilePassReport.java 2007-08-22 18:28:57 UTC (rev 495) @@ -7,12 +7,10 @@ private File filePassReport; private String name; - private String summary; - public FilePassReport (File filePassReport, String name, String summary) { + public FilePassReport (File filePassReport, String name) { this.filePassReport = filePassReport; this.name = name; - this.summary = summary; } public File getFilePassReport() { @@ -22,8 +20,4 @@ public String getName() { return this.name; } - - public String getShortSummary() { - return this.summary; - } } Modified: trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/reports/ReadMeReport.java =================================================================== --- trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/reports/ReadMeReport.java 2007-08-22 18:20:40 UTC (rev 494) +++ trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/reports/ReadMeReport.java 2007-08-22 18:28:57 UTC (rev 495) @@ -7,20 +7,14 @@ private File file; private String name; - private String summary; - public ReadMeReport(File file, String name, String summary) { + public ReadMeReport(File file, String name) { this.file = file; this.name = name; - this.summary = summary; } public String getName() { return this.name; } - - public String getShortSummary() { - return this.summary; - } public File getReportFile() { return this.file; Modified: trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/reports/Report.java =================================================================== --- trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/reports/Report.java 2007-08-22 18:20:40 UTC (rev 494) +++ trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/reports/Report.java 2007-08-22 18:28:57 UTC (rev 495) @@ -2,6 +2,4 @@ public interface Report { public String getName(); - - public String getShortSummary(); } Modified: trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/reports/TestReport.java =================================================================== --- trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/reports/TestReport.java 2007-08-22 18:20:40 UTC (rev 494) +++ trunk/testing/org.cishell.testing.convertertester.core.new/src/org/cishell/testing/convertertester/core/tester2/reportgen/reports/TestReport.java 2007-08-22 18:28:57 UTC (rev 495) @@ -10,15 +10,13 @@ private FilePassReport[] failedFilePassReports; private String name; - private String summary; public TestReport(File testReport, String name, FilePassReport[] successfulFilePassReports, - FilePassReport[] failedFilePassReports, String summary) { + FilePassReport[] failedFilePassReports) { this.testReport = testReport; this.name = name; this.successfulFilePassReports = successfulFilePassReports; this.failedFilePassReports = failedFilePassReports; - this.summary = summary; } public File getTestReport() { @@ -36,8 +34,4 @@ public String getName() { return this.name; } - - public String getShortSummary() { - return this.summary; - } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |