directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r220148 - /directory/shared/ldap/trunk/common/src/test/org/apache/ldap/common/message/LockableAttributeImplTest.java
Date Thu, 21 Jul 2005 17:29:06 GMT
Author: akarasulu
Date: Thu Jul 21 10:29:05 2005
New Revision: 220148

URL: http://svn.apache.org/viewcvs?rev=220148&view=rev
Log:
added test case to see that contains() works

Modified:
    directory/shared/ldap/trunk/common/src/test/org/apache/ldap/common/message/LockableAttributeImplTest.java

Modified: directory/shared/ldap/trunk/common/src/test/org/apache/ldap/common/message/LockableAttributeImplTest.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/trunk/common/src/test/org/apache/ldap/common/message/LockableAttributeImplTest.java?rev=220148&r1=220147&r2=220148&view=diff
==============================================================================
--- directory/shared/ldap/trunk/common/src/test/org/apache/ldap/common/message/LockableAttributeImplTest.java
(original)
+++ directory/shared/ldap/trunk/common/src/test/org/apache/ldap/common/message/LockableAttributeImplTest.java
Thu Jul 21 10:29:05 2005
@@ -187,4 +187,13 @@
         assertFalse( "Attributes with different values should not be equal",
                 attr1.equals( attr0 ) );
     }
+
+
+    public void testContains()
+    {
+        LockableAttributeImpl attr = getAttribute();
+        assertTrue( attr.contains( "value0" ) );
+        assertTrue( attr.contains( "value1" ) );
+        assertTrue( attr.contains( "value2" ) );
+    }
 }



Mime
View raw message