directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [jira] Created: (DIRSNICKERS-93) without equals implementation in Add/Delete stubs tests are invalid
Date Thu, 26 Aug 2004 06:03:19 GMT

  A new issue has been created in JIRA.

View the issue:

Here is an overview of the issue:
        Key: DIRSNICKERS-93
    Summary: without equals implementation in Add/Delete stubs tests are invalid
       Type: Bug

     Status: Open
   Priority: Major

    Project: Directory Snickers
             LDAP Provider

   Assignee: Alex Karasulu
   Reporter: Alex Karasulu

    Created: Wed, 25 Aug 2004 11:02 PM
    Updated: Wed, 25 Aug 2004 11:02 PM

I just realized that the tests for add and delete req/resp pairs are using the parent equals()
methods from the AbstractMessage base class which only compares the type, controls and message
ids of Messages.  We need to make sure the req/resp pairs factor in additional attributes
while determining equality.

For the responses we can kill two birds with one stone by overriding AbstractMessage.equals()
within the AbstractResultResponse.  This way we can compare the result properties in one place
to determine equality.

The Add and Delete requests are going to need their own equals() overrides within AddRequestImpl
and DeleteRequestImpl. 

This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:

If you want more information on JIRA, or have a bug to report see:

View raw message