Author: seelmann Date: Sat Jun 5 12:24:12 2010 New Revision: 951699 URL: http://svn.apache.org/viewvc?rev=951699&view=rev Log: Removed System.out, added log4j.properties to avoid log4j warn messages during test Added: directory/apacheds/trunk/kerberos-shared/src/test/resources/ directory/apacheds/trunk/kerberos-shared/src/test/resources/log4j.properties Modified: directory/apacheds/trunk/kerberos-shared/src/test/java/org/apache/directory/server/kerberos/shared/messages/value/EncryptionKeyTest.java Modified: directory/apacheds/trunk/kerberos-shared/src/test/java/org/apache/directory/server/kerberos/shared/messages/value/EncryptionKeyTest.java URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-shared/src/test/java/org/apache/directory/server/kerberos/shared/messages/value/EncryptionKeyTest.java?rev=951699&r1=951698&r2=951699&view=diff ============================================================================== --- directory/apacheds/trunk/kerberos-shared/src/test/java/org/apache/directory/server/kerberos/shared/messages/value/EncryptionKeyTest.java (original) +++ directory/apacheds/trunk/kerberos-shared/src/test/java/org/apache/directory/server/kerberos/shared/messages/value/EncryptionKeyTest.java Sat Jun 5 12:24:12 2010 @@ -171,7 +171,7 @@ public class EncryptionKeyTest long t1 = System.currentTimeMillis(); - System.out.println( "Delta = " + ( t1 - t0 ) ); + //System.out.println( "Delta = " + ( t1 - t0 ) ); } @@ -194,7 +194,7 @@ public class EncryptionKeyTest long t1 = System.currentTimeMillis(); - System.out.println( "Delta2 = " + ( t1 - t0 ) ); + //System.out.println( "Delta2 = " + ( t1 - t0 ) ); } Added: directory/apacheds/trunk/kerberos-shared/src/test/resources/log4j.properties URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-shared/src/test/resources/log4j.properties?rev=951699&view=auto ============================================================================== --- directory/apacheds/trunk/kerberos-shared/src/test/resources/log4j.properties (added) +++ directory/apacheds/trunk/kerberos-shared/src/test/resources/log4j.properties Sat Jun 5 12:24:12 2010 @@ -0,0 +1,22 @@ +############################################################################# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +############################################################################# +log4j.rootCategory=OFF, stdout + +log4j.appender.stdout=org.apache.log4j.ConsoleAppender +log4j.appender.stdout.layout=org.apache.log4j.PatternLayout +log4j.appender.stdout.layout.ConversionPattern=[%d{HH:mm:ss}] %p [%c] - %m%n +