summaryrefslogtreecommitdiff
path: root/qpid/java/client
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
commit544d4de8460b0eecb02c705430ca6b165bcbe64c (patch)
tree97d83ba800b9addbdbb516dd193a7e29f7163900 /qpid/java/client
parent3d46a930e04c1678275e726e6fd627801b10d186 (diff)
downloadqpid-python-544d4de8460b0eecb02c705430ca6b165bcbe64c.tar.gz
added several cr and xa tests
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@593097 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/client')
-rw-r--r--qpid/java/client/src/test/java/org/apache/qpid/testutil/QpidTestCase.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/qpid/java/client/src/test/java/org/apache/qpid/testutil/QpidTestCase.java b/qpid/java/client/src/test/java/org/apache/qpid/testutil/QpidTestCase.java
index 21214146d6..ca9bdee514 100644
--- a/qpid/java/client/src/test/java/org/apache/qpid/testutil/QpidTestCase.java
+++ b/qpid/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"