directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r770450 - in /directory/apacheds/trunk: core-integ/src/test/java/org/apache/directory/server/core/jndi/ core-integ/src/test/java/org/apache/directory/server/core/schema/ protocol-kerberos/src/test/java/org/apache/directory/server/kerberos/k...
Date Thu, 30 Apr 2009 21:23:41 GMT
Author: elecharny
Date: Thu Apr 30 21:23:38 2009
New Revision: 770450

URL: http://svn.apache.org/viewvc?rev=770450&view=rev
Log:
Replaced the call to BasicAttributes() to a call to BasicAttributes( true )

Modified:
    directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/jndi/CreateContextIT.java
    directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/schema/ObjectClassCreateIT.java
    directory/apacheds/trunk/protocol-kerberos/src/test/java/org/apache/directory/server/kerberos/kdc/SaslGssapiBindITest.java
    directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/add/AddingEntriesWithSpecialCharactersInRDNIT.java
    directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/bind/MiscBindIT.java
    directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/modify/ModifyRemoveIT.java

Modified: directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/jndi/CreateContextIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/jndi/CreateContextIT.java?rev=770450&r1=770449&r2=770450&view=diff
==============================================================================
--- directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/jndi/CreateContextIT.java
(original)
+++ directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/jndi/CreateContextIT.java
Thu Apr 30 21:23:38 2009
@@ -303,7 +303,7 @@
         /*
          * create ou=testing00,ou=system
          */
-        Attributes attributes = new BasicAttributes();
+        Attributes attributes = new BasicAttributes( true );
         attributes.put("objectClass", "organizationalUnit");
         attributes.put("description", "Test OU");
         attributes.put("OU", "Test");
@@ -326,7 +326,7 @@
         /*
          * create ou=testing01,ou=system
          */
-        attributes = new BasicAttributes();
+        attributes = new BasicAttributes( true );
         attribute = new BasicAttribute( "objectClass" );
         attribute.add( "top" );
         attribute.add( "organizationalUnit" );
@@ -349,7 +349,7 @@
         /*
          * create ou=testing02,ou=system
          */
-        attributes = new BasicAttributes();
+        attributes = new BasicAttributes( true );
         attribute = new BasicAttribute( "objectClass" );
         attribute.add( "top" );
         attribute.add( "organizationalUnit" );
@@ -374,7 +374,7 @@
          */
         ctx = ( DirContext ) sysRoot.lookup( "ou=testing01" );
 
-        attributes = new BasicAttributes();
+        attributes = new BasicAttributes( true );
         attribute = new BasicAttribute( "objectClass" );
         attribute.add( "top" );
         attribute.add( "organizationalUnit" );

Modified: directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/schema/ObjectClassCreateIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/schema/ObjectClassCreateIT.java?rev=770450&r1=770449&r2=770450&view=diff
==============================================================================
--- directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/schema/ObjectClassCreateIT.java
(original)
+++ directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/schema/ObjectClassCreateIT.java
Thu Apr 30 21:23:38 2009
@@ -65,7 +65,7 @@
     @Test
     public void testCreateObjectClassWithInvalidNameAttribute() throws Exception
     {
-        Attributes attributes = new BasicAttributes();
+        Attributes attributes = new BasicAttributes( true );
         Attribute  objectClassAttribute = new BasicAttribute( "objectClass" );
         
         objectClassAttribute.add( "top" );
@@ -99,7 +99,7 @@
     @Test
     public void testCreateObjectClassWithNoObjectClass() throws Exception
     {
-        Attributes attributes = new BasicAttributes();
+        Attributes attributes = new BasicAttributes( true );
         Attribute  objectClassAttribute = new BasicAttribute( "objectClass" );
         
         objectClassAttribute.add( "top" );

Modified: directory/apacheds/trunk/protocol-kerberos/src/test/java/org/apache/directory/server/kerberos/kdc/SaslGssapiBindITest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-kerberos/src/test/java/org/apache/directory/server/kerberos/kdc/SaslGssapiBindITest.java?rev=770450&r1=770449&r2=770450&view=diff
==============================================================================
--- directory/apacheds/trunk/protocol-kerberos/src/test/java/org/apache/directory/server/kerberos/kdc/SaslGssapiBindITest.java
(original)
+++ directory/apacheds/trunk/protocol-kerberos/src/test/java/org/apache/directory/server/kerberos/kdc/SaslGssapiBindITest.java
Thu Apr 30 21:23:38 2009
@@ -226,7 +226,7 @@
      */
     protected Attributes getOrgUnitAttributes( String ou )
     {
-        Attributes attrs = new BasicAttributes();
+        Attributes attrs = new BasicAttributes( true );
         Attribute ocls = new BasicAttribute( "objectClass" );
         ocls.add( "top" );
         ocls.add( "organizationalUnit" );

Modified: directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/add/AddingEntriesWithSpecialCharactersInRDNIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/add/AddingEntriesWithSpecialCharactersInRDNIT.java?rev=770450&r1=770449&r2=770450&view=diff
==============================================================================
--- directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/add/AddingEntriesWithSpecialCharactersInRDNIT.java
(original)
+++ directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/add/AddingEntriesWithSpecialCharactersInRDNIT.java
Thu Apr 30 21:23:38 2009
@@ -51,7 +51,7 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
 @RunWith( SiRunner.class )
-@CleanupLevel( Level.SUITE )
+@CleanupLevel( Level.CLASS )
 public class AddingEntriesWithSpecialCharactersInRDNIT
 {
     public static LdapService ldapService;

Modified: directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/bind/MiscBindIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/bind/MiscBindIT.java?rev=770450&r1=770449&r2=770450&view=diff
==============================================================================
--- directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/bind/MiscBindIT.java
(original)
+++ directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/bind/MiscBindIT.java
Thu Apr 30 21:23:38 2009
@@ -108,7 +108,6 @@
             service.setShutdownHookEnabled( false );
 
             JdbmPartition apache = new JdbmPartition();
-            apache.setId( "apache" );
 
             // @TODO need to make this configurable for the system partition
             apache.setCacheSize( 500 );

Modified: directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/modify/ModifyRemoveIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/modify/ModifyRemoveIT.java?rev=770450&r1=770449&r2=770450&view=diff
==============================================================================
--- directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/modify/ModifyRemoveIT.java
(original)
+++ directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/operations/modify/ModifyRemoveIT.java
Thu Apr 30 21:23:38 2009
@@ -638,7 +638,7 @@
         DirContext ctx = ( DirContext ) getWiredContext( ldapService ).lookup( BASE );
         
         // add objectClass:krb5Principal and krb5PrincipalName:test to entry
-        Attributes tn = new BasicAttributes();
+        Attributes tn = new BasicAttributes( true );
         tn.put( new BasicAttribute( "objectClass", "krb5Principal", true ) );
         tn.put( new BasicAttribute( "krb5PrincipalName", "test", true ) );
         ctx.modifyAttributes( RDN, DirContext.ADD_ATTRIBUTE, tn );



Mime
View raw message