directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r953689 - /directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/kerberos/KeyDerivationServiceIT.java
Date Fri, 11 Jun 2010 13:05:32 GMT
Author: elecharny
Date: Fri Jun 11 13:05:32 2010
New Revision: 953689

URL: http://svn.apache.org/viewvc?rev=953689&view=rev
Log:
Fixing a pb in JVM detection when running on an old Applce computer

Modified:
    directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/kerberos/KeyDerivationServiceIT.java

Modified: directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/kerberos/KeyDerivationServiceIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/kerberos/KeyDerivationServiceIT.java?rev=953689&r1=953688&r2=953689&view=diff
==============================================================================
--- directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/kerberos/KeyDerivationServiceIT.java
(original)
+++ directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/kerberos/KeyDerivationServiceIT.java
Fri Jun 11 13:05:32 2010
@@ -156,6 +156,16 @@ public class KeyDerivationServiceIT exte
              // Could be 4 or 5 depending on whether AES-256 is enabled or not, on Apple
JVM
              assertTrue( "Number of keys", krb5key.size() > 3 );
          }
+         else if ( vendor.equalsIgnoreCase( "Apple Inc." ) )
+         {
+             // Could be 4 or 5 depending on whether AES-256 is enabled or not, on Apple
JVM
+             assertTrue( "Number of keys", krb5key.size() > 3 );
+         }
+         else if ( vendor.equalsIgnoreCase( "\"Apple Computer, Inc.\"" ) )
+         {
+             // Could be 4 or 5 depending on whether AES-256 is enabled or not, on Apple
JVM
+             assertTrue( "Number of keys", krb5key.size() > 3 );
+         }
          else
          {
              fail( "Unkown JVM" );



Mime
View raw message