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
59ce40ed
Commit
59ce40ed
authored
Oct 05, 2016
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '1.5.x'
parents
4b3b2936
31e6819a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
DeprecatedPluginTests.java
...rg/springframework/boot/gradle/DeprecatedPluginTests.java
+1
-5
No files found.
spring-boot-integration-tests/spring-boot-gradle-tests/src/test/java/org/springframework/boot/gradle/DeprecatedPluginTests.java
View file @
59ce40ed
...
@@ -22,8 +22,6 @@ import org.junit.Test;
...
@@ -22,8 +22,6 @@ import org.junit.Test;
import
org.springframework.boot.test.rule.OutputCapture
;
import
org.springframework.boot.test.rule.OutputCapture
;
import
static
org
.
assertj
.
core
.
api
.
Assertions
.
assertThat
;
/**
/**
* Tests for using the old, deprecated plugin ID.
* Tests for using the old, deprecated plugin ID.
*
*
...
@@ -39,12 +37,10 @@ public class DeprecatedPluginTests {
...
@@ -39,12 +37,10 @@ public class DeprecatedPluginTests {
public
OutputCapture
output
=
new
OutputCapture
();
public
OutputCapture
output
=
new
OutputCapture
();
@Test
@Test
public
void
deprecatedIdWorks
AndLogsAWarning
()
throws
Exception
{
public
void
deprecatedIdWorks
()
throws
Exception
{
this
.
project
=
new
ProjectCreator
().
createProject
(
"deprecated-plugin"
);
this
.
project
=
new
ProjectCreator
().
createProject
(
"deprecated-plugin"
);
this
.
project
.
newBuild
().
forTasks
(
"build"
)
this
.
project
.
newBuild
().
forTasks
(
"build"
)
.
withArguments
(
"-PbootVersion="
+
BOOT_VERSION
,
"--stacktrace"
).
run
();
.
withArguments
(
"-PbootVersion="
+
BOOT_VERSION
,
"--stacktrace"
).
run
();
assertThat
(
this
.
output
.
toString
())
.
contains
(
"The plugin id 'spring-boot' is deprecated"
);
}
}
}
}
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