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:15:55 UTC
[jira] Created: (DERBY-3661) Typo yields redundant test case in
GrantRevokeTest
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
Priority: Trivial
Fix For: 10.5.0.0
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.
[jira] Updated: (DERBY-3661) Typo yields redundant test case in
GrantRevokeTest
Posted by "Dag H. Wanvik (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (DERBY-3661) Typo yields redundant test case in
GrantRevokeTest
Posted by "Dag H. Wanvik (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-3661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dag H. Wanvik updated DERBY-3661:
---------------------------------
Derby Info: [Patch Available]
GrantRevokeTest runs OK with the patch.
> 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.
[jira] Closed: (DERBY-3661) Typo yields redundant test case in
GrantRevokeTest
Posted by "Dag H. Wanvik (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-3661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dag H. Wanvik closed DERBY-3661.
--------------------------------
Resolution: Fixed
Derby Info: (was: [Patch Available])
Committed as revision 655911 on trunk.
> 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.
[jira] Assigned: (DERBY-3661) Typo yields redundant test case in
GrantRevokeTest
Posted by "Dag H. Wanvik (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-3661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dag H. Wanvik reassigned DERBY-3661:
------------------------------------
Assignee: Dag H. Wanvik
> 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
>
>
> 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.