Skip to content
Permalink
Browse files
remove System.out
  • Loading branch information
olamy committed Nov 20, 2012
1 parent dab0672 commit 70903a8c311c05f02c91853e8dcb198563b0bcef
Showing 1 changed file with 5 additions and 1 deletion.
@@ -24,6 +24,8 @@
import org.apache.archiva.redback.components.apacheds.ApacheDs;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

@@ -56,6 +58,8 @@
@Inject
private ApacheDs apacheDs;

private Logger logger = LoggerFactory.getLogger( getClass() );

protected void setUp()
throws Exception
{
@@ -101,7 +105,7 @@ public void testBasic()

Attributes attrs = result.getAttributes();

System.out.println( AttributeUtils.toString( attrs ) );
logger.info("Attributes {}", AttributeUtils.toString( attrs ) );

assertFalse( "should only have one result returned", results.hasMoreElements() );

0 comments on commit 70903a8

Please sign in to comment.