directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r1063883 - /directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/subtree/SubentryServiceIT.java
Date Wed, 26 Jan 2011 21:57:10 GMT
Author: akarasulu
Date: Wed Jan 26 21:57:10 2011
New Revision: 1063883

URL: http://svn.apache.org/viewvc?rev=1063883&view=rev
Log:
fixed issue with core-integ test dealing with subentries control encoding not occuring

Modified:
    directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/subtree/SubentryServiceIT.java

Modified: directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/subtree/SubentryServiceIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/subtree/SubentryServiceIT.java?rev=1063883&r1=1063882&r2=1063883&view=diff
==============================================================================
--- directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/subtree/SubentryServiceIT.java
(original)
+++ directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/subtree/SubentryServiceIT.java
Wed Jan 26 21:57:10 2011
@@ -1268,8 +1268,10 @@ public class SubentryServiceIT extends A
 
         // now add the control with visibility set to true where all entries
         // except subentries disappear
-        Subentries ctl = new Subentries();
+        SubentriesDecorator decorator = new SubentriesDecorator();
+        Subentries ctl = ( Subentries ) decorator.getDecorated();
         ctl.setVisibility( true );
+        decorator.getValue();
         sysRoot.setRequestControls( JndiUtils.toJndiControls(new Control[]
                 {ctl}) );
         list = sysRoot.search( "", "(objectClass=*)", searchControls );



Mime
View raw message