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
cbb48373
Commit
cbb48373
authored
Nov 07, 2017
by
Johnny Lim
Committed by
Stephane Nicoll
Nov 16, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish
Closes gh-10948
parent
2de0247c
Changes
19
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
37 additions
and
41 deletions
+37
-41
MetricsAutoConfigurationTests.java
.../autoconfigure/metrics/MetricsAutoConfigurationTests.java
+1
-1
SpringIntegrationMetrics.java
...actuate/metrics/integration/SpringIntegrationMetrics.java
+5
-5
HealthTests.java
.../org/springframework/boot/actuate/health/HealthTests.java
+7
-7
EnvironmentInfoContributorTests.java
...rk/boot/actuate/info/EnvironmentInfoContributorTests.java
+1
-1
WebMvcMetricsFilterTests.java
...actuate/metrics/web/servlet/WebMvcMetricsFilterTests.java
+1
-1
HibernateJpaConfiguration.java
...boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.java
+2
-2
DataSourceInitializerInvokerTests.java
...autoconfigure/jdbc/DataSourceInitializerInvokerTests.java
+2
-2
DataSourceInitializerTests.java
...k/boot/autoconfigure/jdbc/DataSourceInitializerTests.java
+1
-1
DataSourceJmxConfigurationTests.java
...t/autoconfigure/jdbc/DataSourceJmxConfigurationTests.java
+1
-1
AbstractJpaAutoConfigurationTests.java
...oconfigure/orm/jpa/AbstractJpaAutoConfigurationTests.java
+2
-2
HttpEncodingAutoConfigurationTests.java
...igure/web/servlet/HttpEncodingAutoConfigurationTests.java
+1
-1
WebMvcAutoConfigurationTests.java
...toconfigure/web/servlet/WebMvcAutoConfigurationTests.java
+1
-1
FileSystemWatcherTests.java
...ework/boot/devtools/filewatch/FileSystemWatcherTests.java
+1
-1
ChangeableUrlsTests.java
...gframework/boot/devtools/restart/ChangeableUrlsTests.java
+3
-3
RestartClassLoaderTests.java
...devtools/restart/classloader/RestartClassLoaderTests.java
+1
-1
AbstractApplicationContextRunnerTests.java
...context/runner/AbstractApplicationContextRunnerTests.java
+4
-4
RandomAccessDataFileTests.java
...framework/boot/loader/data/RandomAccessDataFileTests.java
+1
-1
BackCompatibilityBinderIntegrationTests.java
...perties/bind/BackCompatibilityBinderIntegrationTests.java
+2
-2
SpringApplicationExtensionsTests.kt
.../springframework/boot/SpringApplicationExtensionsTests.kt
+0
-4
No files found.
spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/metrics/MetricsAutoConfigurationTests.java
View file @
cbb48373
...
...
@@ -134,7 +134,7 @@ public class MetricsAutoConfigurationTests {
}
private
DataSource
createDataSource
()
{
String
url
=
"jdbc:hsqldb:mem:test-"
+
UUID
.
randomUUID
()
.
toString
()
;
String
url
=
"jdbc:hsqldb:mem:test-"
+
UUID
.
randomUUID
();
return
DataSourceBuilder
.
create
().
url
(
url
).
build
();
}
...
...
spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/integration/SpringIntegrationMetrics.java
View file @
cbb48373
...
...
@@ -63,15 +63,15 @@ public class SpringIntegrationMetrics implements MeterBinder, SmartInitializingS
@Override
public
void
bindTo
(
MeterRegistry
registry
)
{
registerG
ua
ge
(
registry
,
this
.
configurer
,
this
.
tags
,
registerG
au
ge
(
registry
,
this
.
configurer
,
this
.
tags
,
"spring.integration.channelNames"
,
"The number of spring integration channels"
,
(
configurer
)
->
configurer
.
getChannelNames
().
length
);
registerG
ua
ge
(
registry
,
this
.
configurer
,
this
.
tags
,
registerG
au
ge
(
registry
,
this
.
configurer
,
this
.
tags
,
"spring.integration.handlerNames"
,
"The number of spring integration handlers"
,
(
configurer
)
->
configurer
.
getHandlerNames
().
length
);
registerG
ua
ge
(
registry
,
this
.
configurer
,
this
.
tags
,
registerG
au
ge
(
registry
,
this
.
configurer
,
this
.
tags
,
"spring.integration.sourceNames"
,
"The number of spring integration sources"
,
(
configurer
)
->
configurer
.
getSourceNames
().
length
);
...
...
@@ -105,7 +105,7 @@ public class SpringIntegrationMetrics implements MeterBinder, SmartInitializingS
registerTimedGauge
(
registry
,
handlerMetrics
,
tagsWithHandler
,
"spring.integration.handler.duration.mean"
,
"The mean handler duration"
,
MessageHandlerMetrics:
:
getMeanDuration
);
registerG
ua
ge
(
registry
,
handlerMetrics
,
tagsWithHandler
,
registerG
au
ge
(
registry
,
handlerMetrics
,
tagsWithHandler
,
"spring.integration.handler.activeCount"
,
"The number of active handlers"
,
MessageHandlerMetrics:
:
getActiveCount
);
...
...
@@ -133,7 +133,7 @@ public class SpringIntegrationMetrics implements MeterBinder, SmartInitializingS
}
}
private
<
T
>
void
registerG
ua
ge
(
MeterRegistry
registry
,
T
object
,
Iterable
<
Tag
>
tags
,
private
<
T
>
void
registerG
au
ge
(
MeterRegistry
registry
,
T
object
,
Iterable
<
Tag
>
tags
,
String
name
,
String
description
,
ToDoubleFunction
<
T
>
value
)
{
Gauge
.
Builder
<?>
builder
=
Gauge
.
builder
(
name
,
object
,
value
);
builder
.
tags
(
this
.
tags
).
description
(
description
).
register
(
registry
);
...
...
spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/health/HealthTests.java
View file @
cbb48373
...
...
@@ -45,7 +45,7 @@ public class HealthTests {
public
void
createWithStatus
()
throws
Exception
{
Health
health
=
Health
.
status
(
Status
.
UP
).
build
();
assertThat
(
health
.
getStatus
()).
isEqualTo
(
Status
.
UP
);
assertThat
(
health
.
getDetails
()
.
size
()).
isEqualTo
(
0
);
assertThat
(
health
.
getDetails
()
).
isEmpty
(
);
}
@Test
...
...
@@ -100,7 +100,7 @@ public class HealthTests {
public
void
unknown
()
throws
Exception
{
Health
health
=
new
Health
.
Builder
().
unknown
().
build
();
assertThat
(
health
.
getStatus
()).
isEqualTo
(
Status
.
UNKNOWN
);
assertThat
(
health
.
getDetails
()
.
size
()).
isEqualTo
(
0
);
assertThat
(
health
.
getDetails
()
).
isEmpty
(
);
}
@Test
...
...
@@ -114,7 +114,7 @@ public class HealthTests {
public
void
up
()
throws
Exception
{
Health
health
=
new
Health
.
Builder
().
up
().
build
();
assertThat
(
health
.
getStatus
()).
isEqualTo
(
Status
.
UP
);
assertThat
(
health
.
getDetails
()
.
size
()).
isEqualTo
(
0
);
assertThat
(
health
.
getDetails
()
).
isEmpty
(
);
}
@Test
...
...
@@ -130,28 +130,28 @@ public class HealthTests {
public
void
down
()
throws
Exception
{
Health
health
=
Health
.
down
().
build
();
assertThat
(
health
.
getStatus
()).
isEqualTo
(
Status
.
DOWN
);
assertThat
(
health
.
getDetails
()
.
size
()).
isEqualTo
(
0
);
assertThat
(
health
.
getDetails
()
).
isEmpty
(
);
}
@Test
public
void
outOfService
()
throws
Exception
{
Health
health
=
Health
.
outOfService
().
build
();
assertThat
(
health
.
getStatus
()).
isEqualTo
(
Status
.
OUT_OF_SERVICE
);
assertThat
(
health
.
getDetails
()
.
size
()).
isEqualTo
(
0
);
assertThat
(
health
.
getDetails
()
).
isEmpty
(
);
}
@Test
public
void
statusCode
()
throws
Exception
{
Health
health
=
Health
.
status
(
"UP"
).
build
();
assertThat
(
health
.
getStatus
()).
isEqualTo
(
Status
.
UP
);
assertThat
(
health
.
getDetails
()
.
size
()).
isEqualTo
(
0
);
assertThat
(
health
.
getDetails
()
).
isEmpty
(
);
}
@Test
public
void
status
()
throws
Exception
{
Health
health
=
Health
.
status
(
Status
.
UP
).
build
();
assertThat
(
health
.
getStatus
()).
isEqualTo
(
Status
.
UP
);
assertThat
(
health
.
getDetails
()
.
size
()).
isEqualTo
(
0
);
assertThat
(
health
.
getDetails
()
).
isEmpty
(
);
}
}
spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/info/EnvironmentInfoContributorTests.java
View file @
cbb48373
...
...
@@ -50,7 +50,7 @@ public class EnvironmentInfoContributorTests {
public
void
extractNoEntry
()
{
TestPropertyValues
.
of
(
"foo=bar"
).
applyTo
(
this
.
environment
);
Info
actual
=
contributeFrom
(
this
.
environment
);
assertThat
(
actual
.
getDetails
()
.
size
()).
isEqualTo
(
0
);
assertThat
(
actual
.
getDetails
()
).
isEmpty
(
);
}
@Test
...
...
spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/metrics/web/servlet/WebMvcMetricsFilterTests.java
View file @
cbb48373
...
...
@@ -68,7 +68,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
import
static
org
.
springframework
.
test
.
web
.
servlet
.
result
.
MockMvcResultMatchers
.
status
;
/**
* Tests for {@link WebMvcMetricsFilter}
* Tests for {@link WebMvcMetricsFilter}
.
*
* @author Jon Schneider
*/
...
...
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.java
View file @
cbb48373
...
...
@@ -154,7 +154,7 @@ class HibernateJpaConfiguration extends JpaBaseConfiguration {
private
boolean
runningOnWebSphere
()
{
return
ClassUtils
.
isPresent
(
"com.ibm.websphere.jtaextensions.
"
+
"
ExtendedJTATransaction"
,
"com.ibm.websphere.jtaextensions.ExtendedJTATransaction"
,
getClass
().
getClassLoader
());
}
...
...
@@ -175,7 +175,7 @@ class HibernateJpaConfiguration extends JpaBaseConfiguration {
}
catch
(
LinkageError
ex
)
{
// NoClassDefFoundError can happen if Hibernate 4.2 is used and some
// containers (e.g. JBoss EAP 6) wrap
s
it in the superclass LinkageError
// containers (e.g. JBoss EAP 6) wrap it in the superclass LinkageError
if
(!
isUsingJndi
())
{
throw
new
IllegalStateException
(
"Unable to set Hibernate JTA "
+
"platform, are you using the correct "
...
...
spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/jdbc/DataSourceInitializerInvokerTests.java
View file @
cbb48373
...
...
@@ -50,7 +50,7 @@ import static org.assertj.core.api.Assertions.assertThat;
import
static
org
.
junit
.
Assert
.
fail
;
/**
* Tests for {@link DataSourceInitializer}.
* Tests for {@link DataSourceInitializer
Invoker
}.
*
* @author Dave Syer
* @author Stephane Nicoll
...
...
@@ -61,7 +61,7 @@ public class DataSourceInitializerInvokerTests {
.
withConfiguration
(
AutoConfigurations
.
of
(
DataSourceAutoConfiguration
.
class
))
.
withPropertyValues
(
"spring.datasource.initialization-mode=never"
,
"spring.datasource.url:jdbc:hsqldb:mem:init-"
+
UUID
.
randomUUID
()
.
toString
()
);
+
UUID
.
randomUUID
());
@Test
public
void
dataSourceInitialized
()
{
...
...
spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/jdbc/DataSourceInitializerTests.java
View file @
cbb48373
...
...
@@ -102,7 +102,7 @@ public class DataSourceInitializerTests {
private
HikariDataSource
createDataSource
()
{
return
DataSourceBuilder
.
create
().
type
(
HikariDataSource
.
class
)
.
url
(
"jdbc:h2:mem:"
+
UUID
.
randomUUID
()
.
toString
()
).
build
();
.
url
(
"jdbc:h2:mem:"
+
UUID
.
randomUUID
()).
build
();
}
}
spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/jdbc/DataSourceJmxConfigurationTests.java
View file @
cbb48373
...
...
@@ -113,7 +113,7 @@ public class DataSourceJmxConfigurationTests {
private
void
load
(
Class
<?>
config
,
String
...
environment
)
{
AnnotationConfigApplicationContext
context
=
new
AnnotationConfigApplicationContext
();
String
jdbcUrl
=
"jdbc:hsqldb:mem:test-"
+
UUID
.
randomUUID
()
.
toString
()
;
String
jdbcUrl
=
"jdbc:hsqldb:mem:test-"
+
UUID
.
randomUUID
();
TestPropertyValues
.
of
(
environment
).
and
(
"spring.datasource.url="
+
jdbcUrl
)
.
applyTo
(
context
);
if
(
config
!=
null
)
{
...
...
spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/orm/jpa/AbstractJpaAutoConfigurationTests.java
View file @
cbb48373
...
...
@@ -254,7 +254,7 @@ public abstract class AbstractJpaAutoConfigurationTests {
}
private
DataSource
createRandomDataSource
()
{
String
url
=
"jdbc:h2:mem:init-"
+
UUID
.
randomUUID
()
.
toString
()
;
String
url
=
"jdbc:h2:mem:init-"
+
UUID
.
randomUUID
();
return
DataSourceBuilder
.
create
().
url
(
url
).
build
();
}
...
...
@@ -275,7 +275,7 @@ public abstract class AbstractJpaAutoConfigurationTests {
}
private
DataSource
createRandomDataSource
()
{
String
url
=
"jdbc:h2:mem:init-"
+
UUID
.
randomUUID
()
.
toString
()
;
String
url
=
"jdbc:h2:mem:init-"
+
UUID
.
randomUUID
();
return
DataSourceBuilder
.
create
().
url
(
url
).
build
();
}
...
...
spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/servlet/HttpEncodingAutoConfigurationTests.java
View file @
cbb48373
...
...
@@ -147,7 +147,7 @@ public class HttpEncodingAutoConfigurationTests {
Map
<
String
,
WebServerFactoryCustomizer
<?>>
beans
=
getWebServerFactoryCustomizerBeans
();
assertThat
(
beans
.
size
()).
isEqualTo
(
1
);
assertThat
(
this
.
context
.
getBean
(
MockServletWebServerFactory
.
class
)
.
getLocaleCharsetMappings
()
.
size
()).
isEqualTo
(
0
);
.
getLocaleCharsetMappings
()
).
isEmpty
(
);
}
@Test
...
...
spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfigurationTests.java
View file @
cbb48373
...
...
@@ -190,7 +190,7 @@ public class WebMvcAutoConfigurationTests {
.
run
((
context
)
->
{
Map
<
String
,
List
<
Resource
>>
locations
=
getResourceMappingLocations
(
context
);
assertThat
(
locations
.
size
()).
isEqualTo
(
0
);
assertThat
(
locations
).
isEmpty
(
);
});
}
...
...
spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/filewatch/FileSystemWatcherTests.java
View file @
cbb48373
...
...
@@ -261,7 +261,7 @@ public class FileSystemWatcherTests {
this
.
watcher
.
start
();
FileCopyUtils
.
copy
(
"abc"
.
getBytes
(),
file
);
Thread
.
sleep
(
100
);
assertThat
(
this
.
changes
.
size
()).
isEqualTo
(
0
);
assertThat
(
this
.
changes
).
isEmpty
(
);
FileCopyUtils
.
copy
(
"abc"
.
getBytes
(),
trigger
);
this
.
watcher
.
stopAfter
(
1
);
ChangedFiles
changedFiles
=
getSingleChangedFiles
();
...
...
spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/restart/ChangeableUrlsTests.java
View file @
cbb48373
...
...
@@ -54,13 +54,13 @@ public class ChangeableUrlsTests {
@Test
public
void
fileUrl
()
throws
Exception
{
URL
url
=
this
.
temporaryFolder
.
newFile
().
toURI
().
toURL
();
assertThat
(
ChangeableUrls
.
fromUrls
(
url
)
.
size
()).
isEqualTo
(
0
);
assertThat
(
ChangeableUrls
.
fromUrls
(
url
)
).
isEmpty
(
);
}
@Test
public
void
httpUrl
()
throws
Exception
{
URL
url
=
new
URL
(
"http://spring.io"
);
assertThat
(
ChangeableUrls
.
fromUrls
(
url
)
.
size
()).
isEqualTo
(
0
);
assertThat
(
ChangeableUrls
.
fromUrls
(
url
)
).
isEmpty
(
);
}
@Test
...
...
@@ -69,7 +69,7 @@ public class ChangeableUrlsTests {
makeUrl
(
"spring-boot-autoconfigure"
),
makeUrl
(
"spring-boot-actuator"
),
makeUrl
(
"spring-boot-starter"
),
makeUrl
(
"spring-boot-starter-some-thing"
));
assertThat
(
urls
.
size
()).
isEqualTo
(
0
);
assertThat
(
urls
).
isEmpty
(
);
}
@Test
...
...
spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/restart/classloader/RestartClassLoaderTests.java
View file @
cbb48373
...
...
@@ -168,7 +168,7 @@ public class RestartClassLoaderTests {
String
name
=
PACKAGE_PATH
+
"/Sample.txt"
;
this
.
updatedFiles
.
addFile
(
name
,
new
ClassLoaderFile
(
Kind
.
DELETED
,
null
));
List
<
URL
>
resources
=
toList
(
this
.
reloadClassLoader
.
getResources
(
name
));
assertThat
(
resources
.
size
()).
isEqualTo
(
0
);
assertThat
(
resources
).
isEmpty
(
);
}
@Test
...
...
spring-boot-project/spring-boot-test/src/test/java/org/springframework/boot/test/context/runner/AbstractApplicationContextRunnerTests.java
View file @
cbb48373
...
...
@@ -52,7 +52,7 @@ public abstract class AbstractApplicationContextRunnerTests<T extends AbstractAp
@Test
public
void
runWithSystemPropertiesShouldSetAndRemoveProperties
()
{
String
key
=
"test."
+
UUID
.
randomUUID
()
.
toString
()
;
String
key
=
"test."
+
UUID
.
randomUUID
();
assertThat
(
System
.
getProperties
().
containsKey
(
key
)).
isFalse
();
get
().
withSystemProperties
(
key
+
"=value"
)
.
run
((
context
)
->
assertThat
(
System
.
getProperties
()).
containsEntry
(
key
,
...
...
@@ -63,7 +63,7 @@ public abstract class AbstractApplicationContextRunnerTests<T extends AbstractAp
@Test
public
void
runWithSystemPropertiesWhenContextFailsShouldRemoveProperties
()
throws
Exception
{
String
key
=
"test."
+
UUID
.
randomUUID
()
.
toString
()
;
String
key
=
"test."
+
UUID
.
randomUUID
();
assertThat
(
System
.
getProperties
().
containsKey
(
key
)).
isFalse
();
get
().
withSystemProperties
(
key
+
"=value"
)
.
withUserConfiguration
(
FailingConfig
.
class
)
...
...
@@ -74,7 +74,7 @@ public abstract class AbstractApplicationContextRunnerTests<T extends AbstractAp
@Test
public
void
runWithSystemPropertiesShouldRestoreOriginalProperties
()
throws
Exception
{
String
key
=
"test."
+
UUID
.
randomUUID
()
.
toString
()
;
String
key
=
"test."
+
UUID
.
randomUUID
();
System
.
setProperty
(
key
,
"value"
);
try
{
assertThat
(
System
.
getProperties
().
getProperty
(
key
)).
isEqualTo
(
"value"
);
...
...
@@ -91,7 +91,7 @@ public abstract class AbstractApplicationContextRunnerTests<T extends AbstractAp
@Test
public
void
runWithSystemPropertiesWhenValueIsNullShouldRemoveProperty
()
throws
Exception
{
String
key
=
"test."
+
UUID
.
randomUUID
()
.
toString
()
;
String
key
=
"test."
+
UUID
.
randomUUID
();
System
.
setProperty
(
key
,
"value"
);
try
{
assertThat
(
System
.
getProperties
().
getProperty
(
key
)).
isEqualTo
(
"value"
);
...
...
spring-boot-project/spring-boot-tools/spring-boot-loader/src/test/java/org/springframework/boot/loader/data/RandomAccessDataFileTests.java
View file @
cbb48373
...
...
@@ -310,7 +310,7 @@ public class RandomAccessDataFileTests {
Field
filesField
=
filePool
.
getClass
().
getDeclaredField
(
"files"
);
filesField
.
setAccessible
(
true
);
Queue
<?>
queue
=
(
Queue
<?>)
filesField
.
get
(
filePool
);
assertThat
(
queue
.
size
()).
isEqualTo
(
0
);
assertThat
(
queue
).
isEmpty
(
);
}
@Test
...
...
spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/BackCompatibiltyBinderIntegrationTests.java
→
spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/BackCompatibil
i
tyBinderIntegrationTests.java
View file @
cbb48373
...
...
@@ -32,7 +32,7 @@ import static org.assertj.core.api.Assertions.assertThat;
*
* @author Phillip Webb
*/
public
class
BackCompatibiltyBinderIntegrationTests
{
public
class
BackCompatibil
i
tyBinderIntegrationTests
{
@Test
public
void
bindWhenBindingCamelCaseToEnvironmentWithExtractUnderscore
()
...
...
@@ -49,7 +49,7 @@ public class BackCompatibiltyBinderIntegrationTests {
}
@Test
public
void
bindWhenUsingSystemEnvronmentToOverride
()
{
public
void
bindWhenUsingSystemEnv
i
ronmentToOverride
()
{
MockEnvironment
environment
=
new
MockEnvironment
();
SystemEnvironmentPropertySource
propertySource
=
new
SystemEnvironmentPropertySource
(
"override"
,
Collections
.
singletonMap
(
"foo.password"
,
"test"
));
...
...
spring-boot-project/spring-boot/src/test/kotlin/org/springframework/boot/SpringApplicationExtensionsTests.kt
View file @
cbb48373
...
...
@@ -70,10 +70,6 @@ class SpringApplicationExtensionsTests {
assertEquals
(
environment
,
context
.
environment
)
}
@Configuration
internal
open
class
ExampleConfig
@Configuration
internal
open
class
ExampleWebConfig
{
...
...
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