directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1482205 - in /directory/apacheds/trunk/mavibot-partition: ./ src/test/java/org/apache/directory/server/core/partition/impl/btree/mavibot/MavibotEntrySerializationTest.java
Date Tue, 14 May 2013 05:22:50 GMT
Author: elecharny
Date: Tue May 14 05:22:50 2013
New Revision: 1482205

URL: http://svn.apache.org/r1482205
Log:
o Added svn:ignore property
o Removed a useless import 

Modified:
    directory/apacheds/trunk/mavibot-partition/   (props changed)
    directory/apacheds/trunk/mavibot-partition/src/test/java/org/apache/directory/server/core/partition/impl/btree/mavibot/MavibotEntrySerializationTest.java

Propchange: directory/apacheds/trunk/mavibot-partition/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Tue May 14 05:22:50 2013
@@ -0,0 +1,11 @@
+target
+.project
+.classpath
+.settings
+eclipse-classes
+*.log
+*.iml
+*.ipr
+dependency-reduced-pom.xml
+META-INF
+bin

Modified: directory/apacheds/trunk/mavibot-partition/src/test/java/org/apache/directory/server/core/partition/impl/btree/mavibot/MavibotEntrySerializationTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/mavibot-partition/src/test/java/org/apache/directory/server/core/partition/impl/btree/mavibot/MavibotEntrySerializationTest.java?rev=1482205&r1=1482204&r2=1482205&view=diff
==============================================================================
--- directory/apacheds/trunk/mavibot-partition/src/test/java/org/apache/directory/server/core/partition/impl/btree/mavibot/MavibotEntrySerializationTest.java
(original)
+++ directory/apacheds/trunk/mavibot-partition/src/test/java/org/apache/directory/server/core/partition/impl/btree/mavibot/MavibotEntrySerializationTest.java
Tue May 14 05:22:50 2013
@@ -40,7 +40,6 @@ import org.apache.directory.api.ldap.sch
 import org.apache.directory.api.ldap.schemaextractor.impl.DefaultSchemaLdifExtractor;
 import org.apache.directory.api.ldap.schemaloader.LdifSchemaLoader;
 import org.apache.directory.api.ldap.schemamanager.impl.DefaultSchemaManager;
-import org.apache.directory.api.util.Strings;
 import org.apache.directory.api.util.exception.Exceptions;
 import org.junit.BeforeClass;
 import org.junit.Test;
@@ -61,9 +60,10 @@ public class MavibotEntrySerializationTe
 {
 
     private MavibotEntrySerializer serializer = new MavibotEntrySerializer();
-    
+
     private static SchemaManager schemaManager;
-    
+
+
     @BeforeClass
     public static void init() throws Exception
     {
@@ -88,7 +88,7 @@ public class MavibotEntrySerializationTe
         {
             fail( "Schema load failed : " + Exceptions.printErrors( schemaManager.getErrors()
) );
         }
-        
+
         MavibotEntrySerializer.setSchemaManager( schemaManager );
     }
 
@@ -96,15 +96,15 @@ public class MavibotEntrySerializationTe
     @Test
     public void testEntryFullSerialization() throws IOException, LdapException, ClassNotFoundException
     {
-        Entry entry1 = new DefaultEntry( schemaManager, 
+        Entry entry1 = new DefaultEntry( schemaManager,
             "dc=example",
             "ObjectClass: top",
             "ObjectClass: domain",
             "dc: example",
             "l: test" );
-        
+
         byte[] data = serializer.serialize( entry1 );
-        
+
         Entry entry2 = serializer.deserialize( ByteBuffer.wrap( data ) );
 
         assertEquals( entry1, entry2 );



Mime
View raw message