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
5c708ae7
Commit
5c708ae7
authored
Jun 01, 2017
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '1.4.x' into 1.5.x
parents
c22230a4
5b4f9edc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
PropertiesLauncherTests.java
.../springframework/boot/loader/PropertiesLauncherTests.java
+4
-0
No files found.
spring-boot-tools/spring-boot-loader/src/test/java/org/springframework/boot/loader/PropertiesLauncherTests.java
View file @
5c708ae7
...
...
@@ -61,8 +61,11 @@ public class PropertiesLauncherTests {
@Rule
public
TemporaryFolder
temporaryFolder
=
new
TemporaryFolder
();
private
ClassLoader
contextClassLoader
;
@Before
public
void
setup
()
throws
IOException
{
this
.
contextClassLoader
=
Thread
.
currentThread
().
getContextClassLoader
();
MockitoAnnotations
.
initMocks
(
this
);
System
.
setProperty
(
"loader.home"
,
new
File
(
"src/test/resources"
).
getAbsolutePath
());
...
...
@@ -70,6 +73,7 @@ public class PropertiesLauncherTests {
@After
public
void
close
()
{
Thread
.
currentThread
().
setContextClassLoader
(
this
.
contextClassLoader
);
System
.
clearProperty
(
"loader.home"
);
System
.
clearProperty
(
"loader.path"
);
System
.
clearProperty
(
"loader.main"
);
...
...
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