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
ff503311
Commit
ff503311
authored
Mar 28, 2017
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '1.5.x'
parents
ae1475dc
d8e90af3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
appendix-configuration-metadata.adoc
...cs/src/main/asciidoc/appendix-configuration-metadata.adoc
+1
-1
LayoutsTests.java
...a/org/springframework/boot/loader/tools/LayoutsTests.java
+1
-1
RandomAccessDataFileTests.java
...framework/boot/loader/data/RandomAccessDataFileTests.java
+4
-4
No files found.
spring-boot-docs/src/main/asciidoc/appendix-configuration-metadata.adoc
View file @
ff503311
...
...
@@ -719,7 +719,7 @@ an optional dependency, for example with Maven you would add:
</dependency>
----
With Gradle, you can use the https://github.com/spring-
projects/gradle-plugins/tree/master
/propdeps-plugin[propdeps-plugin]
With Gradle, you can use the https://github.com/spring-
gradle-plugins
/propdeps-plugin[propdeps-plugin]
and specify:
[source,groovy,indent=0,subs="verbatim,quotes,attributes"]
...
...
spring-boot-tools/spring-boot-loader-tools/src/test/java/org/springframework/boot/loader/tools/LayoutsTests.java
View file @
ff503311
...
...
@@ -55,7 +55,7 @@ public class LayoutsTests {
@Test
public
void
unknownFile
()
throws
Exception
{
this
.
thrown
.
e
quals
(
IllegalStateException
.
class
);
this
.
thrown
.
e
xpect
(
IllegalStateException
.
class
);
this
.
thrown
.
expectMessage
(
"Unable to deduce layout for 'test.txt'"
);
Layouts
.
forFile
(
new
File
(
"test.txt"
));
}
...
...
spring-boot-tools/spring-boot-loader/src/test/java/org/springframework/boot/loader/data/RandomAccessDataFileTests.java
View file @
ff503311
...
...
@@ -87,28 +87,28 @@ public class RandomAccessDataFileTests {
@Test
public
void
fileNotNull
()
throws
Exception
{
this
.
thrown
.
expect
(
IllegalArgumentException
.
class
);
this
.
thrown
.
e
quals
(
"File must not be null"
);
this
.
thrown
.
e
xpectMessage
(
"File must not be null"
);
new
RandomAccessDataFile
(
null
);
}
@Test
public
void
fileExists
()
throws
Exception
{
this
.
thrown
.
expect
(
IllegalArgumentException
.
class
);
this
.
thrown
.
e
quals
(
"File must exist"
);
this
.
thrown
.
e
xpectMessage
(
"File must exist"
);
new
RandomAccessDataFile
(
new
File
(
"/does/not/exist"
));
}
@Test
public
void
fileNotNullWithConcurrentReads
()
throws
Exception
{
this
.
thrown
.
expect
(
IllegalArgumentException
.
class
);
this
.
thrown
.
e
quals
(
"File must not be null"
);
this
.
thrown
.
e
xpectMessage
(
"File must not be null"
);
new
RandomAccessDataFile
(
null
,
1
);
}
@Test
public
void
fileExistsWithConcurrentReads
()
throws
Exception
{
this
.
thrown
.
expect
(
IllegalArgumentException
.
class
);
this
.
thrown
.
e
quals
(
"File must exist"
);
this
.
thrown
.
e
xpectMessage
(
"File must exist"
);
new
RandomAccessDataFile
(
new
File
(
"/does/not/exist"
),
1
);
}
...
...
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