[jboss-cvs] JBossAS SVN: r94635 - projects/service-binding/trunk/core/src/test/java/org/jboss/test/services/binding/test.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Oct 9 23:52:58 EDT 2009
Author: bstansberry at jboss.com
Date: 2009-10-09 23:52:58 -0400 (Fri, 09 Oct 2009)
New Revision: 94635
Modified:
projects/service-binding/trunk/core/src/test/java/org/jboss/test/services/binding/test/ServiceBindingManagerUnitTestCase.java
Log:
Make test happy now that FindBugs is happy
Modified: projects/service-binding/trunk/core/src/test/java/org/jboss/test/services/binding/test/ServiceBindingManagerUnitTestCase.java
===================================================================
--- projects/service-binding/trunk/core/src/test/java/org/jboss/test/services/binding/test/ServiceBindingManagerUnitTestCase.java 2009-10-10 00:07:46 UTC (rev 94634)
+++ projects/service-binding/trunk/core/src/test/java/org/jboss/test/services/binding/test/ServiceBindingManagerUnitTestCase.java 2009-10-10 03:52:58 UTC (rev 94635)
@@ -108,7 +108,10 @@
mockStore.setBinding(binding);
assertEquals(5, testee.getIntBinding(SVC_NAME, BINDING_NAME));
Object[] params = source.getParams();
- assertNull(params);
+ if (params != null)
+ {
+ assertEquals(0, params.length);
+ }
}
public void testGetIntBindingNoBinding() throws Exception
@@ -149,7 +152,10 @@
mockStore.setBinding(binding);
assertEquals(result, testee.getInetAddressBinding(SVC_NAME, BINDING_NAME));
Object[] params = source.getParams();
- assertNull(params);
+ if (params != null)
+ {
+ assertEquals(0, params.length);
+ }
}
public void testGetInetAddressBindingNoBinding() throws Exception
More information about the jboss-cvs-commits
mailing list