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)junit.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]