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 "Dag H. Wanvik (JIRA)" <ji...@apache.org> on 2008/05/05 16:21:55 UTC

[jira] Updated: (DERBY-3661) Typo yields redundant test case in GrantRevokeTest

     [ 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.