directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r985686 [4/4] - in /directory: apacheds/branches/apacheds-codec-merge/core-api/src/main/java/org/apache/directory/server/core/ apacheds/branches/apacheds-codec-merge/core-api/src/test/java/org/apache/directory/server/core/ apacheds/branches...
Date Sun, 15 Aug 2010 14:54:58 GMT
Modified: directory/shared/branches/shared-codec-merge/ldap/src/test/java/org/apache/directory/shared/ldap/message/ExtendedResponseImplTest.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-codec-merge/ldap/src/test/java/org/apache/directory/shared/ldap/message/ExtendedResponseImplTest.java?rev=985686&r1=985685&r2=985686&view=diff
==============================================================================
--- directory/shared/branches/shared-codec-merge/ldap/src/test/java/org/apache/directory/shared/ldap/message/ExtendedResponseImplTest.java
(original)
+++ directory/shared/branches/shared-codec-merge/ldap/src/test/java/org/apache/directory/shared/ldap/message/ExtendedResponseImplTest.java
Sun Aug 15 14:54:56 2010
@@ -130,11 +130,6 @@ public class ExtendedResponseImplTest
             }
 
 
-            public void setID( String oid )
-            {
-            }
-
-
             public void setResponseName( String oid )
             {
             }
@@ -152,11 +147,6 @@ public class ExtendedResponseImplTest
             }
 
 
-            public void setEncodedValue( byte[] value )
-            {
-            }
-
-
             public void setResponseValue( byte[] value )
             {
             }
@@ -198,12 +188,12 @@ public class ExtendedResponseImplTest
             }
 
 
-            public void add( Control a_control ) throws MessageException
+            public void addControl( Control a_control ) throws MessageException
             {
             }
 
 
-            public void remove( Control a_control ) throws MessageException
+            public void removeControl( Control a_control ) throws MessageException
             {
             }
 
@@ -226,7 +216,7 @@ public class ExtendedResponseImplTest
             }
 
 
-            public void addAll( Control[] controls ) throws MessageException
+            public void addAllControls( Control[] controls ) throws MessageException
             {
             }
 
@@ -265,13 +255,13 @@ public class ExtendedResponseImplTest
             }
 
 
-            public byte[] getIDBytes()
+            public Control getControl( String oid )
             {
                 return null;
             }
 
 
-            public void setIDBytes( byte[] oidBytes )
+            public void setMessageId( int messageId )
             {
             }
         };

Modified: directory/shared/branches/shared-codec-merge/ldap/src/test/java/org/apache/directory/shared/ldap/message/LdapResultImplTest.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-codec-merge/ldap/src/test/java/org/apache/directory/shared/ldap/message/LdapResultImplTest.java?rev=985686&r1=985685&r2=985686&view=diff
==============================================================================
--- directory/shared/branches/shared-codec-merge/ldap/src/test/java/org/apache/directory/shared/ldap/message/LdapResultImplTest.java
(original)
+++ directory/shared/branches/shared-codec-merge/ldap/src/test/java/org/apache/directory/shared/ldap/message/LdapResultImplTest.java
Sun Aug 15 14:54:56 2010
@@ -26,8 +26,8 @@ import static org.junit.Assert.assertTru
 import org.apache.directory.junit.tools.Concurrent;
 import org.apache.directory.junit.tools.ConcurrentJunitRunner;
 import org.apache.directory.shared.ldap.exception.LdapException;
-import org.apache.directory.shared.ldap.message.internal.LdapResult;
 import org.apache.directory.shared.ldap.message.internal.InternalReferral;
+import org.apache.directory.shared.ldap.message.internal.LdapResult;
 import org.apache.directory.shared.ldap.name.DN;
 import org.junit.Test;
 import org.junit.runner.RunWith;
@@ -141,39 +141,6 @@ public class LdapResultImplTest
             public void setReferral( InternalReferral referral )
             {
             }
-
-
-            public byte[] getMatchedDnBytes()
-            {
-                return null;
-            }
-
-
-            public void setMatchedDnBytes( byte[] matchedDNBytes )
-            {
-            }
-
-
-            public byte[] getErrorMessageBytes()
-            {
-                return null;
-            }
-
-
-            public void setErrorMessageBytes( byte[] errorMessageBytes )
-            {
-            }
-
-
-            public int getReferralLength()
-            {
-                return 0;
-            }
-
-
-            public void setReferralLength( int referralLength )
-            {
-            }
         };
 
         assertTrue( "r0 equals should see other impl r1 as equal", r0.equals( r1 ) );

Modified: directory/shared/branches/shared-codec-merge/ldap/src/test/java/org/apache/directory/shared/ldap/message/ModifyDnRequestImplTest.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-codec-merge/ldap/src/test/java/org/apache/directory/shared/ldap/message/ModifyDnRequestImplTest.java?rev=985686&r1=985685&r2=985686&view=diff
==============================================================================
--- directory/shared/branches/shared-codec-merge/ldap/src/test/java/org/apache/directory/shared/ldap/message/ModifyDnRequestImplTest.java
(original)
+++ directory/shared/branches/shared-codec-merge/ldap/src/test/java/org/apache/directory/shared/ldap/message/ModifyDnRequestImplTest.java
Sun Aug 15 14:54:56 2010
@@ -339,12 +339,12 @@ public class ModifyDnRequestImplTest
             }
 
 
-            public void add( Control a_control ) throws MessageException
+            public void addControl( Control a_control ) throws MessageException
             {
             }
 
 
-            public void remove( Control a_control ) throws MessageException
+            public void removeControl( Control a_control ) throws MessageException
             {
             }
 
@@ -389,7 +389,7 @@ public class ModifyDnRequestImplTest
             }
 
 
-            public void addAll( Control[] controls ) throws MessageException
+            public void addAllControls( Control[] controls ) throws MessageException
             {
             }
 
@@ -426,6 +426,17 @@ public class ModifyDnRequestImplTest
             public void setMessageLength( int messageLength )
             {
             }
+
+
+            public Control getControl( String oid )
+            {
+                return null;
+            }
+
+
+            public void setMessageId( int messageId )
+            {
+            }
         };
 
         ModifyDnRequestImpl req1 = getRequest();

Modified: directory/shared/branches/shared-codec-merge/ldap/src/test/java/org/apache/directory/shared/ldap/message/ModifyRequestImplTest.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-codec-merge/ldap/src/test/java/org/apache/directory/shared/ldap/message/ModifyRequestImplTest.java?rev=985686&r1=985685&r2=985686&view=diff
==============================================================================
--- directory/shared/branches/shared-codec-merge/ldap/src/test/java/org/apache/directory/shared/ldap/message/ModifyRequestImplTest.java
(original)
+++ directory/shared/branches/shared-codec-merge/ldap/src/test/java/org/apache/directory/shared/ldap/message/ModifyRequestImplTest.java
Sun Aug 15 14:54:56 2010
@@ -368,12 +368,12 @@ public class ModifyRequestImplTest
             }
 
 
-            public void add( Control a_control ) throws MessageException
+            public void addControl( Control a_control ) throws MessageException
             {
             }
 
 
-            public void remove( Control a_control ) throws MessageException
+            public void removeControl( Control a_control ) throws MessageException
             {
             }
 
@@ -418,7 +418,7 @@ public class ModifyRequestImplTest
             }
 
 
-            public void addAll( Control[] controls ) throws MessageException
+            public void addAllControls( Control[] controls ) throws MessageException
             {
             }
 
@@ -455,6 +455,17 @@ public class ModifyRequestImplTest
             public void setMessageLength( int messageLength )
             {
             }
+
+
+            public Control getControl( String oid )
+            {
+                return null;
+            }
+
+
+            public void setMessageId( int messageId )
+            {
+            }
         };
 
         ModifyRequestImpl req1 = getRequest();

Modified: directory/shared/branches/shared-codec-merge/ldap/src/test/java/org/apache/directory/shared/ldap/message/SearchResponseDoneImplTest.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-codec-merge/ldap/src/test/java/org/apache/directory/shared/ldap/message/SearchResponseDoneImplTest.java?rev=985686&r1=985685&r2=985686&view=diff
==============================================================================
--- directory/shared/branches/shared-codec-merge/ldap/src/test/java/org/apache/directory/shared/ldap/message/SearchResponseDoneImplTest.java
(original)
+++ directory/shared/branches/shared-codec-merge/ldap/src/test/java/org/apache/directory/shared/ldap/message/SearchResponseDoneImplTest.java
Sun Aug 15 14:54:56 2010
@@ -149,12 +149,12 @@ public class SearchResponseDoneImplTest
             }
 
 
-            public void add( Control a_control ) throws MessageException
+            public void addControl( Control a_control ) throws MessageException
             {
             }
 
 
-            public void remove( Control a_control ) throws MessageException
+            public void removeControl( Control a_control ) throws MessageException
             {
             }
 
@@ -177,7 +177,7 @@ public class SearchResponseDoneImplTest
             }
 
 
-            public void addAll( Control[] controls ) throws MessageException
+            public void addAllControls( Control[] controls ) throws MessageException
             {
             }
 
@@ -216,17 +216,14 @@ public class SearchResponseDoneImplTest
             }
 
 
-            public int getSearchResultDoneLength()
+            public Control getControl( String oid )
             {
-                // TODO Auto-generated method stub
-                return 0;
+                return null;
             }
 
 
-            public void setSearchResultDoneLength( int searchResultDoneLength )
+            public void setMessageId( int messageId )
             {
-                // TODO Auto-generated method stub
-
             }
         };
 

Modified: directory/shared/branches/shared-codec-merge/ldap/src/test/java/org/apache/directory/shared/ldap/message/SearchResponseReferenceImplTest.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-codec-merge/ldap/src/test/java/org/apache/directory/shared/ldap/message/SearchResponseReferenceImplTest.java?rev=985686&r1=985685&r2=985686&view=diff
==============================================================================
--- directory/shared/branches/shared-codec-merge/ldap/src/test/java/org/apache/directory/shared/ldap/message/SearchResponseReferenceImplTest.java
(original)
+++ directory/shared/branches/shared-codec-merge/ldap/src/test/java/org/apache/directory/shared/ldap/message/SearchResponseReferenceImplTest.java
Sun Aug 15 14:54:56 2010
@@ -126,12 +126,12 @@ public class SearchResponseReferenceImpl
             }
 
 
-            public void add( Control control ) throws MessageException
+            public void addControl( Control control ) throws MessageException
             {
             }
 
 
-            public void remove( Control control ) throws MessageException
+            public void removeControl( Control control ) throws MessageException
             {
             }
 
@@ -154,7 +154,7 @@ public class SearchResponseReferenceImpl
             }
 
 
-            public void addAll( Control[] controls ) throws MessageException
+            public void addAllControls( Control[] controls ) throws MessageException
             {
             }
 
@@ -193,13 +193,13 @@ public class SearchResponseReferenceImpl
             }
 
 
-            public int getSearchResultReferenceLength()
+            public Control getControl( String oid )
             {
-                return 0;
+                return null;
             }
 
 
-            public void setSearchResultReferenceLength( int searchResultReferenceLength )
+            public void setMessageId( int messageId )
             {
             }
         };



Mime
View raw message