-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
StaticImport: Add WebEnvironment enum #19
Conversation
pom.xml
Outdated
@@ -990,6 +995,7 @@ | |||
<licenseMerge> | |||
<!-- --> | |||
BSD-3-Clause | |||
| BSD License 3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah I see that with respect to the sorting, the entry that is added should go two lines down. Will fix that when I apply the feedback :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The build also passes without this 👀
@@ -113,13 +122,17 @@ void replacement() { | |||
" @DateTimeFormat(iso = ISO.DATE) String date,", | |||
" @DateTimeFormat(iso = ISO.DATE_TIME) String dateTime,", | |||
" @DateTimeFormat(iso = ISO.TIME) String time) {}", | |||
"", | |||
" @SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT)", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we also add a test case for SpringBootTest.WebEnvironment.RANDOM_PORT
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good one, will do 🚀
pom.xml
Outdated
@@ -281,7 +281,7 @@ | |||
<dependency> | |||
<groupId>io.projectreactor</groupId> | |||
<artifactId>reactor-bom</artifactId> | |||
<version>2020.0.11</version> | |||
<version>2020.0.12</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will you create a separate commit/PR to upgrade dependencies?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, this is out of scope. I do happen to have prepared a set of upgrades already, so will push those and then rebase this PR.
Assorted upgrades and add license `BSD License 3`
370928a
to
3845422
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rebased and added a commit. Suggested commit message:
Require static import of `SpringBootTest.WebEnvironment` constants (#19)
pom.xml
Outdated
@@ -281,7 +281,7 @@ | |||
<dependency> | |||
<groupId>io.projectreactor</groupId> | |||
<artifactId>reactor-bom</artifactId> | |||
<version>2020.0.11</version> | |||
<version>2020.0.12</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, this is out of scope. I do happen to have prepared a set of upgrades already, so will push those and then rebase this PR.
pom.xml
Outdated
@@ -990,6 +995,7 @@ | |||
<licenseMerge> | |||
<!-- --> | |||
BSD-3-Clause | |||
| BSD License 3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The build also passes without this 👀
Assorted upgrades and add license
BSD License 3