directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r420137 - /directory/branches/apacheds/optimization/core/src/test/java/org/apache/directory/server/core/prefs/PreferencesUtilsTest.java
Date Sat, 08 Jul 2006 15:45:40 GMT
Author: elecharny
Date: Sat Jul  8 08:45:39 2006
New Revision: 420137

URL: http://svn.apache.org/viewvc?rev=420137&view=rev
Log:
Switched from toUpName() to getUpName();

Modified:
    directory/branches/apacheds/optimization/core/src/test/java/org/apache/directory/server/core/prefs/PreferencesUtilsTest.java

Modified: directory/branches/apacheds/optimization/core/src/test/java/org/apache/directory/server/core/prefs/PreferencesUtilsTest.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds/optimization/core/src/test/java/org/apache/directory/server/core/prefs/PreferencesUtilsTest.java?rev=420137&r1=420136&r2=420137&view=diff
==============================================================================
--- directory/branches/apacheds/optimization/core/src/test/java/org/apache/directory/server/core/prefs/PreferencesUtilsTest.java
(original)
+++ directory/branches/apacheds/optimization/core/src/test/java/org/apache/directory/server/core/prefs/PreferencesUtilsTest.java
Sat Jul  8 08:45:39 2006
@@ -47,7 +47,7 @@
 
         LdapDN dn = ( LdapDN ) PreferencesUtils.toSysDn( test );
 
-        assertEquals( dn.toUpName(), "prefNodeName=kerberos,prefNodeName=apache,prefNodeName=org,"
+        assertEquals( dn.getUpName(), "prefNodeName=kerberos,prefNodeName=apache,prefNodeName=org,"
             + PreferencesUtils.SYSPREF_BASE );
 
         // simple test without trailing '/'
@@ -56,7 +56,7 @@
 
         dn = ( LdapDN ) PreferencesUtils.toSysDn( test );
 
-        assertEquals( dn.toUpName(), "prefNodeName=kerberos,prefNodeName=apache,prefNodeName=org,"
+        assertEquals( dn.getUpName(), "prefNodeName=kerberos,prefNodeName=apache,prefNodeName=org,"
             + PreferencesUtils.SYSPREF_BASE );
 
         // basis condition tests
@@ -65,7 +65,7 @@
 
         dn = ( LdapDN ) PreferencesUtils.toSysDn( test );
 
-        assertEquals( dn.toUpName(), PreferencesUtils.SYSPREF_BASE );
+        assertEquals( dn.getUpName(), PreferencesUtils.SYSPREF_BASE );
 
         // endpoint tests
 
@@ -73,7 +73,7 @@
 
         dn = ( LdapDN ) PreferencesUtils.toSysDn( test );
 
-        assertEquals( dn.toUpName(), PreferencesUtils.SYSPREF_BASE );
+        assertEquals( dn.getUpName(), PreferencesUtils.SYSPREF_BASE );
 
     }
 }



Mime
View raw message