You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2012/09/19 16:17:42 UTC

svn commit: r1387605 - /directory/apacheds/branches/apacheds-mvbt/core-integ/src/test/java/org/apache/directory/server/core/exception/ExceptionServiceIT.java

Author: elecharny
Date: Wed Sep 19 14:17:42 2012
New Revision: 1387605

URL: http://svn.apache.org/viewvc?rev=1387605&view=rev
Log:
Reformating

Modified:
    directory/apacheds/branches/apacheds-mvbt/core-integ/src/test/java/org/apache/directory/server/core/exception/ExceptionServiceIT.java

Modified: directory/apacheds/branches/apacheds-mvbt/core-integ/src/test/java/org/apache/directory/server/core/exception/ExceptionServiceIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-mvbt/core-integ/src/test/java/org/apache/directory/server/core/exception/ExceptionServiceIT.java?rev=1387605&r1=1387604&r2=1387605&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-mvbt/core-integ/src/test/java/org/apache/directory/server/core/exception/ExceptionServiceIT.java (original)
+++ directory/apacheds/branches/apacheds-mvbt/core-integ/src/test/java/org/apache/directory/server/core/exception/ExceptionServiceIT.java Wed Sep 19 14:17:42 2012
@@ -133,7 +133,7 @@ public class ExceptionServiceIT extends 
             SearchScope.ONELEVEL, "*" );
 
         assertFalse( cursor.next() );
-        
+
         cursor.close();
     }
 
@@ -246,27 +246,27 @@ public class ExceptionServiceIT extends 
         LdapConnection connection = getAdminConnection( getService() );
 
         Entry entry = connection.lookup( "ou=users,ou=system" );
-        
+
         assertNotNull( entry );
         assertEquals( 1, entry.get( "ou" ).size() );
         assertEquals( "users", entry.get( "ou" ).getString() );
 
         connection.rename( "ou=users,ou=system", "ou=Users" );
-        
+
         entry = connection.lookup( "ou=Users,ou=system" );
-        
+
         assertNotNull( entry );
         assertEquals( 1, entry.get( "ou" ).size() );
         assertEquals( "Users", entry.get( "ou" ).getString() );
     }
 
-    
+
     /**
      * Test modifyRdn operation failure when the object renamed is existant.
      *
      * @throws Exception on error
      */
-    @Test(expected=LdapEntryAlreadyExistsException.class)
+    @Test(expected = LdapEntryAlreadyExistsException.class)
     public void testFailModifyRdnEntryAlreadyExists() throws Exception
     {
         LdapConnection connection = getAdminConnection( getService() );
@@ -504,7 +504,7 @@ public class ExceptionServiceIT extends 
     // ------------------------------------------------------------------------
 
     /**
-     * Tests for delete failure when the entry to be deleted has child entires.
+     * Tests for delete failure when the entry to be deleted has child entries.
      *
      * @throws Exception on error
      */