summaryrefslogtreecommitdiff
path: root/qpid/java/perftests/visualisation-jfc/src/test
diff options
context:
space:
mode:
authorKeith Wall <kwall@apache.org>2012-12-20 17:32:49 +0000
committerKeith Wall <kwall@apache.org>2012-12-20 17:32:49 +0000
commitd88d95ce9f0873b50aca546aa911c564e71556fb (patch)
treed83da54bfcba900872df2fd63f0eb6add5634efe /qpid/java/perftests/visualisation-jfc/src/test
parent6ab63cc4ceb7f37e43a3aa4a70025099c0e58572 (diff)
downloadqpid-python-d88d95ce9f0873b50aca546aa911c564e71556fb.tar.gz
NO-JIRA: [Java Broker] Added new perf test script to test the varying consumer/producer batch size independently of the other. This simulates a use-case that has been problematic for previous Qpid versions.
Changed visualisation-jfc to allow the perf-test result summary page title to be specified from the command line. Converted BatchSize script from JSON to Javascript. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424600 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/perftests/visualisation-jfc/src/test')
-rw-r--r--qpid/java/perftests/visualisation-jfc/src/test/java/org/apache/qpid/disttest/charting/writer/ChartWriterTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/java/perftests/visualisation-jfc/src/test/java/org/apache/qpid/disttest/charting/writer/ChartWriterTest.java b/qpid/java/perftests/visualisation-jfc/src/test/java/org/apache/qpid/disttest/charting/writer/ChartWriterTest.java
index b515e70f2c..4a249e252e 100644
--- a/qpid/java/perftests/visualisation-jfc/src/test/java/org/apache/qpid/disttest/charting/writer/ChartWriterTest.java
+++ b/qpid/java/perftests/visualisation-jfc/src/test/java/org/apache/qpid/disttest/charting/writer/ChartWriterTest.java
@@ -91,7 +91,7 @@ public class ChartWriterTest extends TestCase
_writer.writeChartToFileSystem(_chart2, chartDef2);
_writer.writeChartToFileSystem(_chart1, chartDef1);
- _writer.writeHtmlSummaryToFileSystem();
+ _writer.writeHtmlSummaryToFileSystem("Performance Charts");
InputStream expectedSummaryFileInputStream = getClass().getResourceAsStream("expected-chart-summary.html");
String expectedSummaryContent = new Scanner(expectedSummaryFileInputStream).useDelimiter("\\A").next();
@@ -110,7 +110,7 @@ public class ChartWriterTest extends TestCase
_writer.writeChartToFileSystem(_chart1, chartDef1);
- _writer.writeHtmlSummaryToFileSystem();
+ _writer.writeHtmlSummaryToFileSystem("Performance Charts");
assertFalse("Only one chart generated so no summary file should have been written",
summaryFile.exists());