directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r1647674 - in /directory/apacheds/trunk: core-integ/src/test/java/org/apache/directory/server/core/collective/ core-integ/src/test/java/org/apache/directory/server/core/operations/add/ kerberos-codec/src/test/java/org/apache/directory/serve...
Date Tue, 23 Dec 2014 21:03:10 GMT
Author: seelmann
Date: Tue Dec 23 21:03:09 2014
New Revision: 1647674

URL: http://svn.apache.org/r1647674
Log:
Remove some sysouts in tests

Modified:
    directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/collective/CollectiveAttributeServiceIT.java
    directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/add/AddAfterShutdownIT.java
    directory/apacheds/trunk/kerberos-codec/src/test/java/org/apache/directory/server/kerberos/shared/keytab/KeytabTest.java
    directory/apacheds/trunk/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/LdapConnectionPoolTest.java
    directory/apacheds/trunk/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/LightweightLdapConnectionPoolTest.java
    directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/replication/StaleEventLogDetectionIT.java

Modified: directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/collective/CollectiveAttributeServiceIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/collective/CollectiveAttributeServiceIT.java?rev=1647674&r1=1647673&r2=1647674&view=diff
==============================================================================
--- directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/collective/CollectiveAttributeServiceIT.java
(original)
+++ directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/collective/CollectiveAttributeServiceIT.java
Tue Dec 23 21:03:09 2014
@@ -415,8 +415,8 @@ public class CollectiveAttributeServiceI
             new DefaultAttribute( "collectiveExclusions", "c-ou" ) );
         connection.modify( "ou=services,ou=configuration, ou=system", modification );
 
-        System.out.println( "----- Checking exclusions" );
-        entries = getAllEntries( connection, true );
+//        System.out.println( "----- Checking exclusions" );
+        entries = getAllEntries( connection, false );
 
         // entry should not show the c-ou collective attribute anymore
         entry = entries.get( "ou=services,ou=configuration,ou=system" );
@@ -427,7 +427,7 @@ public class CollectiveAttributeServiceI
             assertEquals( "the c-ou collective attribute should not be present", 0, c_ou.size()
);
         }
 
-        System.out.println( "----- Exclusions OK" );
+//        System.out.println( "----- Exclusions OK" );
 
         // now add more collective subentries - the c-ou should still not show due to exclusions
         connection.add( getTestSubentry2( "cn=testsubentry2,ou=system" ) );

Modified: directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/add/AddAfterShutdownIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/add/AddAfterShutdownIT.java?rev=1647674&r1=1647673&r2=1647674&view=diff
==============================================================================
--- directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/add/AddAfterShutdownIT.java
(original)
+++ directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/add/AddAfterShutdownIT.java
Tue Dec 23 21:03:09 2014
@@ -181,7 +181,7 @@ public class AddAfterShutdownIT extends
         connection.close();
         
 //        System.out.println( "Stopping the service---------------------------------");
-        System.out.println();
+//        System.out.println();
 
         // Now shutdown the DirectoryService
         getService().shutdown();
@@ -203,7 +203,7 @@ public class AddAfterShutdownIT extends
         // Check the resulting modifications
         results = getAllEntries( connection, "dc=test,dc=example,dc=com" );
 
-        System.out.println();
+//        System.out.println();
 
 //        System.out.println( "Entries found :");
 //        System.out.println( "--------------");

Modified: directory/apacheds/trunk/kerberos-codec/src/test/java/org/apache/directory/server/kerberos/shared/keytab/KeytabTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/test/java/org/apache/directory/server/kerberos/shared/keytab/KeytabTest.java?rev=1647674&r1=1647673&r2=1647674&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/test/java/org/apache/directory/server/kerberos/shared/keytab/KeytabTest.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/test/java/org/apache/directory/server/kerberos/shared/keytab/KeytabTest.java
Tue Dec 23 21:03:09 2014
@@ -155,7 +155,7 @@ public class KeytabTest
         writer.setEntries( entries );
         ByteBuffer buffer = writer.write();
 
-        System.out.println( Strings.dumpBytes( buffer.array() ) );
+        //System.out.println( Strings.dumpBytes( buffer.array() ) );
         assertEquals( "Expected file size.", 130, buffer.limit() );
     }
 

Modified: directory/apacheds/trunk/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/LdapConnectionPoolTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/LdapConnectionPoolTest.java?rev=1647674&r1=1647673&r2=1647674&view=diff
==============================================================================
--- directory/apacheds/trunk/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/LdapConnectionPoolTest.java
(original)
+++ directory/apacheds/trunk/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/LdapConnectionPoolTest.java
Tue Dec 23 21:03:09 2014
@@ -152,7 +152,7 @@ public class LdapConnectionPoolTest exte
 
         long t1 = System.currentTimeMillis();
 
-        System.out.println( "Time to create and use 10 000 connections = " + ( t1 - t0 )
);
+//        System.out.println( "Time to create and use 10 000 connections = " + ( t1 - t0
) );
     }
 
 

Modified: directory/apacheds/trunk/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/LightweightLdapConnectionPoolTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/LightweightLdapConnectionPoolTest.java?rev=1647674&r1=1647673&r2=1647674&view=diff
==============================================================================
--- directory/apacheds/trunk/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/LightweightLdapConnectionPoolTest.java
(original)
+++ directory/apacheds/trunk/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/LightweightLdapConnectionPoolTest.java
Tue Dec 23 21:03:09 2014
@@ -152,7 +152,7 @@ public class LightweightLdapConnectionPo
 
         long t1 = System.currentTimeMillis();
 
-        System.out.println( "Time to create and use 10 000 connections = " + ( t1 - t0 )
);
+//        System.out.println( "Time to create and use 10 000 connections = " + ( t1 - t0
) );
     }
 
 

Modified: directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/replication/StaleEventLogDetectionIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/replication/StaleEventLogDetectionIT.java?rev=1647674&r1=1647673&r2=1647674&view=diff
==============================================================================
--- directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/replication/StaleEventLogDetectionIT.java
(original)
+++ directory/apacheds/trunk/server-integ/src/test/java/org/apache/directory/server/replication/StaleEventLogDetectionIT.java
Tue Dec 23 21:03:09 2014
@@ -192,7 +192,7 @@ public class StaleEventLogDetectionIT
      */
     private boolean waitForSyncReplClient( ReplicationConsumer consumer, int expected ) throws
Exception
     {
-        System.out.println( "\nNbAdded every 100ms : " );
+//        System.out.println( "\nNbAdded every 100ms : " );
         boolean isFirst = true;
 
         for ( int i = 0; i < 50; i++ )
@@ -205,10 +205,10 @@ public class StaleEventLogDetectionIT
             }
             else
             {
-                System.out.print( ", " );
+//                System.out.print( ", " );
             }
 
-            System.out.print( nbAdded );
+//            System.out.print( nbAdded );
 
             if ( nbAdded == expected )
             {



Mime
View raw message