You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <di...@incubator.apache.org> on 2006/01/29 01:37:32 UTC
[jira] Resolved: (DIRSNICKERS-120) Limit tests must be written for
ASN.1 LDAP messages
[ http://issues.apache.org/jira/browse/DIRSNICKERS-120?page=all ]
Emmanuel Lecharny resolved DIRSNICKERS-120:
-------------------------------------------
Resolution: Fixed
DONE !!!
246 tests have been wrote, and I bet that very few strange cases could be tested for more coverage, but not with Junit.
We must find a better way than Junit to write tests for ASN.1 ! (There are more than 15 000 lines of code just to test LdapRequests...)
> Limit tests must be written for ASN.1 LDAP messages
> ---------------------------------------------------
>
> Key: DIRSNICKERS-120
> URL: http://issues.apache.org/jira/browse/DIRSNICKERS-120
> Project: Directory ASN1
> Type: Bug
> Reporter: Emmanuel Lecharny
> Assignee: Emmanuel Lecharny
>
> A lot of limit tests must be written as soon as possible to check that the Ldap Message are handled correctly. In some cases, we have NPE raised if we got an empty OCTET STRING. Some other requests may have empty list of attributes (like in SearchResultEntry), but this case is not handled correctly, leading to DecoderException being generated.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira