directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r809427 - /directory/apacheds/branches/apacheds-schema/core-integ/src/test/java/org/apache/directory/server/core/schema/SubschemaSubentryIT.java
Date Sun, 30 Aug 2009 22:20:17 GMT
Author: elecharny
Date: Sun Aug 30 22:20:16 2009
New Revision: 809427

URL: http://svn.apache.org/viewvc?rev=809427&view=rev
Log:
Reflect the changes done in shared

Modified:
    directory/apacheds/branches/apacheds-schema/core-integ/src/test/java/org/apache/directory/server/core/schema/SubschemaSubentryIT.java

Modified: directory/apacheds/branches/apacheds-schema/core-integ/src/test/java/org/apache/directory/server/core/schema/SubschemaSubentryIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-schema/core-integ/src/test/java/org/apache/directory/server/core/schema/SubschemaSubentryIT.java?rev=809427&r1=809426&r2=809427&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-schema/core-integ/src/test/java/org/apache/directory/server/core/schema/SubschemaSubentryIT.java
(original)
+++ directory/apacheds/branches/apacheds-schema/core-integ/src/test/java/org/apache/directory/server/core/schema/SubschemaSubentryIT.java
Sun Aug 30 22:20:16 2009
@@ -1428,14 +1428,14 @@
         
         AttributeType at = factory.getAttributeType( serverEntry, service.getRegistries(),
"nis" );
         assertEquals( "1.3.6.1.4.1.18060.0.4.0.2.10000", at.getOid() );
-        assertEquals( "name", at.getSup().getName() );
+        assertEquals( "name", at.getSuperior().getName() );
         assertEquals( "bogus description", at.getDescription() );
         assertEquals( "bogus", at.getName() );
         assertEquals( "bogusName", at.getNames().get( 1 ) );
-        assertEquals( true, at.isCanUserModify() );
+        assertEquals( true, at.isUserModifiable() );
         assertEquals( false, at.isCollective() );
         assertEquals( false, at.isObsolete() );
-        assertEquals( true, at.isSingleValue() );
+        assertEquals( true, at.isSingleValued() );
     }
 
     
@@ -1473,14 +1473,14 @@
         }
         
         assertNotNull( attributeType );
-        assertEquals( true, attributeType.isSingleValue() );
+        assertEquals( true, attributeType.isSingleValued() );
         assertEquals( false, attributeType.isCollective() );
         assertEquals( false, attributeType.isObsolete() );
-        assertEquals( true, attributeType.isCanUserModify() );
+        assertEquals( true, attributeType.isUserModifiable() );
         assertEquals( "bogus description", attributeType.getDescription() );
         assertEquals( "bogus", attributeType.getNames().get( 0 ) );
         assertEquals( "bogusName", attributeType.getNames().get( 1 ) );
-        assertEquals( "name", attributeType.getSup().getName() );
+        assertEquals( "name", attributeType.getSuperior().getName() );
         
         attrs = getSchemaContext( service ).getAttributes(
                 "m-oid=1.3.6.1.4.1.18060.0.4.0.2.10000,ou=attributeTypes,cn=nis" );
@@ -1491,14 +1491,14 @@
 
         AttributeType at = factory.getAttributeType( serverEntry, service.getRegistries(),
"nis" );
         assertEquals( "1.3.6.1.4.1.18060.0.4.0.2.10000", at.getOid() );
-        assertEquals( "name", at.getSup().getName() );
+        assertEquals( "name", at.getSuperior().getName() );
         assertEquals( "bogus description", at.getDescription() );
         assertEquals( "bogus", at.getNames().get( 0 ) );
         assertEquals( "bogusName", at.getNames().get( 1 ) );
-        assertEquals( true, at.isCanUserModify() );
+        assertEquals( true, at.isUserModifiable() );
         assertEquals( false, at.isCollective() );
         assertEquals( false, at.isObsolete() );
-        assertEquals( true, at.isSingleValue() );
+        assertEquals( true, at.isSingleValued() );
     }
 
 



Mime
View raw message