You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Michael Miller (JIRA)" <ji...@apache.org> on 2016/07/11 17:43:11 UTC
[jira] [Created] (ACCUMULO-4367) Proper use of assertEquals
throughout FilterTest
Michael Miller created ACCUMULO-4367:
----------------------------------------
Summary: Proper use of assertEquals throughout FilterTest
Key: ACCUMULO-4367
URL: https://issues.apache.org/jira/browse/ACCUMULO-4367
Project: Accumulo
Issue Type: Improvement
Components: test
Reporter: Michael Miller
Assignee: Michael Miller
Priority: Minor
Fix For: 1.6.6, 1.7.3, 1.8.0
The majority of calls to assertEquals have improper use of the expected and actual parameters. The parameters are flipped so when the test fails, the failure message reports a confusing and inaccurate message. There are also places in this test where assertTrue is used when assertEquals would be better.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)