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
9fc90a80
Commit
9fc90a80
authored
Jun 01, 2017
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing @Test annotations
parent
5c708ae7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
LoggersEndpointTests.java
...framework/boot/actuate/endpoint/LoggersEndpointTests.java
+2
-0
No files found.
spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/LoggersEndpointTests.java
View file @
9fc90a80
...
...
@@ -65,6 +65,7 @@ public class LoggersEndpointTests extends AbstractEndpointTests<LoggersEndpoint>
LogLevel
.
WARN
,
LogLevel
.
INFO
,
LogLevel
.
DEBUG
,
LogLevel
.
TRACE
);
}
@Test
public
void
invokeWhenNameSpecifiedShouldReturnLevels
()
throws
Exception
{
given
(
getLoggingSystem
().
getLoggerConfiguration
(
"ROOT"
))
.
willReturn
(
new
LoggerConfiguration
(
"ROOT"
,
null
,
LogLevel
.
DEBUG
));
...
...
@@ -73,6 +74,7 @@ public class LoggersEndpointTests extends AbstractEndpointTests<LoggersEndpoint>
assertThat
(
levels
.
getEffectiveLevel
()).
isEqualTo
(
"DEBUG"
);
}
@Test
public
void
setLogLevelShouldSetLevelOnLoggingSystem
()
throws
Exception
{
getEndpointBean
().
setLogLevel
(
"ROOT"
,
LogLevel
.
DEBUG
);
verify
(
getLoggingSystem
()).
setLogLevel
(
"ROOT"
,
LogLevel
.
DEBUG
);
...
...
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