Skip to content
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

Merged
merged 2 commits into from
Nov 14, 2021

Conversation

rickie
Copy link
Member

@rickie rickie commented Nov 8, 2021

Assorted upgrades and add license BSD License 3

@rickie rickie requested review from Stephan202 and hisener November 8, 2021 12:42
pom.xml Outdated
@@ -990,6 +995,7 @@
<licenseMerge>
<!-- -->
BSD-3-Clause
| BSD License 3
Copy link
Member Author

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 :)

Copy link
Member

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)",
Copy link
Contributor

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?

Copy link
Member Author

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>
Copy link
Contributor

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?

Copy link
Member

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.

rickie and others added 2 commits November 14, 2021 14:01
Assorted upgrades and add license `BSD License 3`
@Stephan202 Stephan202 force-pushed the rossendrijver/static_import_random_port branch from 370928a to 3845422 Compare November 14, 2021 13:18
Copy link
Member

@Stephan202 Stephan202 left a 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>
Copy link
Member

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
Copy link
Member

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 👀

@Stephan202 Stephan202 merged commit 193589d into master Nov 14, 2021
@Stephan202 Stephan202 deleted the rossendrijver/static_import_random_port branch November 14, 2021 13:26
@Stephan202 Stephan202 added this to the 0.1.0 milestone Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants