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
7da33965
Commit
7da33965
authored
Oct 08, 2018
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2.0.x'
parents
5ef9b0f9
86004897
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
21 deletions
+0
-21
PropertiesMeterFilterTests.java
...ate/autoconfigure/metrics/PropertiesMeterFilterTests.java
+0
-11
ServletWebServerFactoryCustomizerTests.java
...e/web/servlet/ServletWebServerFactoryCustomizerTests.java
+0
-7
CommandRunnerTests.java
.../springframework/boot/cli/command/CommandRunnerTests.java
+0
-3
No files found.
spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/metrics/PropertiesMeterFilterTests.java
View file @
7da33965
...
@@ -24,10 +24,7 @@ import io.micrometer.core.instrument.Meter.Type;
...
@@ -24,10 +24,7 @@ import io.micrometer.core.instrument.Meter.Type;
import
io.micrometer.core.instrument.config.MeterFilterReply
;
import
io.micrometer.core.instrument.config.MeterFilterReply
;
import
io.micrometer.core.instrument.distribution.DistributionStatisticConfig
;
import
io.micrometer.core.instrument.distribution.DistributionStatisticConfig
;
import
io.micrometer.core.instrument.simple.SimpleMeterRegistry
;
import
io.micrometer.core.instrument.simple.SimpleMeterRegistry
;
import
org.junit.Before
;
import
org.junit.Test
;
import
org.junit.Test
;
import
org.mockito.Mock
;
import
org.mockito.MockitoAnnotations
;
import
org.springframework.boot.context.properties.bind.Bindable
;
import
org.springframework.boot.context.properties.bind.Bindable
;
import
org.springframework.boot.context.properties.bind.Binder
;
import
org.springframework.boot.context.properties.bind.Binder
;
...
@@ -46,14 +43,6 @@ import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException
...
@@ -46,14 +43,6 @@ import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException
*/
*/
public
class
PropertiesMeterFilterTests
{
public
class
PropertiesMeterFilterTests
{
@Mock
private
DistributionStatisticConfig
config
;
@Before
public
void
setup
()
{
MockitoAnnotations
.
initMocks
(
this
);
}
@Test
@Test
public
void
createWhenPropertiesIsNullShouldThrowException
()
{
public
void
createWhenPropertiesIsNullShouldThrowException
()
{
assertThatIllegalArgumentException
()
assertThatIllegalArgumentException
()
...
...
spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/servlet/ServletWebServerFactoryCustomizerTests.java
View file @
7da33965
...
@@ -24,8 +24,6 @@ import java.util.Map;
...
@@ -24,8 +24,6 @@ import java.util.Map;
import
org.junit.Before
;
import
org.junit.Before
;
import
org.junit.Test
;
import
org.junit.Test
;
import
org.mockito.ArgumentCaptor
;
import
org.mockito.ArgumentCaptor
;
import
org.mockito.Captor
;
import
org.mockito.MockitoAnnotations
;
import
org.springframework.boot.autoconfigure.web.ServerProperties
;
import
org.springframework.boot.autoconfigure.web.ServerProperties
;
import
org.springframework.boot.context.properties.bind.Bindable
;
import
org.springframework.boot.context.properties.bind.Bindable
;
...
@@ -33,7 +31,6 @@ import org.springframework.boot.context.properties.bind.Binder;
...
@@ -33,7 +31,6 @@ import org.springframework.boot.context.properties.bind.Binder;
import
org.springframework.boot.context.properties.source.ConfigurationPropertySource
;
import
org.springframework.boot.context.properties.source.ConfigurationPropertySource
;
import
org.springframework.boot.context.properties.source.MapConfigurationPropertySource
;
import
org.springframework.boot.context.properties.source.MapConfigurationPropertySource
;
import
org.springframework.boot.web.server.Ssl
;
import
org.springframework.boot.web.server.Ssl
;
import
org.springframework.boot.web.servlet.ServletContextInitializer
;
import
org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory
;
import
org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory
;
import
org.springframework.boot.web.servlet.server.Jsp
;
import
org.springframework.boot.web.servlet.server.Jsp
;
import
org.springframework.boot.web.servlet.server.Session
;
import
org.springframework.boot.web.servlet.server.Session
;
...
@@ -56,12 +53,8 @@ public class ServletWebServerFactoryCustomizerTests {
...
@@ -56,12 +53,8 @@ public class ServletWebServerFactoryCustomizerTests {
private
ServletWebServerFactoryCustomizer
customizer
;
private
ServletWebServerFactoryCustomizer
customizer
;
@Captor
private
ArgumentCaptor
<
ServletContextInitializer
[]>
initializersCaptor
;
@Before
@Before
public
void
setup
()
{
public
void
setup
()
{
MockitoAnnotations
.
initMocks
(
this
);
this
.
customizer
=
new
ServletWebServerFactoryCustomizer
(
this
.
properties
);
this
.
customizer
=
new
ServletWebServerFactoryCustomizer
(
this
.
properties
);
}
}
...
...
spring-boot-project/spring-boot-cli/src/test/java/org/springframework/boot/cli/command/CommandRunnerTests.java
View file @
7da33965
...
@@ -47,9 +47,6 @@ public class CommandRunnerTests {
...
@@ -47,9 +47,6 @@ public class CommandRunnerTests {
@Mock
@Mock
private
Command
regularCommand
;
private
Command
regularCommand
;
@Mock
private
Command
shellCommand
;
@Mock
@Mock
private
Command
anotherCommand
;
private
Command
anotherCommand
;
...
...
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