db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dag H. Wanvik (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-3661) Typo yields redundant test case in GrantRevokeTest
Date Mon, 05 May 2008 14:21:55 GMT

     [ https://issues.apache.org/jira/browse/DERBY-3661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dag H. Wanvik updated DERBY-3661:
---------------------------------

    Attachment: derby-3661.diff

Attaching a small patch which removes the redundant lines and adds
two more tests cases, which tests that the grant has not opened up for select access to:

b) the same table name in a different schema for a user not granted to
c) a different table name in a different schema for a user not granted to

The existing redundant line tested that the grant has not opened up for select access to:

a)  the same table for a user not granted to

> Typo yields redundant test case in GrantRevokeTest
> --------------------------------------------------
>
>                 Key: DERBY-3661
>                 URL: https://issues.apache.org/jira/browse/DERBY-3661
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>            Reporter: Dag H. Wanvik
>            Assignee: Dag H. Wanvik
>            Priority: Trivial
>             Fix For: 10.5.0.0
>
>         Attachments: derby-3661.diff
>
>
> In GrantRevokeTest#testSimpleGrant, these two line are identical; the least line
> just repeats the test case. This is probably just a typo.
>   assertSelectPrivilege(false, users[2], "s1", "t1", null);
>   assertSelectPrivilege(false, users[2], "s1", "t1", null);

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message