summaryrefslogtreecommitdiff
path: root/java/client/src/test
diff options
context:
space:
mode:
authorArnaud Simon <arnaudsimon@apache.org>2007-11-08 09:49:03 +0000
committerArnaud Simon <arnaudsimon@apache.org>2007-11-08 09:49:03 +0000
commit81e4e3764475ab34da0728ed4c4b19ddf61da8b1 (patch)
tree8d3500cfa27e36376b78519ae1a3cc5a3a633c3c /java/client/src/test
parent9df2509ae1f7cc49f0f08baf2960b9f3ea3454b1 (diff)
downloadqpid-python-81e4e3764475ab34da0728ed4c4b19ddf61da8b1.tar.gz
added several cr and xa tests
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@593097 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/client/src/test')
-rw-r--r--java/client/src/test/java/org/apache/qpid/testutil/QpidTestCase.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/java/client/src/test/java/org/apache/qpid/testutil/QpidTestCase.java b/java/client/src/test/java/org/apache/qpid/testutil/QpidTestCase.java
index 21214146d6..ca9bdee514 100644
--- a/java/client/src/test/java/org/apache/qpid/testutil/QpidTestCase.java
+++ b/java/client/src/test/java/org/apache/qpid/testutil/QpidTestCase.java
@@ -137,9 +137,9 @@ public class QpidTestCase extends TestCase
*/
public void startBroker() throws Exception
{
- _logger.info("Starting broker");
+ _logger.info("Starting broker: " + _shel + " " + _brokerPath + " " + _brokerParams + "");
Runtime rt = Runtime.getRuntime();
- _brokerProcess = rt.exec(_shel + " " + _brokerPath + " " + _brokerParams);
+ _brokerProcess = rt.exec(_shel + " " + _brokerPath + " " + _brokerParams + "");
BufferedReader reader = new BufferedReader(new InputStreamReader(_brokerProcess.getInputStream()));
if (reader.ready())
{
@@ -177,6 +177,11 @@ public class QpidTestCase extends TestCase
_connectionFactory = null;
}
+ public void shutdownServer() throws Exception
+ {
+ killBroker();
+ setUp();
+ }
/**
* we assume that the environment is correctly set
* i.e. -Djava.naming.provider.url="..//example010.properties"