qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arnaudsi...@apache.org
Subject svn commit: r593097 - /incubator/qpid/trunk/qpid/java/client/src/test/java/org/apache/qpid/testutil/QpidTestCase.java
Date Thu, 08 Nov 2007 09:49:04 GMT
Author: arnaudsimon
Date: Thu Nov  8 01:49:03 2007
New Revision: 593097

URL: http://svn.apache.org/viewvc?rev=593097&view=rev
Log:
added several cr and xa tests

Modified:
    incubator/qpid/trunk/qpid/java/client/src/test/java/org/apache/qpid/testutil/QpidTestCase.java

Modified: incubator/qpid/trunk/qpid/java/client/src/test/java/org/apache/qpid/testutil/QpidTestCase.java
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/client/src/test/java/org/apache/qpid/testutil/QpidTestCase.java?rev=593097&r1=593096&r2=593097&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/java/client/src/test/java/org/apache/qpid/testutil/QpidTestCase.java
(original)
+++ incubator/qpid/trunk/qpid/java/client/src/test/java/org/apache/qpid/testutil/QpidTestCase.java
Thu Nov  8 01:49:03 2007
@@ -137,9 +137,9 @@
      */
     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 @@
         _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"



Mime
View raw message