directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DIRSERVER-1223) @Ignore annotation on both core and server integ causes tests to stop
Date Fri, 15 Aug 2008 22:11:44 GMT

    [ https://issues.apache.org/jira/browse/DIRSERVER-1223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623036#action_12623036
] 

Emmanuel Lecharny commented on DIRSERVER-1223:
----------------------------------------------

Trying to fix the ModifyRdnIT tests...

There was a problem in the way the RDN.unEscapeValue( String ) method was handling '#' not
in first position and ' ' in the middle of a value, plus another problem because we simply
weren't calling this method when creating the new attribute.

Fixing those two bugs fixed tests testModifyRdnWithEncodedNewRdn() and testModifyRdnWithEscapedPoundNewRdn
().

The two other tests are a little bit more complex : the reverse LDIF is not correct when we
have a RDN with more than one AVA, as we blindly delete all the attributes even if they were
present in the original entry.

> @Ignore annotation on both core and server integ causes tests to stop
> ---------------------------------------------------------------------
>
>                 Key: DIRSERVER-1223
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1223
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core-integ
>            Reporter: Alex Karasulu
>             Fix For: 1.5.4
>
>
> The @Ignore annotation is leaving some tests unexecuted especially when run in a suite.
 The the test methods following a test with a @Ignore never execute even if they have no @Ignore.
 Also in a suite the test classes do not execute if after the test class with @Ignore annotations
on a test method.  This is not a minor problem and can lead to false positives.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message