Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
d0698bd8
Commit
d0698bd8
authored
Jun 23, 2015
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary System.out in tests
parent
0bb0f32c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
7 deletions
+2
-7
EndpointMBeanExportAutoConfigurationTests.java
...oconfigure/EndpointMBeanExportAutoConfigurationTests.java
+1
-4
ConfigurationPropertiesReportEndpointTests.java
.../endpoint/ConfigurationPropertiesReportEndpointTests.java
+1
-2
ConditionEvaluationReportTests.java
...toconfigure/condition/ConditionEvaluationReportTests.java
+0
-1
No files found.
spring-boot-actuator/src/test/java/org/springframework/boot/actuate/autoconfigure/EndpointMBeanExportAutoConfigurationTests.java
View file @
d0698bd8
/*
/*
* Copyright 2012-201
3
the original author or authors.
* Copyright 2012-201
5
the original author or authors.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with 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
();
this
.
context
.
refresh
();
parent
.
close
();
parent
.
close
();
System
.
out
.
println
(
"parent "
+
ObjectUtils
.
getIdentityHexString
(
parent
));
System
.
out
.
println
(
"child "
+
ObjectUtils
.
getIdentityHexString
(
this
.
context
));
}
}
private
ObjectName
getObjectName
(
String
domain
,
String
beanKey
,
private
ObjectName
getObjectName
(
String
domain
,
String
beanKey
,
...
...
spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/ConfigurationPropertiesReportEndpointTests.java
View file @
d0698bd8
/*
/*
* Copyright 201
3-2014
the original author or authors.
* Copyright 201
2-2015
the original author or authors.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with 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
>
properties
=
report
.
invoke
();
Map
<
String
,
Object
>
nestedProperties
=
(
Map
<
String
,
Object
>)
((
Map
<
String
,
Object
>)
properties
Map
<
String
,
Object
>
nestedProperties
=
(
Map
<
String
,
Object
>)
((
Map
<
String
,
Object
>)
properties
.
get
(
"testProperties"
)).
get
(
"properties"
);
.
get
(
"testProperties"
)).
get
(
"properties"
);
System
.
out
.
println
(
nestedProperties
);
assertThat
(
nestedProperties
.
get
(
"mixedBoolean"
),
equalTo
((
Object
)
true
));
assertThat
(
nestedProperties
.
get
(
"mixedBoolean"
),
equalTo
((
Object
)
true
));
}
}
...
...
spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/condition/ConditionEvaluationReportTests.java
View file @
d0698bd8
...
@@ -223,7 +223,6 @@ public class ConditionEvaluationReportTests {
...
@@ -223,7 +223,6 @@ public class ConditionEvaluationReportTests {
List
<
String
>
messages
=
new
ArrayList
<
String
>();
List
<
String
>
messages
=
new
ArrayList
<
String
>();
for
(
ConditionAndOutcome
outcome
:
outcomes
)
{
for
(
ConditionAndOutcome
outcome
:
outcomes
)
{
messages
.
add
(
outcome
.
getOutcome
().
getMessage
());
messages
.
add
(
outcome
.
getOutcome
().
getMessage
());
System
.
out
.
println
(
outcome
.
getOutcome
().
getMessage
());
}
}
Matcher
<
String
>
onClassMessage
=
containsString
(
"@ConditionalOnClass "
Matcher
<
String
>
onClassMessage
=
containsString
(
"@ConditionalOnClass "
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment