Clean up console output for spring-beans tests
This commit is contained in:
@@ -591,7 +591,6 @@ public class DefaultListableBeanFactoryTests {
|
||||
fail("Should throw exception on invalid property");
|
||||
}
|
||||
catch (BeanCreationException ex) {
|
||||
ex.printStackTrace();
|
||||
assertTrue(ex.getCause() instanceof NotWritablePropertyException);
|
||||
NotWritablePropertyException cause = (NotWritablePropertyException) ex.getCause();
|
||||
// expected
|
||||
|
||||
@@ -29,7 +29,6 @@ import org.springframework.beans.factory.xml.XmlBeanDefinitionReader;
|
||||
import org.springframework.core.io.Resource;
|
||||
import org.springframework.tests.sample.beans.TestBean;
|
||||
|
||||
|
||||
/**
|
||||
* @author Rob Harrop
|
||||
* @author Chris Beams
|
||||
@@ -78,7 +77,6 @@ public final class CustomProblemReporterTests {
|
||||
|
||||
@Override
|
||||
public void error(Problem problem) {
|
||||
System.out.println(problem);
|
||||
this.errors.add(problem);
|
||||
}
|
||||
|
||||
@@ -88,7 +86,6 @@ public final class CustomProblemReporterTests {
|
||||
|
||||
@Override
|
||||
public void warning(Problem problem) {
|
||||
System.out.println(problem);
|
||||
this.warnings.add(problem);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user