Author: woolfel Date: Tue Nov 22 12:56:52 2005 New Revision: 348248 URL: http://svn.apache.org/viewcvs?rev=348248&view=rev Log: changing the output directory to testfiles. will update svn ignore for the generated files
Modified: jakarta/jmeter/branches/rel-2-1/test/src/org/apache/jmeter/testelement/BarChartTest.java jakarta/jmeter/branches/rel-2-1/test/src/org/apache/jmeter/testelement/LineGraphTest.java Modified: jakarta/jmeter/branches/rel-2-1/test/src/org/apache/jmeter/testelement/BarChartTest.java URL: http://svn.apache.org/viewcvs/jakarta/jmeter/branches/rel-2-1/test/src/org/apache/jmeter/testelement/BarChartTest.java?rev=348248&r1=348247&r2=348248&view=diff ============================================================================== --- jakarta/jmeter/branches/rel-2-1/test/src/org/apache/jmeter/testelement/BarChartTest.java (original) +++ jakarta/jmeter/branches/rel-2-1/test/src/org/apache/jmeter/testelement/BarChartTest.java Tue Nov 22 12:56:52 2005 @@ -44,12 +44,16 @@ // String sampleLog = "C:/eclipse3/workspace/jmeter-21/bin/testfiles/sample_log1.jtl"; String sampleLog = "testfiles/sample_log1.jtl"; String sampleLog2 = "testfiles/sample_log1b.jtl"; + String sampleLog3 = "testfiles/sample_log1c.jtl"; JTLData input = new JTLData(); JTLData input2 = new JTLData(); + JTLData input3 = new JTLData(); input.setDataSource(sampleLog); input.loadData(); input2.setDataSource(sampleLog2); input2.loadData(); + input3.setDataSource(sampleLog3); + input3.loadData(); assertTrue((input.getStartTimestamp() > 0)); assertTrue((input.getEndTimestamp() > input.getStartTimestamp())); @@ -58,6 +62,7 @@ java.util.ArrayList list = new java.util.ArrayList(); list.add(input); list.add(input2); + list.add(input3); BarChart bchart = new BarChart(); bchart.setTitle("Sample Chart"); @@ -73,6 +78,6 @@ SaveGraphicsService serv = new SaveGraphicsService(); String filename = bchart.getTitle(); filename = filename.replace(' ','_'); - serv.saveJComponent(filename,SaveGraphicsService.PNG,gr); + serv.saveJComponent("./testfiles/" + filename,SaveGraphicsService.PNG,gr); } } Modified: jakarta/jmeter/branches/rel-2-1/test/src/org/apache/jmeter/testelement/LineGraphTest.java URL: http://svn.apache.org/viewcvs/jakarta/jmeter/branches/rel-2-1/test/src/org/apache/jmeter/testelement/LineGraphTest.java?rev=348248&r1=348247&r2=348248&view=diff ============================================================================== --- jakarta/jmeter/branches/rel-2-1/test/src/org/apache/jmeter/testelement/LineGraphTest.java (original) +++ jakarta/jmeter/branches/rel-2-1/test/src/org/apache/jmeter/testelement/LineGraphTest.java Tue Nov 22 12:56:52 2005 @@ -78,6 +78,6 @@ SaveGraphicsService serv = new SaveGraphicsService(); String filename = lgraph.getTitle(); filename = filename.replace(' ','_'); - serv.saveJComponent(filename,SaveGraphicsService.PNG,gr); + serv.saveJComponent("./testfiles/" + filename,SaveGraphicsService.PNG,gr); } } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]