db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ahsan shamsudeen <ahsan.competit...@gmail.com>
Subject Re: [jira] [Commented] (DERBY-6264) Improve test coverage of org.apache.derby.iapi.db.PropertyInfo
Date Wed, 19 Jun 2013 17:35:42 GMT
I get confused with the suggested changes, Since I am totally new to derby.
Can you please suggest what should I exactly do to improve the code
coverage of derby(DERBY-6164). Guide me a bit.thank you in advance for
considering my request.

Thanks,
Ahsan


On Tue, Jun 18, 2013 at 9:50 PM, Myrna van Lunteren (JIRA)
<jira@apache.org>wrote:

>
>     [
> https://issues.apache.org/jira/browse/DERBY-6264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13686889#comment-13686889]
>
> Myrna van Lunteren commented on DERBY-6264:
> -------------------------------------------
>
> Looks like the class TestPropertyInfo was just created to get info about
> *all* the properties, as opposed to what one gets from
> org.apache.derby.iapi.db.PropertyInfo. I think initially it was only used
> in syscat.sql (later converted (DERBY-2484) to lang.SystemCatalogTest). It
> is now, as Dag said, also used in 2 further tests.
>
> I tracked the original create comment in the cloudscape source (by Rick,
> back in 1998) and it says:
> "make PropertyInfo only reveal user-visible conglomerate properties;
> create new class TestPropertyInfo to reveal ALL conglomerate properties."
>
> Often, especially in older (.sql) tests, methods are used in procedures or
> functions, so just doing a class or method search in an IDE is not
> sufficient to find whether a class (especially one from the
> functionTests.util directory) is being used.
>
>
> > Improve test coverage of org.apache.derby.iapi.db.PropertyInfo
> > --------------------------------------------------------------
> >
> >                 Key: DERBY-6264
> >                 URL: https://issues.apache.org/jira/browse/DERBY-6264
> >             Project: Derby
> >          Issue Type: Sub-task
> >          Components: Test
> >            Reporter: Bryan Pendleton
> >            Assignee: ahsan shamsudeen
> >            Priority: Minor
> >
> > According to the coverage reports, only 1 of the 5 methods in
> > org.apache.derby.iapi.db.PropertyInfo is exercised by the Derby
> > regression tests.
> > This sub-task is to improve that test coverage.
>
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA
> administrators
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>

Mime
View raw message