sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory Chanan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SENTRY-60) TestSolrAuthzBinding does not properly test negative cases
Date Mon, 04 Nov 2013 23:38:17 GMT

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

Gregory Chanan updated SENTRY-60:
---------------------------------

    Attachment: SENTRY-60.patch

> TestSolrAuthzBinding does not properly test negative cases
> ----------------------------------------------------------
>
>                 Key: SENTRY-60
>                 URL: https://issues.apache.org/jira/browse/SENTRY-60
>             Project: Sentry
>          Issue Type: Bug
>    Affects Versions: 1.3.0
>            Reporter: Gregory Chanan
>            Assignee: Gregory Chanan
>             Fix For: 1.3.0
>
>         Attachments: SENTRY-60.patch
>
>
> {code} 
> expectAuthException(SolrAuthzBinding binding, Subject subject,
>       Collection collection, EnumSet<SearchModelAction> action) throws Exception
{
> {code}
> is supposed to check that an exception happens for the given binding, subject, collection,
and actions, but it ignores the parameters.  This didn't cause a test failure because the
params it uses cause exceptions to be generated anyway.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message