/[Apache-SVN]/jakarta/commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/locale/converters/DateLocaleConverterTestCase.java
ViewVC logotype

Diff of /jakarta/commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/locale/converters/DateLocaleConverterTestCase.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- jakarta/commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/locale/converters/DateLocaleConverterTestCase.java	2005/05/28 02:14:35	178854
+++ jakarta/commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/locale/converters/DateLocaleConverterTestCase.java	2005/05/28 02:42:41	178855
@@ -411,28 +411,5 @@ public class DateLocaleConverterTestCase
 
     }
 
-    /**
-     * Test Converting an invalid value.
-     */
-    protected void convertInvalid(BaseLocaleConverter converter, String msgId, Object expectedValue) {
-
-        // Convert value with no pattern
-        try {
-            result = converter.convert("xyz");
-            if (expectedValue == null) {
-                fail("Expected ConversionException if no default value " + msgId);
-            }
-        } catch (Exception e) {
-            if (expectedValue != null) {
-                fail("Expected default value " + msgId + " threw " + e);
-            }
-        }
-
-        if (expectedValue != null) {
-            assertEquals("Check invalid conversion is default " + msgId, expectedValue, result);
-        }
-
-    }
-
 }
 

 

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26