Author: skitching Date: Sun Mar 6 18:21:12 2005 New Revision: 156365 URL: http://svn.apache.org/viewcvs?view=rev&rev=156365 Log: Added dummy test method to keep junit happy; a TestCase class without any test methods is reported as an error.
Modified: jakarta/commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/locale/converters/BaseLocaleConverterTestCase.java Modified: jakarta/commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/locale/converters/BaseLocaleConverterTestCase.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/locale/converters/BaseLocaleConverterTestCase.java?view=diff&r1=156364&r2=156365 ============================================================================== --- jakarta/commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/locale/converters/BaseLocaleConverterTestCase.java (original) +++ jakarta/commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/locale/converters/BaseLocaleConverterTestCase.java Sun Mar 6 18:21:12 2005 @@ -22,7 +22,9 @@ import org.apache.commons.beanutils.locale.BaseLocaleConverter; /** - * Base Test Case for the DecimalLocaleConverter classes. + * Base Test Case for the DecimalLocaleConverter classes. This class doesn't + * define any real tests; it just provides useful methods for the real + * test case classes to inherit. * * @author Niall Pemberton * @version $Revision$ $Date$ @@ -252,5 +254,13 @@ } + /** + * This class isn't intended to perform any real tests; it just provides + * methods for the real test cases to inherit. However junit complains + * if a class named ..TestCase contains no test methods, so here we + * define a dummy one to keep it happy. + */ + public void testNothing() { + } } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]