Browse Source

Remove unnecessary System.out in tests

pull/3212/merge
Stephane Nicoll 11 years ago
parent
commit
d0698bd8ed
  1. 5
      spring-boot-actuator/src/test/java/org/springframework/boot/actuate/autoconfigure/EndpointMBeanExportAutoConfigurationTests.java
  2. 3
      spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/ConfigurationPropertiesReportEndpointTests.java
  3. 1
      spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/condition/ConditionEvaluationReportTests.java

5
spring-boot-actuator/src/test/java/org/springframework/boot/actuate/autoconfigure/EndpointMBeanExportAutoConfigurationTests.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2012-2013 the original author or authors.
* Copyright 2012-2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -164,9 +164,6 @@ public class EndpointMBeanExportAutoConfigurationTests { @@ -164,9 +164,6 @@ public class EndpointMBeanExportAutoConfigurationTests {
this.context.refresh();
parent.close();
System.out.println("parent " + ObjectUtils.getIdentityHexString(parent));
System.out.println("child " + ObjectUtils.getIdentityHexString(this.context));
}
private ObjectName getObjectName(String domain, String beanKey,

3
spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/ConfigurationPropertiesReportEndpointTests.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2013-2014 the original author or authors.
* Copyright 2012-2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -159,7 +159,6 @@ public class ConfigurationPropertiesReportEndpointTests extends @@ -159,7 +159,6 @@ public class ConfigurationPropertiesReportEndpointTests extends
Map<String, Object> properties = report.invoke();
Map<String, Object> nestedProperties = (Map<String, Object>) ((Map<String, Object>) properties
.get("testProperties")).get("properties");
System.out.println(nestedProperties);
assertThat(nestedProperties.get("mixedBoolean"), equalTo((Object) true));
}

1
spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/condition/ConditionEvaluationReportTests.java

@ -223,7 +223,6 @@ public class ConditionEvaluationReportTests { @@ -223,7 +223,6 @@ public class ConditionEvaluationReportTests {
List<String> messages = new ArrayList<String>();
for (ConditionAndOutcome outcome : outcomes) {
messages.add(outcome.getOutcome().getMessage());
System.out.println(outcome.getOutcome().getMessage());
}
Matcher<String> onClassMessage = containsString("@ConditionalOnClass "

Loading…
Cancel
Save