Author: ron.sigal(a)jboss.com
Date: 2009-03-20 22:29:07 -0400 (Fri, 20 Mar 2009)
New Revision: 4889
Modified:
remoting2/branches/2.2/src/tests/org/jboss/test/remoting/locator/InvokerLocatorTestCase.java
Log:
JBREM-1110: Added testEmptyParameters().
Modified:
remoting2/branches/2.2/src/tests/org/jboss/test/remoting/locator/InvokerLocatorTestCase.java
===================================================================
---
remoting2/branches/2.2/src/tests/org/jboss/test/remoting/locator/InvokerLocatorTestCase.java 2009-03-21
02:28:16 UTC (rev 4888)
+++
remoting2/branches/2.2/src/tests/org/jboss/test/remoting/locator/InvokerLocatorTestCase.java 2009-03-21
02:29:07 UTC (rev 4889)
@@ -139,4 +139,12 @@
assertEquals(host, locator.getHost());
}
+ /**
+ * For JBREM-1110.
+ */
+ public void testEmptyParameters() throws Exception
+ {
+ InvokerLocator locator = new InvokerLocator("socket://:7777");
+ assertNotNull(locator.getParameters());
+ }
}
\ No newline at end of file
Show replies by date