Author: doogie
Date: Mon Mar 15 07:24:14 2010
New Revision: 923097
URL:
http://svn.apache.org/viewvc?rev=923097&view=revLog:
Converters is a static helper class, so test for that.
Modified:
ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/test/MiscTests.java
Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/test/MiscTests.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/test/MiscTests.java?rev=923097&r1=923096&r2=923097&view=diff==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/test/MiscTests.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/conversion/test/MiscTests.java Mon Mar 15 07:24:14 2010
@@ -52,6 +52,10 @@ public class MiscTests extends GenericTe
assertEquals(label, wanted, converter.convert(UtilGenerics.<S>cast(source)).getResult());
}
+ public void testStaticHelperClass() throws Exception {
+ assertStaticHelperClass(Converters.class);
+ }
+
public void testExtendsImplements() throws Exception {
List<String> arraysList = Arrays.asList("a", "b", "c");
assertConversion("", "[\n \"a\",\n \"b\",\n \"c\"\n]", JSONResult.Indenting.class, arraysList, arraysList.getClass());