Author: ron.sigal(a)jboss.com
Date: 2009-03-20 22:29:40 -0400 (Fri, 20 Mar 2009)
New Revision: 4890
Modified:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/locator/InvokerLocatorTestCase.java
Log:
JBREM-1110: Added testEmptyParameters().
Modified:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/locator/InvokerLocatorTestCase.java
===================================================================
---
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/locator/InvokerLocatorTestCase.java 2009-03-21
02:29:07 UTC (rev 4889)
+++
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/locator/InvokerLocatorTestCase.java 2009-03-21
02:29:40 UTC (rev 4890)
@@ -501,4 +501,13 @@
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