directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r369731 - /directory/trunks/common/ldap/src/test/java/org/apache/ldap/common/message/ReferralImplTest.java
Date Tue, 17 Jan 2006 09:16:21 GMT
Author: akarasulu
Date: Tue Jan 17 01:16:14 2006
New Revision: 369731

URL: http://svn.apache.org/viewcvs?rev=369731&view=rev
Log:
test case no longer applies

Modified:
    directory/trunks/common/ldap/src/test/java/org/apache/ldap/common/message/ReferralImplTest.java

Modified: directory/trunks/common/ldap/src/test/java/org/apache/ldap/common/message/ReferralImplTest.java
URL: http://svn.apache.org/viewcvs/directory/trunks/common/ldap/src/test/java/org/apache/ldap/common/message/ReferralImplTest.java?rev=369731&r1=369730&r2=369731&view=diff
==============================================================================
--- directory/trunks/common/ldap/src/test/java/org/apache/ldap/common/message/ReferralImplTest.java
(original)
+++ directory/trunks/common/ldap/src/test/java/org/apache/ldap/common/message/ReferralImplTest.java
Tue Jan 17 01:16:14 2006
@@ -88,28 +88,6 @@
 
     /**
      * Tests to make sure the equals method works for two objects that are the
-     * same exact copy of one another but there are redundant entries.
-     */
-    public void testEqualsSameButWithRedundancyInOne()
-    {
-        ReferralImpl refs0 = new ReferralImpl();
-        refs0.addLdapUrl( "ldap://blah0" );
-        refs0.addLdapUrl( "ldap://blah1" );
-        refs0.addLdapUrl( "ldap://blah2" );
-        refs0.addLdapUrl( "ldap://blah2" );
-        ReferralImpl refs1 = new ReferralImpl();
-        refs1.addLdapUrl( "ldap://blah0" );
-        refs1.addLdapUrl( "ldap://blah1" );
-        refs1.addLdapUrl( "ldap://blah2" );
-        assertTrue( "Same Referrals should be equal even if one has redundancy",
-                refs0.equals( refs1 ) ) ;
-        assertTrue( "Same Referrals should be equal even if one has redundancy",
-                refs1.equals( refs0 ) ) ;
-    }
-
-
-    /**
-     * Tests to make sure the equals method works for two objects that are the
      * not exact copies of one another but have the same number of URLs.
      */
     public void testEqualsSameNumberButDifferentUrls()



Mime
View raw message