directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1235374 [22/27] - in /directory/shared/trunk: ldap/model/src/main/java/org/apache/directory/shared/ldap/model/constants/ ldap/model/src/main/java/org/apache/directory/shared/ldap/model/csn/ ldap/model/src/main/java/org/apache/directory/sha...
Date Tue, 24 Jan 2012 17:44:32 GMT
Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/DirectoryStringSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/DirectoryStringSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/DirectoryStringSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/DirectoryStringSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -19,6 +19,7 @@
  */
 package org.apache.directory.shared.ldap.model.schema.syntaxes;
 
+
 import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertTrue;
 
@@ -28,6 +29,7 @@ import org.apache.directory.shared.ldap.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Test cases for DirectoryStringSyntaxChecker.
  *
@@ -58,16 +60,16 @@ public class DirectoryStringSyntaxChecke
     public void testWrongCase()
     {
         assertFalse( checker.isValidSyntax( "" ) );
-        
+
         byte[] bytes = new byte[2];
-        
-        bytes[0] = (byte)0x80;
-        bytes[1] = (byte)0x00;
-        
+
+        bytes[0] = ( byte ) 0x80;
+        bytes[1] = ( byte ) 0x00;
+
         assertFalse( checker.isValidSyntax( bytes ) );
     }
-    
-    
+
+
     @Test
     public void testCorrectCase()
     {
@@ -75,14 +77,14 @@ public class DirectoryStringSyntaxChecke
         assertTrue( checker.isValidSyntax( "abcdefghijklmnopqrstuvwxyz" ) );
         assertTrue( checker.isValidSyntax( "ABCDEFGHIJKLMNOPQRSTUVWXYZ" ) );
         assertTrue( checker.isValidSyntax( "'()+,-.=/:? " ) );
-        
+
         byte[] bytes = new byte[128];
-        
+
         for ( int i = 0; i < 128; i++ )
         {
-            bytes[i] = (byte)i;
+            bytes[i] = ( byte ) i;
         }
-        
+
         assertTrue( checker.isValidSyntax( new String( bytes ) ) );
     }
 }

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/EnhancedGuideSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/EnhancedGuideSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/EnhancedGuideSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/EnhancedGuideSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -19,6 +19,7 @@
  */
 package org.apache.directory.shared.ldap.model.schema.syntaxes;
 
+
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertTrue;
 
@@ -28,6 +29,7 @@ import org.apache.directory.shared.ldap.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Test cases for EnhancedGuideSyntaxChecker.
  *
@@ -53,16 +55,19 @@ public class EnhancedGuideSyntaxCheckerT
         assertTrue( checker.isValidSyntax( "" ) );
     }
 
+
     @Test
     public void testOid()
     {
         assertEquals( "1.3.6.1.4.1.1466.115.121.1.21", checker.getOid() );
     }
 
+
     @Test
     public void testCorrectCase()
     {
         assertTrue( checker.isValidSyntax( "FALSE" ) );
-        assertTrue( checker.isValidSyntax( new byte[]{0x01, (byte)0xFF} ) );
+        assertTrue( checker.isValidSyntax( new byte[]
+            { 0x01, ( byte ) 0xFF } ) );
     }
 }

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/FacsimileTelephoneNumberSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/FacsimileTelephoneNumberSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/FacsimileTelephoneNumberSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/FacsimileTelephoneNumberSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -19,6 +19,7 @@
  */
 package org.apache.directory.shared.ldap.model.schema.syntaxes;
 
+
 import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertTrue;
 
@@ -28,6 +29,7 @@ import org.apache.directory.shared.ldap.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Test cases for FacsimileTelephoneNumberSyntaxChecker.
  *
@@ -60,8 +62,8 @@ public class FacsimileTelephoneNumberSyn
         assertFalse( checker.isValidSyntax( "A" ) );
         assertFalse( checker.isValidSyntax( "+" ) );
     }
-    
-    
+
+
     @Test
     public void testWrongCase()
     {
@@ -69,8 +71,8 @@ public class FacsimileTelephoneNumberSyn
         assertFalse( checker.isValidSyntax( "+ ()" ) );
         assertFalse( checker.isValidSyntax( " +2 (123) 456-789 +" ) );
     }
-    
-    
+
+
     @Test
     public void testCorrectTelephoneNumber()
     {
@@ -80,13 +82,14 @@ public class FacsimileTelephoneNumberSyn
         assertTrue( checker.isValidSyntax( "+ 123 ( 456 )7891   12345" ) );
         assertTrue( checker.isValidSyntax( " 12 34 56 78 90 " ) );
     }
-    
+
+
     @Test
     public void testWithNewMandatoryRegexp()
     {
         // Adding french telephone number regexp
         checker.setDefaultRegexp( " *0[1-8](( *|[-/.]{1})\\d\\d){4} *" );
-        
+
         assertFalse( checker.isValidSyntax( "+ 123 ( 456 )7891   12345" ) );
         assertTrue( checker.isValidSyntax( " 01 02 03 04 05 " ) );
         assertTrue( checker.isValidSyntax( " 0102 03 04 05 " ) );
@@ -95,6 +98,7 @@ public class FacsimileTelephoneNumberSyn
         assertFalse( checker.isValidSyntax( " 01 / 02 .03 04--  05 " ) );
     }
 
+
     @Test
     public void testCorrectTelephoneNumberAndFaxParam()
     {
@@ -107,13 +111,15 @@ public class FacsimileTelephoneNumberSyn
         assertTrue( checker.isValidSyntax( "+ 33 1 (456) 7891   12345$twoDimensional" ) );
         assertTrue( checker.isValidSyntax( "+ 33 1 (456) 7891   12345$uncompressed" ) );
     }
-    
+
+
     @Test
     public void testCorrectTelephoneNumberAndFaxParams()
     {
         assertTrue( checker.isValidSyntax( "+ 33 1 (456) 7891   12345$twoDimensional$fineResolution$a3Width" ) );
     }
 
+
     @Test
     public void testCorrectTelephoneNumberBadFaxParams()
     {

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/FaxSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/FaxSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/FaxSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/FaxSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -19,6 +19,7 @@
  */
 package org.apache.directory.shared.ldap.model.schema.syntaxes;
 
+
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertTrue;
 
@@ -28,6 +29,7 @@ import org.apache.directory.shared.ldap.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Test cases for FaxSyntaxChecker.
  *
@@ -53,16 +55,19 @@ public class FaxSyntaxCheckerTest
         assertTrue( checker.isValidSyntax( "" ) );
     }
 
+
     @Test
     public void testOid()
     {
         assertEquals( "1.3.6.1.4.1.1466.115.121.1.23", checker.getOid() );
     }
 
+
     @Test
     public void testCorrectCase()
     {
         assertTrue( checker.isValidSyntax( "FALSE" ) );
-        assertTrue( checker.isValidSyntax( new byte[]{0x01, (byte)0xFF} ) );
+        assertTrue( checker.isValidSyntax( new byte[]
+            { 0x01, ( byte ) 0xFF } ) );
     }
 }

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/GeneralizedTimeSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/GeneralizedTimeSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/GeneralizedTimeSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/GeneralizedTimeSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -29,6 +29,7 @@ import org.apache.directory.shared.ldap.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Test cases for GeneralizedTimeSyntaxChecker.
  *
@@ -63,7 +64,8 @@ public class GeneralizedTimeSyntaxChecke
         assertFalse( checker.isValidSyntax( "1" ) );
         assertFalse( checker.isValidSyntax( "B" ) );
     }
-    
+
+
     @Test
     public void testErrorCase()
     {
@@ -81,7 +83,8 @@ public class GeneralizedTimeSyntaxChecke
         assertFalse( checker.isValidSyntax( "20061205184527+1260" ) );
         assertFalse( checker.isValidSyntax( "20061205184527+1299" ) );
     }
-    
+
+
     @Test
     public void testCorrectCase()
     {

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/GuideSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/GuideSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/GuideSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/GuideSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -19,6 +19,7 @@
  */
 package org.apache.directory.shared.ldap.model.schema.syntaxes;
 
+
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertTrue;
 
@@ -28,6 +29,7 @@ import org.apache.directory.shared.ldap.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Test cases for GuideSyntaxChecker.
  *
@@ -53,16 +55,19 @@ public class GuideSyntaxCheckerTest
         assertTrue( checker.isValidSyntax( "" ) );
     }
 
+
     @Test
     public void testOid()
     {
         assertEquals( "1.3.6.1.4.1.1466.115.121.1.25", checker.getOid() );
     }
 
+
     @Test
     public void testCorrectCase()
     {
         assertTrue( checker.isValidSyntax( "FALSE" ) );
-        assertTrue( checker.isValidSyntax( new byte[]{0x01, (byte)0xFF} ) );
+        assertTrue( checker.isValidSyntax( new byte[]
+            { 0x01, ( byte ) 0xFF } ) );
     }
 }

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/Ia5StringSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/Ia5StringSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/Ia5StringSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/Ia5StringSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -19,6 +19,7 @@
  */
 package org.apache.directory.shared.ldap.model.schema.syntaxes;
 
+
 import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertTrue;
 
@@ -28,6 +29,7 @@ import org.apache.directory.shared.ldap.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Test cases for Ia5StringSyntaxChecker.
  *
@@ -69,8 +71,8 @@ public class Ia5StringSyntaxCheckerTest
         assertFalse( checker.isValidSyntax( "\u00B4" ) );
         assertFalse( checker.isValidSyntax( "\u00B8" ) );
     }
-    
-    
+
+
     @Test
     public void testCorrectCase()
     {
@@ -78,14 +80,14 @@ public class Ia5StringSyntaxCheckerTest
         assertTrue( checker.isValidSyntax( "abcdefghijklmnopqrstuvwxyz" ) );
         assertTrue( checker.isValidSyntax( "ABCDEFGHIJKLMNOPQRSTUVWXYZ" ) );
         assertTrue( checker.isValidSyntax( "'()+,-.=/:? " ) );
-        
+
         byte[] bytes = new byte[128];
-        
+
         for ( int i = 0; i < 128; i++ )
         {
-            bytes[i] = (byte)i;
+            bytes[i] = ( byte ) i;
         }
-        
+
         assertTrue( checker.isValidSyntax( new String( bytes ) ) );
     }
 }

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/IntegerSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/IntegerSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/IntegerSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/IntegerSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -19,6 +19,7 @@
  */
 package org.apache.directory.shared.ldap.model.schema.syntaxes;
 
+
 import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertTrue;
 
@@ -28,6 +29,7 @@ import org.apache.directory.shared.ldap.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Test cases for IntegerSyntaxChecker.
  *
@@ -60,8 +62,8 @@ public class IntegerSyntaxCheckerTest
         assertFalse( checker.isValidSyntax( "f" ) );
         assertFalse( checker.isValidSyntax( "-" ) );
     }
-    
-    
+
+
     @Test
     public void testWrongCase()
     {
@@ -70,8 +72,8 @@ public class IntegerSyntaxCheckerTest
         assertFalse( checker.isValidSyntax( " 1" ) );
         assertFalse( checker.isValidSyntax( "1 " ) );
     }
-    
-    
+
+
     @Test
     public void testCorrectCase()
     {

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/JavaByteSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/JavaByteSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/JavaByteSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/JavaByteSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -19,6 +19,7 @@
  */
 package org.apache.directory.shared.ldap.model.schema.syntaxes;
 
+
 import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertTrue;
 
@@ -28,6 +29,7 @@ import org.apache.directory.shared.ldap.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Test cases for JavaByteSyntaxChecker.
  *

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/JavaIntegerSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/JavaIntegerSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/JavaIntegerSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/JavaIntegerSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -19,6 +19,7 @@
  */
 package org.apache.directory.shared.ldap.model.schema.syntaxes;
 
+
 import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertTrue;
 
@@ -30,6 +31,7 @@ import org.apache.directory.shared.ldap.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Test cases for IntegerSyntaxChecker.
  *

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/JavaLongSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/JavaLongSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/JavaLongSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/JavaLongSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -19,6 +19,7 @@
  */
 package org.apache.directory.shared.ldap.model.schema.syntaxes;
 
+
 import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertTrue;
 
@@ -30,6 +31,7 @@ import org.apache.directory.shared.ldap.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Test cases for JavaLongSyntaxChecker.
  *

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/JavaShortSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/JavaShortSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/JavaShortSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/JavaShortSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -19,6 +19,7 @@
  */
 package org.apache.directory.shared.ldap.model.schema.syntaxes;
 
+
 import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertTrue;
 
@@ -28,6 +29,7 @@ import org.apache.directory.shared.ldap.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Test cases for JavaShortSyntaxChecker.
  *

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/JpegSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/JpegSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/JpegSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/JpegSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -29,6 +29,7 @@ import org.apache.directory.shared.ldap.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Test cases for JpegSyntaxChecker.
  *
@@ -54,28 +55,30 @@ public class JpegSyntaxCheckerTest
         assertFalse( checker.isValidSyntax( "" ) );
     }
 
+
     @Test
     public void testWrongCase()
     {
-        assertFalse( checker.isValidSyntax(  "this is not a jpeg file..." ) );
+        assertFalse( checker.isValidSyntax( "this is not a jpeg file..." ) );
     }
 
+
     @Test
     public void testCorrectCase()
     {
         byte[] array = new byte[256];
-        
+
         for ( int i = 0; i < 256; i++ )
         {
-            array[ i ] = (byte)i;
+            array[i] = ( byte ) i;
         }
-        
-        array[0] = (byte)0xFF;
-        array[1] = (byte)0xD8;
-        array[2] = (byte)0xFF;
-        array[3] = (byte)0xE0;
-        array[4] = (byte)0x00;
-        array[5] = (byte)0x10;
+
+        array[0] = ( byte ) 0xFF;
+        array[1] = ( byte ) 0xD8;
+        array[2] = ( byte ) 0xFF;
+        array[3] = ( byte ) 0xE0;
+        array[4] = ( byte ) 0x00;
+        array[5] = ( byte ) 0x10;
         array[6] = 'J';
         array[7] = 'F';
         array[8] = 'I';

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/MHSORAddressSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/MHSORAddressSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/MHSORAddressSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/MHSORAddressSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -19,6 +19,7 @@
  */
 package org.apache.directory.shared.ldap.model.schema.syntaxes;
 
+
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertTrue;
 
@@ -28,6 +29,7 @@ import org.apache.directory.shared.ldap.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Test cases for MHSORAddressSyntaxChecker.
  *
@@ -53,16 +55,19 @@ public class MHSORAddressSyntaxCheckerTe
         assertTrue( checker.isValidSyntax( "" ) );
     }
 
+
     @Test
     public void testOid()
     {
         assertEquals( "1.3.6.1.4.1.1466.115.121.1.33", checker.getOid() );
     }
 
+
     @Test
     public void testCorrectCase()
     {
         assertTrue( checker.isValidSyntax( "FALSE" ) );
-        assertTrue( checker.isValidSyntax( new byte[]{0x01, (byte)0xFF} ) );
+        assertTrue( checker.isValidSyntax( new byte[]
+            { 0x01, ( byte ) 0xFF } ) );
     }
 }

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/MailPreferenceSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/MailPreferenceSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/MailPreferenceSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/MailPreferenceSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -19,6 +19,7 @@
  */
 package org.apache.directory.shared.ldap.model.schema.syntaxes;
 
+
 import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertTrue;
 
@@ -28,6 +29,7 @@ import org.apache.directory.shared.ldap.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Test cases for MailPreferenceSyntaxChecker.
  *
@@ -62,8 +64,8 @@ public class MailPreferenceSyntaxChecker
         assertFalse( checker.isValidSyntax( "t" ) );
         assertFalse( checker.isValidSyntax( "T" ) );
     }
-    
-    
+
+
     @Test
     public void testWrongCase()
     {
@@ -72,8 +74,8 @@ public class MailPreferenceSyntaxChecker
         assertFalse( checker.isValidSyntax( "PROFESSIONAL-LISTs" ) );
         assertFalse( checker.isValidSyntax( "abc" ) );
     }
-    
-    
+
+
     @Test
     public void testCorrectCase()
     {

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/MasterAndShadowAccessPointSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/MasterAndShadowAccessPointSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/MasterAndShadowAccessPointSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/MasterAndShadowAccessPointSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -19,6 +19,7 @@
  */
 package org.apache.directory.shared.ldap.model.schema.syntaxes;
 
+
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertTrue;
 
@@ -28,6 +29,7 @@ import org.apache.directory.shared.ldap.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Test cases for MasterAndShadowAccessPointSyntaxChecker.
  *
@@ -53,16 +55,19 @@ public class MasterAndShadowAccessPointS
         assertTrue( checker.isValidSyntax( "" ) );
     }
 
+
     @Test
     public void testOid()
     {
         assertEquals( "1.3.6.1.4.1.1466.115.121.1.29", checker.getOid() );
     }
 
+
     @Test
     public void testCorrectCase()
     {
         assertTrue( checker.isValidSyntax( "FALSE" ) );
-        assertTrue( checker.isValidSyntax( new byte[]{0x01, (byte)0xFF} ) );
+        assertTrue( checker.isValidSyntax( new byte[]
+            { 0x01, ( byte ) 0xFF } ) );
     }
 }

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/MatchingRuleDescriptionSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/MatchingRuleDescriptionSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/MatchingRuleDescriptionSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/MatchingRuleDescriptionSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -43,17 +43,22 @@ public class MatchingRuleDescriptionSynt
 {
     private MatchingRuleDescriptionSyntaxChecker checker = new MatchingRuleDescriptionSyntaxChecker();
 
+
     @Test
     public void testValid()
     {
         assertTrue( checker.isValidSyntax( ( "( 2.5.13.5 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )" ) ) );
-        assertTrue( checker.isValidSyntax( ( "( 2.5.13.5 NAME 'caseExactMatch' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )" ) ) );
-        assertTrue( checker.isValidSyntax( ( "( 2.5.13.5 NAME 'caseExactMatch' DESC 'caseExactMatch' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )" ) ) );
-        assertTrue( checker.isValidSyntax( ( "( 2.5.13.5 NAME 'caseExactMatch' DESC 'caseExactMatch' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ABC-DEF 'test' )" ) ) );
+        assertTrue( checker
+            .isValidSyntax( ( "( 2.5.13.5 NAME 'caseExactMatch' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )" ) ) );
+        assertTrue( checker
+            .isValidSyntax( ( "( 2.5.13.5 NAME 'caseExactMatch' DESC 'caseExactMatch' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )" ) ) );
+        assertTrue( checker
+            .isValidSyntax( ( "( 2.5.13.5 NAME 'caseExactMatch' DESC 'caseExactMatch' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ABC-DEF 'test' )" ) ) );
 
         // spaces
         assertTrue( checker.isValidSyntax( "(2.5.13.5 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)" ) );
-        assertTrue( checker.isValidSyntax( "(    2.5.13.5     NAME    'caseExactMatch'     DESC    'caseExactMatch'      SYNTAX       1.3.6.1.4.1.1466.115.121.1.15     X-ABC-DEF     'test')" ) );
+        assertTrue( checker
+            .isValidSyntax( "(    2.5.13.5     NAME    'caseExactMatch'     DESC    'caseExactMatch'      SYNTAX       1.3.6.1.4.1.1466.115.121.1.15     X-ABC-DEF     'test')" ) );
     }
 
 
@@ -62,10 +67,10 @@ public class MatchingRuleDescriptionSynt
     {
         // null 
         assertFalse( checker.isValidSyntax( null ) );
-        
+
         // empty 
         assertFalse( checker.isValidSyntax( "" ) );
-        
+
         // missing/invalid OID
         assertFalse( checker.isValidSyntax( "()" ) );
         assertFalse( checker.isValidSyntax( "(  )" ) );
@@ -86,9 +91,11 @@ public class MatchingRuleDescriptionSynt
         assertFalse( checker.isValidSyntax( "( 2.5.13.5 desc 'Directory String' )" ) );
 
         // invalid extension
-        assertFalse( checker.isValidSyntax( "( 2.5.13.5 DESC 'Description' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ABC-DEF )" ) );
-        assertFalse( checker.isValidSyntax( "( 2.5.13.5 DESC 'Description' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ABC-123 'test' )" ) );
-        
+        assertFalse( checker
+            .isValidSyntax( "( 2.5.13.5 DESC 'Description' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ABC-DEF )" ) );
+        assertFalse( checker
+            .isValidSyntax( "( 2.5.13.5 DESC 'Description' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ABC-123 'test' )" ) );
+
         // SYNTAX is required
         assertFalse( checker.isValidSyntax( "( 2.5.13.5 NAME 'caseExactMatch' )" ) );
 

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/NameAndOptionalUIDSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/NameAndOptionalUIDSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/NameAndOptionalUIDSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/NameAndOptionalUIDSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -29,6 +29,7 @@ import org.apache.directory.shared.ldap.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Test cases for NameAndOptionalUIDSyntaxChecker.
  *
@@ -63,8 +64,8 @@ public class NameAndOptionalUIDSyntaxChe
         assertFalse( checker.isValidSyntax( "1" ) );
         assertFalse( checker.isValidSyntax( "#" ) );
     }
-    
-    
+
+
     @Test
     public void testWrongDN()
     {
@@ -73,7 +74,8 @@ public class NameAndOptionalUIDSyntaxChe
         assertFalse( checker.isValidSyntax( "a=b+" ) );
         assertFalse( checker.isValidSyntax( "a=b,c=d," ) );
     }
-    
+
+
     @Test
     public void testWrongUID()
     {
@@ -82,8 +84,8 @@ public class NameAndOptionalUIDSyntaxChe
         assertFalse( checker.isValidSyntax( "a=b##'0101'B" ) );
         assertFalse( checker.isValidSyntax( "a=b#'0101'C" ) );
     }
-    
-    
+
+
     @Test
     public void testCorrectDN()
     {
@@ -94,6 +96,7 @@ public class NameAndOptionalUIDSyntaxChe
         assertTrue( checker.isValidSyntax( "a=b\\,c = d, e=f" ) );
     }
 
+
     @Test
     public void testCorrectDNAndUID()
     {

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/NameFormDescriptionSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/NameFormDescriptionSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/NameFormDescriptionSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/NameFormDescriptionSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -29,6 +29,7 @@ import org.apache.directory.shared.ldap.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Test cases for NameFormDescriptionSyntaxChecker.
  * 
@@ -42,6 +43,7 @@ public class NameFormDescriptionSyntaxCh
 {
     private NameFormDescriptionSyntaxChecker checker = new NameFormDescriptionSyntaxChecker();
 
+
     @Test
     public void testValid()
     {
@@ -50,23 +52,26 @@ public class NameFormDescriptionSyntaxCh
         assertTrue( checker.isValidSyntax( "( 2.5.15.3 OC o MUST m NAME 'orgNameForm' DESC 'orgNameForm' )" ) );
         assertTrue( checker.isValidSyntax( "( 2.5.15.3 MUST m NAME 'orgNameForm' DESC 'orgNameForm' OC organization )" ) );
         assertTrue( checker.isValidSyntax( "( 2.5.15.3 NAME 'orgNameForm' DESC 'orgNameForm' OC organization MUST o )" ) );
-        assertTrue( checker.isValidSyntax( "( 2.5.15.3 NAME 'orgNameForm' DESC 'orgNameForm' OC organization MUST ( o ) MAY ( ou $ cn ) )" ) );
-        assertTrue( checker.isValidSyntax( "( 2.5.15.3 NAME 'orgNameForm' DESC 'orgNameForm' OC organization MUST ( o ) MAY ( ou $ cn ) )" ) );
-       
+        assertTrue( checker
+            .isValidSyntax( "( 2.5.15.3 NAME 'orgNameForm' DESC 'orgNameForm' OC organization MUST ( o ) MAY ( ou $ cn ) )" ) );
+        assertTrue( checker
+            .isValidSyntax( "( 2.5.15.3 NAME 'orgNameForm' DESC 'orgNameForm' OC organization MUST ( o ) MAY ( ou $ cn ) )" ) );
 
         assertTrue( checker.isValidSyntax( "(2.5.15.3 OC o MUST m)" ) );
-        assertTrue( checker.isValidSyntax( "(   2.5.15.3   NAME   'orgNameForm'    DESC    'orgNameForm'   OC   organization   MUST   (o)   MAY   (ou$cn))" ) );
+        assertTrue( checker
+            .isValidSyntax( "(   2.5.15.3   NAME   'orgNameForm'    DESC    'orgNameForm'   OC   organization   MUST   (o)   MAY   (ou$cn))" ) );
     }
 
+
     @Test
     public void testInvalid()
     {
         // null 
         assertFalse( checker.isValidSyntax( null ) );
-        
+
         // empty 
         assertFalse( checker.isValidSyntax( "" ) );
-        
+
         // missing/invalid OID
         assertFalse( checker.isValidSyntax( "()" ) );
         assertFalse( checker.isValidSyntax( "(  )" ) );

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/NameOrNumericIdSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/NameOrNumericIdSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/NameOrNumericIdSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/NameOrNumericIdSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -29,6 +29,7 @@ import org.apache.directory.shared.ldap.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * A test case for the NameOrNumericId test.
  *
@@ -54,6 +55,7 @@ public class NameOrNumericIdSyntaxChecke
         assertFalse( checker.isValidSyntax( "" ) );
     }
 
+
     @Test
     public void testNumericIds()
     {

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/NumericStringSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/NumericStringSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/NumericStringSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/NumericStringSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -19,6 +19,7 @@
  */
 package org.apache.directory.shared.ldap.model.schema.syntaxes;
 
+
 import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertTrue;
 
@@ -28,6 +29,7 @@ import org.apache.directory.shared.ldap.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Test cases for NumericStringSyntaxChecker.
  *
@@ -60,8 +62,8 @@ public class NumericStringSyntaxCheckerT
         assertFalse( checker.isValidSyntax( "f" ) );
         assertFalse( checker.isValidSyntax( "-" ) );
     }
-    
-    
+
+
     @Test
     public void testWrongCase()
     {
@@ -69,8 +71,8 @@ public class NumericStringSyntaxCheckerT
         assertFalse( checker.isValidSyntax( "1aB" ) );
         assertFalse( checker.isValidSyntax( " +2" ) );
     }
-    
-    
+
+
     @Test
     public void testCorrectCase()
     {

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/ObjectClassDescriptionSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/ObjectClassDescriptionSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/ObjectClassDescriptionSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/ObjectClassDescriptionSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -43,6 +43,7 @@ public class ObjectClassDescriptionSynta
 {
     private ObjectClassDescriptionSyntaxChecker checker = new ObjectClassDescriptionSyntaxChecker();
 
+
     @Test
     public void testValid()
     {
@@ -52,8 +53,10 @@ public class ObjectClassDescriptionSynta
         assertTrue( checker.isValidSyntax( "( 2.5.6.6 NAME 'person' DESC 'RFC2256: a person' )" ) );
         assertTrue( checker.isValidSyntax( "( 2.5.6.6 NAME 'person' DESC 'RFC2256: a person' SUP top )" ) );
         assertTrue( checker.isValidSyntax( "( 2.5.6.6 NAME 'person' DESC 'RFC2256: a person' SUP top STRUCTURAL )" ) );
-        assertTrue( checker.isValidSyntax( "( 2.5.6.6 NAME 'person' DESC 'RFC2256: a person' SUP top STRUCTURAL MUST ( sn $ cn ) )" ) );
-        assertTrue( checker.isValidSyntax( "( 2.5.6.6 NAME 'person' DESC 'RFC2256: a person' SUP top STRUCTURAL MUST ( sn $ cn ) MAY ( userPassword $ telephoneNumber $ seeAlso $ description ) )" ) );
+        assertTrue( checker
+            .isValidSyntax( "( 2.5.6.6 NAME 'person' DESC 'RFC2256: a person' SUP top STRUCTURAL MUST ( sn $ cn ) )" ) );
+        assertTrue( checker
+            .isValidSyntax( "( 2.5.6.6 NAME 'person' DESC 'RFC2256: a person' SUP top STRUCTURAL MUST ( sn $ cn ) MAY ( userPassword $ telephoneNumber $ seeAlso $ description ) )" ) );
 
         assertTrue( checker.isValidSyntax( "(2.5.6.6)" ) );
         assertTrue( checker.isValidSyntax( "(      2.5.6.6      NAME      'person'      )" ) );
@@ -65,10 +68,10 @@ public class ObjectClassDescriptionSynta
     {
         // null 
         assertFalse( checker.isValidSyntax( null ) );
-        
+
         // empty 
         assertFalse( checker.isValidSyntax( "" ) );
-        
+
         // missing/invalid OID
         assertFalse( checker.isValidSyntax( "()" ) );
         assertFalse( checker.isValidSyntax( "(  )" ) );

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/ObjectClassTypeSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/ObjectClassTypeSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/ObjectClassTypeSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/ObjectClassTypeSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -19,6 +19,7 @@
  */
 package org.apache.directory.shared.ldap.model.schema.syntaxes;
 
+
 import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertTrue;
 
@@ -28,6 +29,7 @@ import org.apache.directory.shared.ldap.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Test cases for ObjectClassTypeSyntaxChecker.
  *
@@ -62,8 +64,8 @@ public class ObjectClassTypeSyntaxChecke
         assertFalse( checker.isValidSyntax( "a" ) );
         assertFalse( checker.isValidSyntax( "-" ) );
     }
-    
-    
+
+
     @Test
     public void testWrongCase()
     {
@@ -71,8 +73,8 @@ public class ObjectClassTypeSyntaxChecke
         assertFalse( checker.isValidSyntax( "abstract" ) );
         assertFalse( checker.isValidSyntax( "structural" ) );
     }
-    
-    
+
+
     @Test
     public void testCorrectCase()
     {

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/ObjectNameSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/ObjectNameSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/ObjectNameSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/ObjectNameSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -19,6 +19,7 @@
  */
 package org.apache.directory.shared.ldap.model.schema.syntaxes;
 
+
 import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertTrue;
 
@@ -28,6 +29,7 @@ import org.apache.directory.shared.ldap.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Test cases for ObjectNameSyntaxChecker.
  *
@@ -64,8 +66,8 @@ public class ObjectNameSyntaxCheckerTest
         assertTrue( checker.isValidSyntax( "AzErTy" ) );
         assertTrue( checker.isValidSyntax( "a123;-bcdEf0" ) );
     }
-    
-    
+
+
     @Test
     public void testWrongName()
     {

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/OctetStringSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/OctetStringSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/OctetStringSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/OctetStringSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -29,6 +29,7 @@ import org.apache.directory.shared.util.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Test cases for OctetStringSyntaxChecker.
  *
@@ -66,10 +67,10 @@ public class OctetStringSyntaxCheckerTes
     public void testCorrectCase()
     {
         byte[] array = new byte[256];
-        
+
         for ( int i = 0; i < 256; i++ )
         {
-            array[ i ] = (byte)i;
+            array[i] = ( byte ) i;
         }
 
         assertTrue( checker.isValidSyntax( array ) );

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/OtherMailboxSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/OtherMailboxSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/OtherMailboxSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/OtherMailboxSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -19,6 +19,7 @@
  */
 package org.apache.directory.shared.ldap.model.schema.syntaxes;
 
+
 import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertTrue;
 
@@ -28,6 +29,7 @@ import org.apache.directory.shared.ldap.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Test cases for OtherMailboxSyntaxChecker.
  *
@@ -63,8 +65,8 @@ public class OtherMailboxSyntaxCheckerTe
         assertFalse( checker.isValidSyntax( "test$test$" ) );
         assertFalse( checker.isValidSyntax( "mail$\u0000\u007F\u0080" ) );
     }
-    
-    
+
+
     @Test
     public void testCorrectCase()
     {

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/PostalAddressSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/PostalAddressSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/PostalAddressSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/PostalAddressSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -19,6 +19,7 @@
  */
 package org.apache.directory.shared.ldap.model.schema.syntaxes;
 
+
 import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertTrue;
 
@@ -28,6 +29,7 @@ import org.apache.directory.shared.ldap.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Test cases for PostalAddressSyntaxChecker.
  *
@@ -62,8 +64,8 @@ public class PostalAddressSyntaxCheckerT
         assertFalse( checker.isValidSyntax( "$ test" ) );
         assertFalse( checker.isValidSyntax( "test$$test" ) );
     }
-    
-    
+
+
     @Test
     public void testCorrectCase()
     {

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/PresentationAddressSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/PresentationAddressSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/PresentationAddressSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/PresentationAddressSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -19,6 +19,7 @@
  */
 package org.apache.directory.shared.ldap.model.schema.syntaxes;
 
+
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertTrue;
 
@@ -28,6 +29,7 @@ import org.apache.directory.shared.ldap.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Test cases for PresentationAddress.
  *
@@ -53,16 +55,19 @@ public class PresentationAddressSyntaxCh
         assertTrue( checker.isValidSyntax( "" ) );
     }
 
+
     @Test
     public void testOid()
     {
         assertEquals( "1.3.6.1.4.1.1466.115.121.1.43", checker.getOid() );
     }
 
+
     @Test
     public void testCorrectCase()
     {
         assertTrue( checker.isValidSyntax( "FALSE" ) );
-        assertTrue( checker.isValidSyntax( new byte[]{0x01, (byte)0xFF} ) );
+        assertTrue( checker.isValidSyntax( new byte[]
+            { 0x01, ( byte ) 0xFF } ) );
     }
 }

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/PrintableStringSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/PrintableStringSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/PrintableStringSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/PrintableStringSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -19,6 +19,7 @@
  */
 package org.apache.directory.shared.ldap.model.schema.syntaxes;
 
+
 import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertTrue;
 
@@ -28,6 +29,7 @@ import org.apache.directory.shared.ldap.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Test cases for PrintableStringSyntaxChecker.
  *
@@ -66,32 +68,41 @@ public class PrintableStringSyntaxChecke
     {
         for ( int i = 0; i < 0x1F; i++ )
         {
-            assertFalse( checker.isValidSyntax( new String( new byte[]{(byte)i} ) ) );
+            assertFalse( checker.isValidSyntax( new String( new byte[]
+                { ( byte ) i } ) ) );
         }
 
         for ( int i = 0x21; i < 0x26; i++ )
         {
-            assertFalse( checker.isValidSyntax( new String( new byte[]{(byte)i} ) ) );
+            assertFalse( checker.isValidSyntax( new String( new byte[]
+                { ( byte ) i } ) ) );
         }
 
         for ( int i = 0x5B; i < 0x60; i++ )
         {
-            assertFalse( checker.isValidSyntax( new String( new byte[]{(byte)i} ) ) );
+            assertFalse( checker.isValidSyntax( new String( new byte[]
+                { ( byte ) i } ) ) );
         }
 
         for ( int i = 0x7B; i < 0x7F; i++ )
         {
-            assertFalse( checker.isValidSyntax( new String( new byte[]{(byte)i} ) ) );
+            assertFalse( checker.isValidSyntax( new String( new byte[]
+                { ( byte ) i } ) ) );
         }
 
-        assertFalse( checker.isValidSyntax( new String( new byte[]{(byte)0x2A} ) ) );
-        assertFalse( checker.isValidSyntax( new String( new byte[]{(byte)0x3B} ) ) );
-        assertFalse( checker.isValidSyntax( new String( new byte[]{(byte)0x3C} ) ) );
-        assertFalse( checker.isValidSyntax( new String( new byte[]{(byte)0x3E} ) ) );
-        assertFalse( checker.isValidSyntax( new String( new byte[]{(byte)0x40} ) ) );
+        assertFalse( checker.isValidSyntax( new String( new byte[]
+            { ( byte ) 0x2A } ) ) );
+        assertFalse( checker.isValidSyntax( new String( new byte[]
+            { ( byte ) 0x3B } ) ) );
+        assertFalse( checker.isValidSyntax( new String( new byte[]
+            { ( byte ) 0x3C } ) ) );
+        assertFalse( checker.isValidSyntax( new String( new byte[]
+            { ( byte ) 0x3E } ) ) );
+        assertFalse( checker.isValidSyntax( new String( new byte[]
+            { ( byte ) 0x40 } ) ) );
     }
-    
-    
+
+
     @Test
     public void testCorrectCase()
     {

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/ProtocolInformationSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/ProtocolInformationSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/ProtocolInformationSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/ProtocolInformationSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -19,6 +19,7 @@
  */
 package org.apache.directory.shared.ldap.model.schema.syntaxes;
 
+
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertTrue;
 
@@ -28,6 +29,7 @@ import org.apache.directory.shared.ldap.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Test cases for ProtocolInformationSyntaxChecker.
  *
@@ -53,16 +55,19 @@ public class ProtocolInformationSyntaxCh
         assertTrue( checker.isValidSyntax( "" ) );
     }
 
+
     @Test
     public void testOid()
     {
         assertEquals( "1.3.6.1.4.1.1466.115.121.1.42", checker.getOid() );
     }
 
+
     @Test
     public void testCorrectCase()
     {
         assertTrue( checker.isValidSyntax( "FALSE" ) );
-        assertTrue( checker.isValidSyntax( new byte[]{0x01, (byte)0xFF} ) );
+        assertTrue( checker.isValidSyntax( new byte[]
+            { 0x01, ( byte ) 0xFF } ) );
     }
 }

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/SubstringAssertionSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/SubstringAssertionSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/SubstringAssertionSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/SubstringAssertionSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -19,6 +19,7 @@
  */
 package org.apache.directory.shared.ldap.model.schema.syntaxes;
 
+
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertTrue;
 
@@ -28,6 +29,7 @@ import org.apache.directory.shared.ldap.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Test cases for SubstringAssertionSyntaxChecker.
  *
@@ -53,16 +55,19 @@ public class SubstringAssertionSyntaxChe
         assertTrue( checker.isValidSyntax( "" ) );
     }
 
+
     @Test
     public void testOid()
     {
         assertEquals( "1.3.6.1.4.1.1466.115.121.1.58", checker.getOid() );
     }
 
+
     @Test
     public void testCorrectCase()
     {
         assertTrue( checker.isValidSyntax( "FALSE" ) );
-        assertTrue( checker.isValidSyntax( new byte[]{0x01, (byte)0xFF} ) );
+        assertTrue( checker.isValidSyntax( new byte[]
+            { 0x01, ( byte ) 0xFF } ) );
     }
 }

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/SupplierAndConsumerSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/SupplierAndConsumerSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/SupplierAndConsumerSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/SupplierAndConsumerSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -19,6 +19,7 @@
  */
 package org.apache.directory.shared.ldap.model.schema.syntaxes;
 
+
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertTrue;
 
@@ -28,6 +29,7 @@ import org.apache.directory.shared.ldap.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Test cases for SupplierAndConsumerSyntaxChecker.
  *
@@ -53,16 +55,19 @@ public class SupplierAndConsumerSyntaxCh
         assertTrue( checker.isValidSyntax( "" ) );
     }
 
+
     @Test
     public void testOid()
     {
         assertEquals( "1.3.6.1.4.1.1466.115.121.1.48", checker.getOid() );
     }
 
+
     @Test
     public void testCorrectCase()
     {
         assertTrue( checker.isValidSyntax( "FALSE" ) );
-        assertTrue( checker.isValidSyntax( new byte[]{0x01, (byte)0xFF} ) );
+        assertTrue( checker.isValidSyntax( new byte[]
+            { 0x01, ( byte ) 0xFF } ) );
     }
 }

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/SupplierInformationSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/SupplierInformationSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/SupplierInformationSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/SupplierInformationSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -19,6 +19,7 @@
  */
 package org.apache.directory.shared.ldap.model.schema.syntaxes;
 
+
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertTrue;
 
@@ -28,6 +29,7 @@ import org.apache.directory.shared.ldap.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Test cases for SupplierInformationSyntaxChecker.
  *
@@ -53,16 +55,19 @@ public class SupplierInformationSyntaxCh
         assertTrue( checker.isValidSyntax( "" ) );
     }
 
+
     @Test
     public void testOid()
     {
         assertEquals( "1.3.6.1.4.1.1466.115.121.1.46", checker.getOid() );
     }
 
+
     @Test
     public void testCorrectCase()
     {
         assertTrue( checker.isValidSyntax( "FALSE" ) );
-        assertTrue( checker.isValidSyntax( new byte[]{0x01, (byte)0xFF} ) );
+        assertTrue( checker.isValidSyntax( new byte[]
+            { 0x01, ( byte ) 0xFF } ) );
     }
 }

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/SupplierOrConsumerSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/SupplierOrConsumerSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/SupplierOrConsumerSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/SupplierOrConsumerSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -19,6 +19,7 @@
  */
 package org.apache.directory.shared.ldap.model.schema.syntaxes;
 
+
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertTrue;
 
@@ -28,6 +29,7 @@ import org.apache.directory.shared.ldap.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Test cases for SupplierOrConsumerSyntaxChecker.
  *
@@ -53,16 +55,19 @@ public class SupplierOrConsumerSyntaxChe
         assertTrue( checker.isValidSyntax( "" ) );
     }
 
+
     @Test
     public void testOid()
     {
         assertEquals( "1.3.6.1.4.1.1466.115.121.1.47", checker.getOid() );
     }
 
+
     @Test
     public void testCorrectCase()
     {
         assertTrue( checker.isValidSyntax( "FALSE" ) );
-        assertTrue( checker.isValidSyntax( new byte[]{0x01, (byte)0xFF} ) );
+        assertTrue( checker.isValidSyntax( new byte[]
+            { 0x01, ( byte ) 0xFF } ) );
     }
 }

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/SupportedAlgorithmSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/SupportedAlgorithmSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/SupportedAlgorithmSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/SupportedAlgorithmSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -19,6 +19,7 @@
  */
 package org.apache.directory.shared.ldap.model.schema.syntaxes;
 
+
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertTrue;
 
@@ -28,6 +29,7 @@ import org.apache.directory.shared.ldap.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Test cases for SupportedAlgorithmSyntaxChecker.
  *
@@ -53,16 +55,19 @@ public class SupportedAlgorithmSyntaxChe
         assertTrue( checker.isValidSyntax( "" ) );
     }
 
+
     @Test
     public void testOid()
     {
         assertEquals( "1.3.6.1.4.1.1466.115.121.1.49", checker.getOid() );
     }
 
+
     @Test
     public void testCorrectCase()
     {
         assertTrue( checker.isValidSyntax( "FALSE" ) );
-        assertTrue( checker.isValidSyntax( new byte[]{0x01, (byte)0xFF} ) );
+        assertTrue( checker.isValidSyntax( new byte[]
+            { 0x01, ( byte ) 0xFF } ) );
     }
 }

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/TelephoneNumberSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/TelephoneNumberSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/TelephoneNumberSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/TelephoneNumberSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -19,6 +19,7 @@
  */
 package org.apache.directory.shared.ldap.model.schema.syntaxes;
 
+
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertTrue;
@@ -29,6 +30,7 @@ import org.apache.directory.shared.ldap.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Test cases for NumericStringSyntaxChecker.
  *
@@ -46,7 +48,8 @@ public class TelephoneNumberSyntaxChecke
     {
         assertFalse( checker.isValidSyntax( null ) );
     }
-    
+
+
     @Test
     public void testOID()
     {
@@ -67,8 +70,8 @@ public class TelephoneNumberSyntaxChecke
         assertFalse( checker.isValidSyntax( "A" ) );
         assertFalse( checker.isValidSyntax( "+" ) );
     }
-    
-    
+
+
     @Test
     public void testWrongCase()
     {
@@ -76,8 +79,8 @@ public class TelephoneNumberSyntaxChecke
         assertFalse( checker.isValidSyntax( "+ ()" ) );
         assertFalse( checker.isValidSyntax( " +2 (123) 456-789 +" ) );
     }
-    
-    
+
+
     @Test
     public void testCorrectCase()
     {
@@ -87,13 +90,14 @@ public class TelephoneNumberSyntaxChecke
         assertTrue( checker.isValidSyntax( "+ 123 ( 456 )7891   12345" ) );
         assertTrue( checker.isValidSyntax( " 12 34 56 78 90 " ) );
     }
-    
+
+
     @Test
     public void testWithNewMandatoryRegexp()
     {
         // Adding french telephone number regexp
         checker.setDefaultRegexp( " *0[1-8](( *|[-/.]{1})\\d\\d){4} *" );
-        
+
         assertFalse( checker.isValidSyntax( "+ 123 ( 456 )7891   12345" ) );
         assertTrue( checker.isValidSyntax( " 01 02 03 04 05 " ) );
         assertTrue( checker.isValidSyntax( " 0102 03 04 05 " ) );

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/TeletexTerminalIdentifierSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/TeletexTerminalIdentifierSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/TeletexTerminalIdentifierSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/TeletexTerminalIdentifierSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -19,6 +19,7 @@
  */
 package org.apache.directory.shared.ldap.model.schema.syntaxes;
 
+
 import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertTrue;
 
@@ -28,6 +29,7 @@ import org.apache.directory.shared.ldap.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Test cases for TeletexTerminalIdentifierSyntaxChecker.
  *
@@ -58,7 +60,8 @@ public class TeletexTerminalIdentifierSy
     public void testWrongCase() throws Exception
     {
         assertFalse( checker.isValidSyntax( "test$" ) );
-        assertFalse( checker.isValidSyntax( new String( new byte[]{ 't', 'e', 's', 't', 0x00, 0x7F, (byte)0x80, '$', 't', 'e', 's', 't' }, "UTF-8" ) ) );
+        assertFalse( checker.isValidSyntax( new String( new byte[]
+            { 't', 'e', 's', 't', 0x00, 0x7F, ( byte ) 0x80, '$', 't', 'e', 's', 't' }, "UTF-8" ) ) );
         assertFalse( checker.isValidSyntax( "test$$" ) );
         assertFalse( checker.isValidSyntax( "test$a:b" ) );
         assertFalse( checker.isValidSyntax( "test$misc" ) );
@@ -70,8 +73,8 @@ public class TeletexTerminalIdentifierSy
         assertFalse( checker.isValidSyntax( "test$misc:a\\2b" ) );
         assertFalse( checker.isValidSyntax( "test$misc:a\\5b" ) );
     }
-    
-    
+
+
     @Test
     public void testCorrectCase() throws Exception
     {
@@ -82,7 +85,8 @@ public class TeletexTerminalIdentifierSy
         assertTrue( checker.isValidSyntax( "test$page:abc" ) );
         assertTrue( checker.isValidSyntax( "test$private:abc" ) );
         assertTrue( checker.isValidSyntax( "test$private:abc$misc:def" ) );
-        assertTrue( checker.isValidSyntax( "test$misc:" + new String( new byte[]{ 't', 'e', 's', 't', 0x00, 0x7F, (byte)0xFF}, "UTF-8" ) ) );
+        assertTrue( checker.isValidSyntax( "test$misc:" + new String( new byte[]
+            { 't', 'e', 's', 't', 0x00, 0x7F, ( byte ) 0xFF }, "UTF-8" ) ) );
         assertTrue( checker.isValidSyntax( "test$misc:a\\5c" ) );
         assertTrue( checker.isValidSyntax( "test$misc:a\\5C" ) );
         assertTrue( checker.isValidSyntax( "test$misc:a\\24" ) );

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/TelexNumberSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/TelexNumberSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/TelexNumberSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/TelexNumberSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -19,6 +19,7 @@
  */
 package org.apache.directory.shared.ldap.model.schema.syntaxes;
 
+
 import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertTrue;
 
@@ -28,6 +29,7 @@ import org.apache.directory.shared.ldap.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Test cases for TelexNumberSyntaxChecker.
  *
@@ -63,10 +65,11 @@ public class TelexNumberSyntaxCheckerTes
         assertFalse( checker.isValidSyntax( "test$$test" ) );
         assertFalse( checker.isValidSyntax( "$test$test" ) );
         assertFalse( checker.isValidSyntax( "test$test$test$test" ) );
-        assertFalse( checker.isValidSyntax( new String( new byte[]{ 't', 'e', 's', 't', '$', 0x00, 0x7F, (byte)0x80, '$', 't', 'e', 's', 't' }, "UTF-8" ) ) );
+        assertFalse( checker.isValidSyntax( new String( new byte[]
+            { 't', 'e', 's', 't', '$', 0x00, 0x7F, ( byte ) 0x80, '$', 't', 'e', 's', 't' }, "UTF-8" ) ) );
     }
-    
-    
+
+
     @Test
     public void testCorrectCase()
     {

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/UtcTimeSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/UtcTimeSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/UtcTimeSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/UtcTimeSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -29,6 +29,7 @@ import org.apache.directory.shared.ldap.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Test cases for UtcTimeSyntaxChecker.
  *
@@ -40,6 +41,7 @@ public class UtcTimeSyntaxCheckerTest
 {
     UtcTimeSyntaxChecker checker = new UtcTimeSyntaxChecker();
 
+
     @Test
     public void testNullString()
     {
@@ -62,7 +64,8 @@ public class UtcTimeSyntaxCheckerTest
         assertFalse( checker.isValidSyntax( "1" ) );
         assertFalse( checker.isValidSyntax( "B" ) );
     }
-    
+
+
     @Test
     public void testErrorCase()
     {
@@ -81,8 +84,8 @@ public class UtcTimeSyntaxCheckerTest
         assertFalse( checker.isValidSyntax( "061205184527+1299" ) );
         assertFalse( checker.isValidSyntax( "061205184527-12" ) );
     }
-    
-    
+
+
     @Test
     public void testCorrectCase()
     {

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/UuidSyntaxCheckerTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/UuidSyntaxCheckerTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/UuidSyntaxCheckerTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/UuidSyntaxCheckerTest.java Tue Jan 24 17:44:03 2012
@@ -19,6 +19,7 @@
  */
 package org.apache.directory.shared.ldap.model.schema.syntaxes;
 
+
 import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertTrue;
 
@@ -30,6 +31,7 @@ import org.apache.directory.shared.util.
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Test cases for UuidSyntaxChecker.
  *
@@ -62,18 +64,18 @@ public class UuidSyntaxCheckerTest
         assertFalse( checker.isValidSyntax( "01234567788ABCDEF" ) );
     }
 
-    
+
     @Test
     public void testCorrectUuid()
     {
         byte[] array = new byte[16];
-        
+
         for ( int i = 0; i < 16; i++ )
         {
-            array[ i ] = (byte)i;
+            array[i] = ( byte ) i;
         }
 
-        assertTrue( checker.isValidSyntax( Strings.uuidToString(array) ) );
+        assertTrue( checker.isValidSyntax( Strings.uuidToString( array ) ) );
     }
 
 
@@ -81,10 +83,10 @@ public class UuidSyntaxCheckerTest
     public void testWrongSizeUuid()
     {
         byte[] array = new byte[15];
-        
+
         for ( int i = 0; i < 15; i++ )
         {
-            array[ i ] = (byte)i;
+            array[i] = ( byte ) i;
         }
 
         assertFalse( checker.isValidSyntax( array ) );

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/parser/AttributeTypeDescriptionSchemaParserTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/parser/AttributeTypeDescriptionSchemaParserTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/parser/AttributeTypeDescriptionSchemaParserTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/parser/AttributeTypeDescriptionSchemaParserTest.java Tue Jan 24 17:44:03 2012
@@ -40,6 +40,7 @@ import org.junit.Before;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Tests the AttributeTypeDescriptionSchemaParser class.
  * 
@@ -112,7 +113,7 @@ public class AttributeTypeDescriptionSch
     @Test
     public void testObsolete() throws ParseException
     {
-        SchemaParserTestUtils.testObsolete(parser, "1.1", "SYNTAX 1.1");
+        SchemaParserTestUtils.testObsolete( parser, "1.1", "SYNTAX 1.1" );
     }
 
 

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/parser/ComparatorDescriptionSchemaParserTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/parser/ComparatorDescriptionSchemaParserTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/parser/ComparatorDescriptionSchemaParserTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/parser/ComparatorDescriptionSchemaParserTest.java Tue Jan 24 17:44:03 2012
@@ -65,7 +65,7 @@ public class ComparatorDescriptionSchema
     @Test
     public void testNumericOid() throws ParseException
     {
-        SchemaParserTestUtils.testNumericOid(parser, "FQCN org.apache.directory.SimpleComparator");
+        SchemaParserTestUtils.testNumericOid( parser, "FQCN org.apache.directory.SimpleComparator" );
     }
 
 

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/parser/DITContentRuleDescriptionSchemaParserTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/parser/DITContentRuleDescriptionSchemaParserTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/parser/DITContentRuleDescriptionSchemaParserTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/parser/DITContentRuleDescriptionSchemaParserTest.java Tue Jan 24 17:44:03 2012
@@ -438,7 +438,8 @@ public class DITContentRuleDescriptionSc
 
         assertEquals( "1.2.3.4.5.6.7.8.9.0", ditContentRule.getOid() );
         assertEquals( 2, ditContentRule.getNames().size() );
-        assertEquals( "abcdefghijklmnopqrstuvwxyz-ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789", ditContentRule.getNames().get( 0 ) );
+        assertEquals( "abcdefghijklmnopqrstuvwxyz-ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789", ditContentRule.getNames()
+            .get( 0 ) );
         assertEquals( "test", ditContentRule.getNames().get( 1 ) );
         assertEquals( "Descripton \u00E4\u00F6\u00FC\u00DF \u90E8\u9577", ditContentRule.getDescription() );
         assertTrue( ditContentRule.isObsolete() );
@@ -448,15 +449,18 @@ public class DITContentRuleDescriptionSc
             .getAuxObjectClassOids().get( 1 ) );
         assertEquals( 2, ditContentRule.getMustAttributeTypeOids().size() );
         assertEquals( "3.4.5.6.7.8.9.0.1.2", ditContentRule.getMustAttributeTypeOids().get( 0 ) );
-        assertEquals( "abcdefghijklmnopqrstuvwxyz-ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789", ditContentRule.getMustAttributeTypeOids()
+        assertEquals( "abcdefghijklmnopqrstuvwxyz-ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789", ditContentRule
+            .getMustAttributeTypeOids()
             .get( 1 ) );
         assertEquals( 2, ditContentRule.getMayAttributeTypeOids().size() );
         assertEquals( "4.5.6.7.8.9.0.1.2.3", ditContentRule.getMayAttributeTypeOids().get( 0 ) );
-        assertEquals( "abcdefghijklmnopqrstuvwxyz-ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789", ditContentRule.getMayAttributeTypeOids()
+        assertEquals( "abcdefghijklmnopqrstuvwxyz-ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789", ditContentRule
+            .getMayAttributeTypeOids()
             .get( 1 ) );
         assertEquals( 2, ditContentRule.getNotAttributeTypeOids().size() );
         assertEquals( "5.6.7.8.9.0.1.2.3.4", ditContentRule.getNotAttributeTypeOids().get( 0 ) );
-        assertEquals( "abcdefghijklmnopqrstuvwxyz-ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789", ditContentRule.getNotAttributeTypeOids()
+        assertEquals( "abcdefghijklmnopqrstuvwxyz-ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789", ditContentRule
+            .getNotAttributeTypeOids()
             .get( 1 ) );
         assertEquals( 2, ditContentRule.getExtensions().size() );
         assertNotNull( ditContentRule.getExtensions().get( "X-TEST-a" ) );
@@ -498,7 +502,7 @@ public class DITContentRuleDescriptionSc
                 "( 2.5.6.4 DESC 'content rule for organization' NOT ( x121Address $ telexNumber ) )",
                 "( 2.5.6.4 DESC 'content rule for organization' NOT ( x121Address $ telexNumber ) )",
                 "( 1.2.3.4.5.6.7.8.9.0 NAME ( 'abcdefghijklmnopqrstuvwxyz-ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789' 'test' ) DESC 'Descripton \u00E4\u00F6\u00FC\u00DF \u90E8\u9577' OBSOLETE AUX ( 2.3.4.5.6.7.8.9.0.1 $ abcdefghijklmnopqrstuvwxyz-ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789 ) MUST ( 3.4.5.6.7.8.9.0.1.2 $ abcdefghijklmnopqrstuvwxyz-ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789 ) MAY ( 4.5.6.7.8.9.0.1.2.3 $ abcdefghijklmnopqrstuvwxyz-ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789 ) NOT ( 5.6.7.8.9.0.1.2.3.4 $ abcdefghijklmnopqrstuvwxyz-ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789 ) X-TEST-a ('test1-1' 'test1-2') X-TEST-b ('test2-1' 'test2-2') )" };
-        SchemaParserTestUtils.testMultiThreaded(parser, testValues);
+        SchemaParserTestUtils.testMultiThreaded( parser, testValues );
 
     }
 

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/parser/DITStructureRuleDescriptionSchemaParserTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/parser/DITStructureRuleDescriptionSchemaParserTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/parser/DITStructureRuleDescriptionSchemaParserTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/parser/DITStructureRuleDescriptionSchemaParserTest.java Tue Jan 24 17:44:03 2012
@@ -161,7 +161,7 @@ public class DITStructureRuleDescription
     @Test
     public void testNames() throws ParseException
     {
-        SchemaParserTestUtils.testNames(parser, "1", "FORM 1.1");
+        SchemaParserTestUtils.testNames( parser, "1", "FORM 1.1" );
     }
 
 
@@ -367,7 +367,8 @@ public class DITStructureRuleDescription
 
         assertEquals( 1234567890, ditStructureRule.getRuleId() );
         assertEquals( 2, ditStructureRule.getNames().size() );
-        assertEquals( "abcdefghijklmnopqrstuvwxyz-ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789", ditStructureRule.getNames().get( 0 ) );
+        assertEquals( "abcdefghijklmnopqrstuvwxyz-ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789", ditStructureRule.getNames()
+            .get( 0 ) );
         assertEquals( "test", ditStructureRule.getNames().get( 1 ) );
         assertEquals( "Descripton \u00E4\u00F6\u00FC\u00DF \u90E8\u9577", ditStructureRule.getDescription() );
         assertTrue( ditStructureRule.isObsolete() );

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/parser/LdapSyntaxDescriptionSchemaParserTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/parser/LdapSyntaxDescriptionSchemaParserTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/parser/LdapSyntaxDescriptionSchemaParserTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/parser/LdapSyntaxDescriptionSchemaParserTest.java Tue Jan 24 17:44:03 2012
@@ -34,6 +34,7 @@ import org.junit.Before;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 
+
 /**
  * Tests the LdapSyntaxDescriptionSchemaParser class.
  * 
@@ -81,7 +82,7 @@ public class LdapSyntaxDescriptionSchema
     @Test
     public void testNames() throws ParseException
     {
-        SchemaParserTestUtils.testNames(parser, "1.1", "");
+        SchemaParserTestUtils.testNames( parser, "1.1", "" );
     }
 
 

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/parser/MatchingRuleDescriptionSchemaParserTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/parser/MatchingRuleDescriptionSchemaParserTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/parser/MatchingRuleDescriptionSchemaParserTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/parser/MatchingRuleDescriptionSchemaParserTest.java Tue Jan 24 17:44:03 2012
@@ -181,7 +181,8 @@ public class MatchingRuleDescriptionSche
 
         assertEquals( "1.2.3.4.5.6.7.8.9.0", matchingRule.getOid() );
         assertEquals( 2, matchingRule.getNames().size() );
-        assertEquals( "abcdefghijklmnopqrstuvwxyz-ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789", matchingRule.getNames().get( 0 ) );
+        assertEquals( "abcdefghijklmnopqrstuvwxyz-ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789",
+            matchingRule.getNames().get( 0 ) );
         assertEquals( "test", matchingRule.getNames().get( 1 ) );
         assertEquals( "Descripton \u00E4\u00F6\u00FC\u00DF \u90E8\u9577", matchingRule.getDescription() );
         assertTrue( matchingRule.isObsolete() );
@@ -327,7 +328,7 @@ public class MatchingRuleDescriptionSche
                 "( 2.5.13.5 NAME 'caseExactMatch' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )",
                 "( 2.5.13.5 NAME 'caseExactMatch' DESC 'Case Exact Matching on Directory String [defined in X.520]' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )",
                 "( 1.2.3.4.5.6.7.8.9.0 NAME ( 'abcdefghijklmnopqrstuvwxyz-ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789' 'test' ) DESC 'Descripton \u00E4\u00F6\u00FC\u00DF \u90E8\u9577' OBSOLETE SYNTAX 0.1.2.3.4.5.6.7.8.9 X-TEST-a ('test1-1' 'test1-2') X-TEST-b ('test2-1' 'test2-2') )" };
-        SchemaParserTestUtils.testMultiThreaded(parser, testValues);
+        SchemaParserTestUtils.testMultiThreaded( parser, testValues );
     }
 
 

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/parser/MatchingRuleUseDescriptionSchemaParserTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/parser/MatchingRuleUseDescriptionSchemaParserTest.java?rev=1235374&r1=1235373&r2=1235374&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/parser/MatchingRuleUseDescriptionSchemaParserTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/schema/syntaxes/parser/MatchingRuleUseDescriptionSchemaParserTest.java Tue Jan 24 17:44:03 2012
@@ -267,7 +267,8 @@ public class MatchingRuleUseDescriptionS
 
         assertEquals( "1.2.3.4.5.6.7.8.9.0", matchingRuleUse.getOid() );
         assertEquals( 2, matchingRuleUse.getNames().size() );
-        assertEquals( "abcdefghijklmnopqrstuvwxyz-ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789", matchingRuleUse.getNames().get( 0 ) );
+        assertEquals( "abcdefghijklmnopqrstuvwxyz-ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789", matchingRuleUse.getNames()
+            .get( 0 ) );
         assertEquals( "test", matchingRuleUse.getNames().get( 1 ) );
         assertEquals( "Descripton \u00E4\u00F6\u00FC\u00DF \u90E8\u9577", matchingRuleUse.getDescription() );
         assertTrue( matchingRuleUse.isObsolete() );
@@ -378,7 +379,7 @@ public class MatchingRuleUseDescriptionS
     @Test
     public void testQuirksMode() throws ParseException
     {
-        SchemaParserTestUtils.testQuirksMode(parser, "APPLIES 1.1");
+        SchemaParserTestUtils.testQuirksMode( parser, "APPLIES 1.1" );
 
         try
         {



Mime
View raw message