directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1103787 - in /directory/shared/branches/shared-osgi/ldap/codec/standalone: pom.xml src/test/java/org/apache/directory/shared/ldap/codec/osgi/AbstractCodecServiceTest.java
Date Mon, 16 May 2011 16:38:09 GMT
Author: elecharny
Date: Mon May 16 16:38:08 2011
New Revision: 1103787

URL: http://svn.apache.org/viewvc?rev=1103787&view=rev
Log:
o Made the eclipse tests happy by injecting the System.property( "default.codec" )
o Added a missing default control

Modified:
    directory/shared/branches/shared-osgi/ldap/codec/standalone/pom.xml
    directory/shared/branches/shared-osgi/ldap/codec/standalone/src/test/java/org/apache/directory/shared/ldap/codec/osgi/AbstractCodecServiceTest.java

Modified: directory/shared/branches/shared-osgi/ldap/codec/standalone/pom.xml
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-osgi/ldap/codec/standalone/pom.xml?rev=1103787&r1=1103786&r2=1103787&view=diff
==============================================================================
--- directory/shared/branches/shared-osgi/ldap/codec/standalone/pom.xml (original)
+++ directory/shared/branches/shared-osgi/ldap/codec/standalone/pom.xml Mon May 16 16:38:08
2011
@@ -76,23 +76,14 @@
         <groupId>org.apache.maven.plugins</groupId>
         <configuration>
           <systemPropertyVariables>
-            <workingDirectory>${basedir}/target</workingDirectory>
-            <felix.cache.rootdir>
-              ${project.build.directory}
-            </felix.cache.rootdir>
-            <felix.cache.locking>
-              false
-            </felix.cache.locking>
-            <org.osgi.framework.storage>
-              osgi-cache
-            </org.osgi.framework.storage>
             <default.controls>
               org.apache.directory.shared.ldap.codec.controls.cascade.CascadeFactory,
               org.apache.directory.shared.ldap.codec.controls.manageDsaIT.ManageDsaITFactory,
               org.apache.directory.shared.ldap.codec.controls.search.entryChange.EntryChangeFactory,
               org.apache.directory.shared.ldap.codec.controls.search.pagedSearch.PagedResultsFactory,
               org.apache.directory.shared.ldap.codec.controls.search.persistentSearch.PersistentSearchFactory,
-              org.apache.directory.shared.ldap.codec.controls.search.persistentSearch.PersistentSearchFactory
+              org.apache.directory.shared.ldap.codec.controls.search.persistentSearch.PersistentSearchFactory,
+              org.apache.directory.shared.ldap.codec.controls.search.subentries.SubentriesFactory
             </default.controls>
             <extra.controls>
               

Modified: directory/shared/branches/shared-osgi/ldap/codec/standalone/src/test/java/org/apache/directory/shared/ldap/codec/osgi/AbstractCodecServiceTest.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-osgi/ldap/codec/standalone/src/test/java/org/apache/directory/shared/ldap/codec/osgi/AbstractCodecServiceTest.java?rev=1103787&r1=1103786&r2=1103787&view=diff
==============================================================================
--- directory/shared/branches/shared-osgi/ldap/codec/standalone/src/test/java/org/apache/directory/shared/ldap/codec/osgi/AbstractCodecServiceTest.java
(original)
+++ directory/shared/branches/shared-osgi/ldap/codec/standalone/src/test/java/org/apache/directory/shared/ldap/codec/osgi/AbstractCodecServiceTest.java
Mon May 16 16:38:08 2011
@@ -46,6 +46,15 @@ public abstract class AbstractCodecServi
     @BeforeClass
     public static void setupLdapApiService() throws Exception
     {
+        System.setProperty( "default.controls", 
+            "org.apache.directory.shared.ldap.codec.controls.cascade.CascadeFactory," +
+            "org.apache.directory.shared.ldap.codec.controls.manageDsaIT.ManageDsaITFactory,"
+
+            "org.apache.directory.shared.ldap.codec.controls.search.entryChange.EntryChangeFactory,"
+
+            "org.apache.directory.shared.ldap.codec.controls.search.pagedSearch.PagedResultsFactory,"
+
+            "org.apache.directory.shared.ldap.codec.controls.search.persistentSearch.PersistentSearchFactory,"
+
+            "org.apache.directory.shared.ldap.codec.controls.search.persistentSearch.PersistentSearchFactory,"
+
+            "org.apache.directory.shared.ldap.codec.controls.search.subentries.SubentriesFactory"
);
+
         codec = new StandaloneLdapApiService();
         encoder = new LdapEncoder( codec );
     }



Mime
View raw message