Finally, here is the patch... it's a very simple patch ;) Alf.
El Mon, 8 Sep 2003 19:46:51 +0100 robert burrell donkin escribi�: > hi Alfonso > > i didn't find the patch. (you might need to zip or tar.gz it so that it > doesn't get stripped by the servers.) > > - robert > > On Monday, September 8, 2003, at 12:04 PM, Alfonso da Silva wrote: > > > Hi! > > > > I am modifying the "BasicDynaBeanTestCase" class to > > add the test of a new functionality that I have done. > > I believe that I have found a bug in the > > "testGetDescriptors" method of this class. > > > > But, with this correction, the test of the class > > "WrapDynaBeanTestCase" (this class extends > > "BasicDynaBeanTestCase") fails. > > > > is it a "WrapDynaBean" bug or it doesn't exist the > > bug in "BasicDynaBeanTestCase"? I think that it's > > bug of "WrapDynaBean", because the attribute > > mappedProperty exists in the bean TestBean (that is > > used to prove the class "WrapDynaBean") > > > > I include the "BasicDynaBeanTestCase" patch and > > the output of the test execution. > > > > Alf. > > > > > > -- > > Mensaje enviado desde http://www.e-milio.com > > init: > > -------- beanutils 1.7-dev -------- > > prepare: > > static: > > compile: > > compile.tests: > > test.basic.dynabean: > > Running BasicDynaBean tests ... > > .................................. > > Time: 0,218 > > OK (35 tests) > > test.wrap.dynabean: > > Running WrapDynaBean tests ... > > ............F...................... > > Time: 0,276 > > There was 1 failure: > > 1) > > > testGetDescriptors(org.apache.commons.beanutils.WrapDynaBeanTestCase)j > unit. > > framework.AssertionFailedError: Missing property mappedProperty > > at > > org.apache.commons.beanutils.BasicDynaBeanTestCase.testGetDescriptors > > (BasicDynaBeanTestCase.java:342) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: > > 39) > > at > > sun.reflect.DelegatingMethodAccessorImpl.invoke > > (DelegatingMethodAccessorImpl.java:25) > > FAILURES!!! > > Tests run: 35, Failures: 1, Errors: 0 > > jakarta-commons/beanutils/build.xml [271] Java returned: 1 > > BUILD FAILED > > Total time: 1 second > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Mensaje enviado desde http://www.e-milio.com
attachment.tar.gz
Description: GNU Zip compressed data
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
