You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Kai Zheng (JIRA)" <ji...@apache.org> on 2015/01/22 03:43:34 UTC

[jira] [Updated] (DIRKRB-150) Refactor some tests

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

Kai Zheng updated DIRKRB-150:
-----------------------------
    Description: 
Found by Stefan:

The signature of assertEquals is
{code}
    assertEquals(Object expected, Object actual)
{code}, but some asserts in codes misplace expected values and actual values.

This will check existing test cases and fix them.

  was:
1. The signature of assertEquals is
{code}
    assertEquals(Object expected, Object actual)
{code}, but some asserts in codes misplace expected values and actual values.
2. Refactor some tests to use a more advanced test library, like AssertJ.


> Refactor some tests
> -------------------
>
>                 Key: DIRKRB-150
>                 URL: https://issues.apache.org/jira/browse/DIRKRB-150
>             Project: Directory Kerberos
>          Issue Type: Sub-task
>            Reporter: Lin Chen
>
> Found by Stefan:
> The signature of assertEquals is
> {code}
>     assertEquals(Object expected, Object actual)
> {code}, but some asserts in codes misplace expected values and actual values.
> This will check existing test cases and fix them.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)