directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r883171 - /directory/shared/branches/shared-schema/ldap/src/test/java/org/apache/directory/shared/ldap/schema/UsageEnumTest.java
Date Sun, 22 Nov 2009 22:44:03 GMT
Author: elecharny
Date: Sun Nov 22 22:44:03 2009
New Revision: 883171

URL: http://svn.apache.org/viewvc?rev=883171&view=rev
Log:
Fixed the test accordingly to the Enum modification

Modified:
    directory/shared/branches/shared-schema/ldap/src/test/java/org/apache/directory/shared/ldap/schema/UsageEnumTest.java

Modified: directory/shared/branches/shared-schema/ldap/src/test/java/org/apache/directory/shared/ldap/schema/UsageEnumTest.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-schema/ldap/src/test/java/org/apache/directory/shared/ldap/schema/UsageEnumTest.java?rev=883171&r1=883170&r2=883171&view=diff
==============================================================================
--- directory/shared/branches/shared-schema/ldap/src/test/java/org/apache/directory/shared/ldap/schema/UsageEnumTest.java
(original)
+++ directory/shared/branches/shared-schema/ldap/src/test/java/org/apache/directory/shared/ldap/schema/UsageEnumTest.java
Sun Nov 22 22:44:03 2009
@@ -19,9 +19,10 @@
  */
 package org.apache.directory.shared.ldap.schema;
 
-import org.junit.Test;
 import static org.junit.Assert.assertEquals;
 
+import org.junit.Test;
+
 /**
  * The unit tests for methods on UsageEnum.
  * 
@@ -56,6 +57,6 @@
         assertEquals( "userApplications", UsageEnum.render( UsageEnum.USER_APPLICATIONS )
);
         assertEquals( "distributedOperation", UsageEnum.render( UsageEnum.DISTRIBUTED_OPERATION
) );
         assertEquals( "dSAOperation", UsageEnum.render( UsageEnum.DSA_OPERATION ) );
-        assertEquals( "", UsageEnum.render( null ) );
+        assertEquals( "userApplications", UsageEnum.render( null ) );
     }
 }



Mime
View raw message