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
eddb10e4
Commit
eddb10e4
authored
Oct 24, 2016
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '1.4.x' into 1.5.x
parents
beb30749
713fd51f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
deployment.adoc
spring-boot-docs/src/main/asciidoc/deployment.adoc
+5
-2
MockitoTestExecutionListener.java
.../boot/test/mock/mockito/MockitoTestExecutionListener.java
+2
-1
No files found.
spring-boot-docs/src/main/asciidoc/deployment.adoc
View file @
eddb10e4
...
@@ -548,9 +548,12 @@ the following example and place it in `/etc/systemd/system` directory:
...
@@ -548,9 +548,12 @@ the following example and place it in `/etc/systemd/system` directory:
TIP: Remember to change the `Description`, `User` and `ExecStart` fields for your
TIP: Remember to change the `Description`, `User` and `ExecStart` fields for your
application.
application.
TIP: Note that `ExecStart` field does not declare the script action command, which means
that `run` command is used by default.
Note that unlike when running as an `init.d` service, user that runs the application, PID
Note that unlike when running as an `init.d` service, user that runs the application, PID
file and console log file
behave differently under `systemd` and must be configured using
file and console log file
are managed by `systemd` itself and therefore must be configured
appropriate fields in '`service`' script. Consult the
using
appropriate fields in '`service`' script. Consult the
http://www.freedesktop.org/software/systemd/man/systemd.service.html[service unit
http://www.freedesktop.org/software/systemd/man/systemd.service.html[service unit
configuration man page] for more details.
configuration man page] for more details.
...
...
spring-boot-test/src/main/java/org/springframework/boot/test/mock/mockito/MockitoTestExecutionListener.java
View file @
eddb10e4
...
@@ -37,8 +37,9 @@ import org.springframework.util.ReflectionUtils.FieldCallback;
...
@@ -37,8 +37,9 @@ import org.springframework.util.ReflectionUtils.FieldCallback;
* annotations.
* annotations.
*
*
* @author Phillip Webb
* @author Phillip Webb
* @since 1.4.2
*/
*/
class
MockitoTestExecutionListener
extends
AbstractTestExecutionListener
{
public
class
MockitoTestExecutionListener
extends
AbstractTestExecutionListener
{
@Override
@Override
public
void
prepareTestInstance
(
TestContext
testContext
)
throws
Exception
{
public
void
prepareTestInstance
(
TestContext
testContext
)
throws
Exception
{
...
...
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