INT-2884: Refactor Stream Tests to Use Mocks

Avoid hijacking stdout, stderr because the tests failed
when logging was enabled.
This commit is contained in:
Artem Bilan
2013-01-22 12:58:41 +02:00
committed by Gary Russell
parent a9369a1ecf
commit 877c62c5e7
5 changed files with 139 additions and 86 deletions

View File

@@ -0,0 +1,7 @@
log4j.rootCategory=WARN, stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%c{1}: %m%n
log4j.category.org.springframework.integration.stream=DEBUG