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] [Created] (SENTRY-60) TestSolrAuthzBinding does not properly test negative cases
Date Mon, 04 Nov 2013 23:36:17 GMT
Gregory Chanan created SENTRY-60:
------------------------------------

             Summary: 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


{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