You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by Nirmal Fernando <ni...@gmail.com> on 2011/02/15 06:10:52 UTC
UpdateBoolean Tests
Hi All,
I am having a look at Derby-5042
(https://issues.apache.org/jira/browse/DERBY-5042).
Just wondering whether current tests cover the updateBoolean() method.
I had a look at UpdatableResultSetTest.java
(org.apache.derbyTesting.functionTests.tests.lang) class and found
that it is still not supporting for "boolean" type.
Is this covered in a different test file? or else isn't the
UpdatableResultSetTest class should be updated?
Thanks.
--
Best Regards,
Nirmal
C.S.Nirmal J. Fernando
Department of Computer Science & Engineering,
Faculty of Engineering,
University of Moratuwa,
Sri Lanka.
Blog: http://nirmalfdo.blogspot.com/
Re: UpdateBoolean Tests
Posted by Nirmal Fernando <ni...@gmail.com>.
Thanks Knut! I hope so!!
On Tue, Feb 15, 2011 at 1:59 PM, Knut Anders Hatlen
<kn...@oracle.com> wrote:
> Nirmal Fernando <ni...@gmail.com> writes:
>
>> Hi All,
>>
>> I am having a look at Derby-5042
>> (https://issues.apache.org/jira/browse/DERBY-5042).
>>
>> Just wondering whether current tests cover the updateBoolean() method.
>> I had a look at UpdatableResultSetTest.java
>> (org.apache.derbyTesting.functionTests.tests.lang) class and found
>> that it is still not supporting for "boolean" type.
>>
>> Is this covered in a different test file? or else isn't the
>> UpdatableResultSetTest class should be updated?
>
> Hi Nirmal,
>
> I think you're right that this is the only test we have for
> updateBoolean(), and it looks like the right place to test that we
> support it for the BOOLEAN data type. Hopefully, it should be enough to
> update the tables at the top of the class with rows for BOOLEAN to get
> it tested.
>
> --
> Knut Anders
>
--
Best Regards,
Nirmal
C.S.Nirmal J. Fernando
Department of Computer Science & Engineering,
Faculty of Engineering,
University of Moratuwa,
Sri Lanka.
Blog: http://nirmalfdo.blogspot.com/
Re: UpdateBoolean Tests
Posted by Knut Anders Hatlen <kn...@oracle.com>.
Nirmal Fernando <ni...@gmail.com> writes:
> Hi All,
>
> I am having a look at Derby-5042
> (https://issues.apache.org/jira/browse/DERBY-5042).
>
> Just wondering whether current tests cover the updateBoolean() method.
> I had a look at UpdatableResultSetTest.java
> (org.apache.derbyTesting.functionTests.tests.lang) class and found
> that it is still not supporting for "boolean" type.
>
> Is this covered in a different test file? or else isn't the
> UpdatableResultSetTest class should be updated?
Hi Nirmal,
I think you're right that this is the only test we have for
updateBoolean(), and it looks like the right place to test that we
support it for the BOOLEAN data type. Hopefully, it should be enough to
update the tables at the top of the class with rows for BOOLEAN to get
it tested.
--
Knut Anders