|
From: Márcio V. d. S. <mv...@us...> - 2007-10-15 20:23:23
|
Update of /cvsroot/tail/Tail/src/test/net/sf/tail/report In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv21382/src/test/net/sf/tail/report Modified Files: ReportTest.java ReportGeneratorTest.java CompleteReportGeneratorTest.java Log Message: refatoração gigante! Stock virou TimeSeries Index: CompleteReportGeneratorTest.java =================================================================== RCS file: /cvsroot/tail/Tail/src/test/net/sf/tail/report/CompleteReportGeneratorTest.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** CompleteReportGeneratorTest.java 10 Oct 2007 19:04:09 -0000 1.6 --- CompleteReportGeneratorTest.java 15 Oct 2007 20:23:23 -0000 1.7 *************** *** 58,62 **** @Test public void testSMAGenerate() throws IOException { ! Report report = new Report(new TotalProfitCriterion(), slicer, decisions); StringBuffer html = new ReportHTMLGenerator().generate(report, criteria, "", urls); --- 58,62 ---- @Test public void testSMAGenerate() throws IOException { ! Report report = new Report(null ,new TotalProfitCriterion(), slicer, decisions); StringBuffer html = new ReportHTMLGenerator().generate(report, criteria, "", urls); *************** *** 69,73 **** @Test public void testSMAGenerateWithoutCriteria() throws IOException { ! Report report = new Report(new TotalProfitCriterion(), slicer, decisions); StringBuffer html = new ReportHTMLGenerator().generate(report, "", urls); --- 69,73 ---- @Test public void testSMAGenerateWithoutCriteria() throws IOException { ! Report report = new Report(null,new TotalProfitCriterion(), slicer, decisions); StringBuffer html = new ReportHTMLGenerator().generate(report, "", urls); Index: ReportTest.java =================================================================== RCS file: /cvsroot/tail/Tail/src/test/net/sf/tail/report/ReportTest.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ReportTest.java 3 Oct 2007 22:56:47 -0000 1.4 --- ReportTest.java 15 Oct 2007 20:23:23 -0000 1.5 *************** *** 47,51 **** public void testGetAllTrades() throws IOException { ! Report report = new Report(new TotalProfitCriterion(), slicer, decisions); assertEquals(trades, report.getAllTrades()); } --- 47,51 ---- public void testGetAllTrades() throws IOException { ! Report report = new Report(null, new TotalProfitCriterion(), slicer, decisions); assertEquals(trades, report.getAllTrades()); } *************** *** 54,58 **** public void testGetCriterionValue() throws IOException { ! Report report = new Report(new TotalProfitCriterion(), slicer, decisions); assertEquals(4.5, report.getCriterionValue()); } --- 54,58 ---- public void testGetCriterionValue() throws IOException { ! Report report = new Report(null, new TotalProfitCriterion(), slicer, decisions); assertEquals(4.5, report.getCriterionValue()); } Index: ReportGeneratorTest.java =================================================================== RCS file: /cvsroot/tail/Tail/src/test/net/sf/tail/report/ReportGeneratorTest.java,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** ReportGeneratorTest.java 10 Oct 2007 19:04:09 -0000 1.24 --- ReportGeneratorTest.java 15 Oct 2007 20:23:23 -0000 1.25 *************** *** 53,57 **** @Test public void testSMAGenerate() throws IOException { ! Report report = new Report(new TotalProfitCriterion(), slicer, decisions); StringBuffer html = new ReportHTMLGenerator().generate(report, criteria, ""); --- 53,57 ---- @Test public void testSMAGenerate() throws IOException { ! Report report = new Report(null, new TotalProfitCriterion(), slicer, decisions); StringBuffer html = new ReportHTMLGenerator().generate(report, criteria, ""); *************** *** 63,67 **** @Test public void testSMAGenerateWithoutCriteria() throws IOException { ! Report report = new Report(new TotalProfitCriterion(), slicer, decisions); StringBuffer html = new ReportHTMLGenerator().generate(report, ""); --- 63,67 ---- @Test public void testSMAGenerateWithoutCriteria() throws IOException { ! Report report = new Report(null, new TotalProfitCriterion(), slicer, decisions); StringBuffer html = new ReportHTMLGenerator().generate(report, ""); |