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
66dc2406
Commit
66dc2406
authored
Jul 03, 2020
by
XenoAmess
Committed by
Andy Wilkinson
Jul 07, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos in test code
See gh-22218
parent
2a9193f6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
SpringBootTestWithActiveProfilesAndSystemEnvironmentPropertyTests.java
...tWithActiveProfilesAndSystemEnvironmentPropertyTests.java
+2
-2
SoftReferenceConfigurationPropertyCacheTests.java
.../source/SoftReferenceConfigurationPropertyCacheTests.java
+1
-1
AbstractJettyServletWebServerFactoryTests.java
...dded/jetty/AbstractJettyServletWebServerFactoryTests.java
+1
-1
No files found.
spring-boot-project/spring-boot-test/src/test/java/org/springframework/boot/test/context/SpringBootTestWithActiveProfilesAndSytemEnvironmentPropertyTests.java
→
spring-boot-project/spring-boot-test/src/test/java/org/springframework/boot/test/context/SpringBootTestWithActiveProfilesAndSy
s
temEnvironmentPropertyTests.java
View file @
66dc2406
...
...
@@ -43,8 +43,8 @@ import static org.assertj.core.api.Assertions.assertThat;
*/
@SpringBootTest
@ActiveProfiles
({
"test1"
,
"test2"
})
@ContextConfiguration
(
loader
=
SpringBootTestWithActiveProfilesAndSytemEnvironmentPropertyTests
.
Loader
.
class
)
public
class
SpringBootTestWithActiveProfilesAndSytemEnvironmentPropertyTests
{
@ContextConfiguration
(
loader
=
SpringBootTestWithActiveProfilesAndSy
s
temEnvironmentPropertyTests
.
Loader
.
class
)
public
class
SpringBootTestWithActiveProfilesAndSy
s
temEnvironmentPropertyTests
{
@Autowired
private
Environment
environment
;
...
...
spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/source/SoftReferenceConfigurationPropertyCacheTests.java
View file @
66dc2406
...
...
@@ -57,7 +57,7 @@ class SoftReferenceConfigurationPropertyCacheTests {
}
@Test
void
enableEnablesCachingWithUnlimtedTimeToLive
()
{
void
enableEnablesCachingWithUnlim
i
tedTimeToLive
()
{
this
.
cache
.
enable
();
get
(
this
.
cache
).
assertCounts
(
0
,
0
);
tick
(
Duration
.
ofDays
(
300
));
...
...
spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/embedded/jetty/AbstractJettyServletWebServerFactoryTests.java
View file @
66dc2406
...
...
@@ -116,7 +116,7 @@ abstract class AbstractJettyServletWebServerFactoryTests extends AbstractServlet
if
(
handler
instanceof
HandlerWrapper
)
{
return
findWebAppContext
(((
HandlerWrapper
)
handler
).
getHandler
());
}
throw
new
IllegalStateException
(
"No WebAppCotext found"
);
throw
new
IllegalStateException
(
"No WebAppCo
n
text found"
);
}
}
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