mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Remove unnecessary System.out in tests
This commit is contained in:
parent
0bb0f32c88
commit
d0698bd8ed
@ -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 {
|
||||
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,
|
||||
|
@ -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
|
||||
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));
|
||||
}
|
||||
|
||||
|
@ -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…
Reference in New Issue
Block a user