directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r1065308 - in /directory/shared/trunk/ldap/src: main/java/org/apache/directory/shared/ldap/codec/controls/replication/syncInfoValue/ test/java/org/apache/directory/shared/ldap/codec/controls/replication/ test/java/org/apache/directory/share...
Date Sun, 30 Jan 2011 15:48:51 GMT
Author: akarasulu
Date: Sun Jan 30 15:48:50 2011
New Revision: 1065308

URL: http://svn.apache.org/viewvc?rev=1065308&view=rev
Log:
got all of shared to compile

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/replication/syncInfoValue/SyncInfoValueGrammar.java
    directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/controls/replication/SyncDoneValueControlTest.java
    directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/controls/replication/SyncInfoValueControlTest.java
    directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/controls/replication/SyncModifyDnControlTest.java
    directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/controls/replication/SyncRequestValueControlTest.java
    directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/controls/replication/SyncStateValueControlTest.java
    directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/search/controls/SubEntryControlTest.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/replication/syncInfoValue/SyncInfoValueGrammar.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/replication/syncInfoValue/SyncInfoValueGrammar.java?rev=1065308&r1=1065307&r2=1065308&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/replication/syncInfoValue/SyncInfoValueGrammar.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/controls/replication/syncInfoValue/SyncInfoValueGrammar.java
Sun Jan 30 15:48:50 2011
@@ -30,6 +30,7 @@ import org.apache.directory.shared.asn1.
 import org.apache.directory.shared.asn1.ber.tlv.UniversalTag;
 import org.apache.directory.shared.asn1.ber.tlv.Value;
 import org.apache.directory.shared.i18n.I18n;
+import org.apache.directory.shared.ldap.message.control.replication.SynchronizationInfoEnum;
 import org.apache.directory.shared.util.Strings;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;

Modified: directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/controls/replication/SyncDoneValueControlTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/controls/replication/SyncDoneValueControlTest.java?rev=1065308&r1=1065307&r2=1065308&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/controls/replication/SyncDoneValueControlTest.java
(original)
+++ directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/controls/replication/SyncDoneValueControlTest.java
Sun Jan 30 15:48:50 2011
@@ -34,6 +34,7 @@ import org.apache.directory.shared.asn1.
 import org.apache.directory.shared.ldap.codec.DefaultLdapCodecService;
 import org.apache.directory.shared.ldap.codec.ILdapCodecService;
 import org.apache.directory.shared.ldap.codec.controls.replication.syncDoneValue.ISyncDoneValue;
+import org.apache.directory.shared.ldap.codec.controls.replication.syncDoneValue.SyncDoneValueContainer;
 import org.apache.directory.shared.ldap.codec.controls.replication.syncDoneValue.SyncDoneValueDecorator;
 import org.apache.directory.shared.util.Strings;
 import org.junit.Test;

Modified: directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/controls/replication/SyncInfoValueControlTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/controls/replication/SyncInfoValueControlTest.java?rev=1065308&r1=1065307&r2=1065308&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/controls/replication/SyncInfoValueControlTest.java
(original)
+++ directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/controls/replication/SyncInfoValueControlTest.java
Sun Jan 30 15:48:50 2011
@@ -32,6 +32,8 @@ import org.apache.directory.shared.asn1.
 import org.apache.directory.shared.asn1.EncoderException;
 import org.apache.directory.shared.ldap.codec.DefaultLdapCodecService;
 import org.apache.directory.shared.ldap.codec.ILdapCodecService;
+import org.apache.directory.shared.ldap.codec.controls.replication.syncInfoValue.ISyncInfoValue;
+import org.apache.directory.shared.ldap.codec.controls.replication.syncInfoValue.SyncInfoValueContainer;
 import org.apache.directory.shared.ldap.codec.controls.replication.syncInfoValue.SyncInfoValueDecorator;
 import org.apache.directory.shared.ldap.message.control.replication.SynchronizationInfoEnum;
 import org.apache.directory.shared.util.Strings;

Modified: directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/controls/replication/SyncModifyDnControlTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/controls/replication/SyncModifyDnControlTest.java?rev=1065308&r1=1065307&r2=1065308&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/controls/replication/SyncModifyDnControlTest.java
(original)
+++ directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/controls/replication/SyncModifyDnControlTest.java
Sun Jan 30 15:48:50 2011
@@ -33,6 +33,8 @@ import org.apache.directory.shared.asn1.
 import org.apache.directory.shared.asn1.EncoderException;
 import org.apache.directory.shared.ldap.codec.DefaultLdapCodecService;
 import org.apache.directory.shared.ldap.codec.ILdapCodecService;
+import org.apache.directory.shared.ldap.codec.controls.replication.syncmodifydn.ISyncModifyDn;
+import org.apache.directory.shared.ldap.codec.controls.replication.syncmodifydn.SyncModifyDnContainer;
 import org.apache.directory.shared.ldap.codec.controls.replication.syncmodifydn.SyncModifyDnDecorator;
 import org.apache.directory.shared.util.Strings;
 import org.junit.Test;

Modified: directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/controls/replication/SyncRequestValueControlTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/controls/replication/SyncRequestValueControlTest.java?rev=1065308&r1=1065307&r2=1065308&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/controls/replication/SyncRequestValueControlTest.java
(original)
+++ directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/controls/replication/SyncRequestValueControlTest.java
Sun Jan 30 15:48:50 2011
@@ -31,6 +31,8 @@ import org.apache.directory.junit.tools.
 import org.apache.directory.junit.tools.ConcurrentJunitRunner;
 import org.apache.directory.shared.asn1.DecoderException;
 import org.apache.directory.shared.asn1.EncoderException;
+import org.apache.directory.shared.ldap.codec.DefaultLdapCodecService;
+import org.apache.directory.shared.ldap.codec.ILdapCodecService;
 import org.apache.directory.shared.ldap.codec.controls.replication.syncRequestValue.ISyncRequestValue;
 import org.apache.directory.shared.ldap.codec.controls.replication.syncRequestValue.SyncRequestValueDecorator;
 import org.apache.directory.shared.ldap.message.control.replication.SynchronizationModeEnum;
@@ -48,6 +50,9 @@ import org.junit.runner.RunWith;
 @Concurrent()
 public class SyncRequestValueControlTest
 {
+    private ILdapCodecService codec = new DefaultLdapCodecService();
+    
+    
     /**
      * Test the decoding of a SyncRequestValue control with a refreshOnly mode
      */
@@ -66,7 +71,7 @@ public class SyncRequestValueControlTest
             } );
         bb.flip();
 
-        SyncRequestValueDecorator decorator = new SyncRequestValueDecorator();
+        SyncRequestValueDecorator decorator = new SyncRequestValueDecorator( codec );
         
         ISyncRequestValue syncRequestValue = (ISyncRequestValue)decorator.decode( bb.array()
);
 
@@ -124,7 +129,7 @@ public class SyncRequestValueControlTest
             } );
         bb.flip();
 
-        SyncRequestValueDecorator decorator = new SyncRequestValueDecorator();
+        SyncRequestValueDecorator decorator = new SyncRequestValueDecorator( codec );
         
         ISyncRequestValue syncRequestValue = (ISyncRequestValue)decorator.decode( bb.array()
);
 
@@ -181,7 +186,7 @@ public class SyncRequestValueControlTest
             } );
         bb.flip();
 
-        SyncRequestValueDecorator decorator = new SyncRequestValueDecorator();
+        SyncRequestValueDecorator decorator = new SyncRequestValueDecorator(  codec );
         
         ISyncRequestValue syncRequestValue = (ISyncRequestValue)decorator.decode( bb.array()
);
 
@@ -238,7 +243,7 @@ public class SyncRequestValueControlTest
             } );
         bb.flip();
 
-        SyncRequestValueDecorator decorator = new SyncRequestValueDecorator();
+        SyncRequestValueDecorator decorator = new SyncRequestValueDecorator( codec );
         
         ISyncRequestValue syncRequestValue = (ISyncRequestValue)decorator.decode( bb.array()
);
 
@@ -295,7 +300,7 @@ public class SyncRequestValueControlTest
             } );
         bb.flip();
 
-        SyncRequestValueDecorator decorator = new SyncRequestValueDecorator();
+        SyncRequestValueDecorator decorator = new SyncRequestValueDecorator( codec );
         
         ISyncRequestValue syncRequestValue = (ISyncRequestValue)decorator.decode( bb.array()
);
 
@@ -351,7 +356,7 @@ public class SyncRequestValueControlTest
             } );
         bb.flip();
 
-        SyncRequestValueDecorator decorator = new SyncRequestValueDecorator();
+        SyncRequestValueDecorator decorator = new SyncRequestValueDecorator( codec );
         
         ISyncRequestValue syncRequestValue = (ISyncRequestValue)decorator.decode( bb.array()
);
 
@@ -408,7 +413,7 @@ public class SyncRequestValueControlTest
             } );
         bb.flip();
 
-        SyncRequestValueDecorator decorator = new SyncRequestValueDecorator();
+        SyncRequestValueDecorator decorator = new SyncRequestValueDecorator( codec );
         
         ISyncRequestValue syncRequestValue = (ISyncRequestValue)decorator.decode( bb.array()
);
 
@@ -460,7 +465,7 @@ public class SyncRequestValueControlTest
             } );
         bb.flip();
 
-        SyncRequestValueDecorator decorator = new SyncRequestValueDecorator();
+        SyncRequestValueDecorator decorator = new SyncRequestValueDecorator( codec );
         
         try
         {
@@ -488,7 +493,7 @@ public class SyncRequestValueControlTest
             } );
         bb.flip();
 
-        SyncRequestValueDecorator decorator = new SyncRequestValueDecorator();
+        SyncRequestValueDecorator decorator = new SyncRequestValueDecorator( codec );
         
         try
         {

Modified: directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/controls/replication/SyncStateValueControlTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/controls/replication/SyncStateValueControlTest.java?rev=1065308&r1=1065307&r2=1065308&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/controls/replication/SyncStateValueControlTest.java
(original)
+++ directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/controls/replication/SyncStateValueControlTest.java
Sun Jan 30 15:48:50 2011
@@ -30,6 +30,8 @@ import org.apache.directory.junit.tools.
 import org.apache.directory.junit.tools.ConcurrentJunitRunner;
 import org.apache.directory.shared.asn1.DecoderException;
 import org.apache.directory.shared.asn1.EncoderException;
+import org.apache.directory.shared.ldap.codec.DefaultLdapCodecService;
+import org.apache.directory.shared.ldap.codec.ILdapCodecService;
 import org.apache.directory.shared.ldap.codec.controls.replication.syncStateValue.ISyncStateValue;
 import org.apache.directory.shared.ldap.codec.controls.replication.syncStateValue.SyncStateValueDecorator;
 import org.apache.directory.shared.ldap.message.control.replication.SyncStateTypeEnum;
@@ -47,6 +49,8 @@ import org.junit.runner.RunWith;
 @Concurrent()
 public class SyncStateValueControlTest
 {
+    private ILdapCodecService codec = new DefaultLdapCodecService();
+    
     /**
      * Test the decoding of a SyncStateValue control with a refreshOnly mode
      */
@@ -65,7 +69,7 @@ public class SyncStateValueControlTest
             } );
         bb.flip();
 
-        SyncStateValueDecorator decorator = new SyncStateValueDecorator();
+        SyncStateValueDecorator decorator = new SyncStateValueDecorator( codec );
 
         ISyncStateValue syncStateValue = (ISyncStateValue)decorator.decode( bb.array() );
 
@@ -120,7 +124,7 @@ public class SyncStateValueControlTest
             } );
         bb.flip();
 
-        SyncStateValueDecorator decorator = new SyncStateValueDecorator();
+        SyncStateValueDecorator decorator = new SyncStateValueDecorator( codec );
 
         ISyncStateValue syncStateValue = (ISyncStateValue)decorator.decode( bb.array() );
 
@@ -175,7 +179,7 @@ public class SyncStateValueControlTest
             } );
         bb.flip();
 
-        SyncStateValueDecorator decorator = new SyncStateValueDecorator();
+        SyncStateValueDecorator decorator = new SyncStateValueDecorator( codec );
 
         ISyncStateValue syncStateValue = (ISyncStateValue)decorator.decode( bb.array() );
 
@@ -225,7 +229,7 @@ public class SyncStateValueControlTest
             } );
         bb.flip();
 
-        SyncStateValueDecorator decorator = new SyncStateValueDecorator();
+        SyncStateValueDecorator decorator = new SyncStateValueDecorator( codec );
 
         decorator.decode( bb.array() );
     }
@@ -244,7 +248,7 @@ public class SyncStateValueControlTest
             } );
         bb.flip();
 
-        SyncStateValueDecorator decorator = new SyncStateValueDecorator();
+        SyncStateValueDecorator decorator = new SyncStateValueDecorator( codec );
 
         decorator.decode( bb.array() );
     }
@@ -265,7 +269,7 @@ public class SyncStateValueControlTest
             } );
         bb.flip();
 
-        SyncStateValueDecorator decorator = new SyncStateValueDecorator();
+        SyncStateValueDecorator decorator = new SyncStateValueDecorator( codec );
 
         decorator.decode( bb.array() );
     }
@@ -290,7 +294,7 @@ public class SyncStateValueControlTest
             } );
         bb.flip();
 
-        SyncStateValueDecorator decorator = new SyncStateValueDecorator();
+        SyncStateValueDecorator decorator = new SyncStateValueDecorator( codec );
 
         ISyncStateValue syncStateValue = (ISyncStateValue)decorator.decode( bb.array() );
 

Modified: directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/search/controls/SubEntryControlTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/search/controls/SubEntryControlTest.java?rev=1065308&r1=1065307&r2=1065308&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/search/controls/SubEntryControlTest.java
(original)
+++ directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/search/controls/SubEntryControlTest.java
Sun Jan 30 15:48:50 2011
@@ -31,6 +31,8 @@ import org.apache.directory.junit.tools.
 import org.apache.directory.junit.tools.ConcurrentJunitRunner;
 import org.apache.directory.shared.asn1.DecoderException;
 import org.apache.directory.shared.asn1.EncoderException;
+import org.apache.directory.shared.ldap.codec.DefaultLdapCodecService;
+import org.apache.directory.shared.ldap.codec.ILdapCodecService;
 import org.apache.directory.shared.ldap.codec.search.controls.subentries.SubentriesDecorator;
 import org.apache.directory.shared.ldap.model.message.controls.Subentries;
 import org.apache.directory.shared.util.Strings;
@@ -47,6 +49,9 @@ import org.junit.runner.RunWith;
 @Concurrent()
 public class SubEntryControlTest
 {
+    private ILdapCodecService codec = new DefaultLdapCodecService();
+    
+    
     /**
      * Test the decoding of a SubEntryControl with a true visibility
      */
@@ -60,7 +65,7 @@ public class SubEntryControlTest
             } );
         bb.flip();
 
-        SubentriesDecorator decorator = new SubentriesDecorator();
+        SubentriesDecorator decorator = new SubentriesDecorator( codec );
         
         Subentries subentries = (Subentries)decorator.decode( bb.array() );
 
@@ -108,7 +113,7 @@ public class SubEntryControlTest
             } );
         bb.flip();
 
-        SubentriesDecorator decorator = new SubentriesDecorator();
+        SubentriesDecorator decorator = new SubentriesDecorator( codec );
         
         Subentries subentries = (Subentries)decorator.decode( bb.array() );
 
@@ -159,7 +164,7 @@ public class SubEntryControlTest
         bb.flip();
 
         // Allocate a LdapMessage Container
-        SubentriesDecorator decorator = new SubentriesDecorator();
+        SubentriesDecorator decorator = new SubentriesDecorator( codec );
         
         decorator.decode( bb.array() );
     }
@@ -181,7 +186,7 @@ public class SubEntryControlTest
         bb.flip();
 
         // Allocate a LdapMessage Container
-        SubentriesDecorator decorator = new SubentriesDecorator();
+        SubentriesDecorator decorator = new SubentriesDecorator( codec );
         
         decorator.decode( bb.array() );
     }



Mime
View raw message