Description
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.
Attachments
Issue Links
- is depended upon by
-
DIRSERVER-9 Complete encoder for AddRequest
- Closed
-
DIRSERVER-21 Complete encoder for AddResponse
- Closed
-
DIRSERVER-45 Integration test add/del functionality using old eve precursor
- Closed
-
DIRSERVER-92 Complete encoder for DelResponse
- Closed