Skip to content

Migration tests in appengine module from JUnit4 to JUnit5 (#756)#760

Merged
chanseokoh merged 1 commit intogoogleapis:mainfrom
Captain1653:appengine-junit-migration
Oct 8, 2021
Merged

Migration tests in appengine module from JUnit4 to JUnit5 (#756)#760
chanseokoh merged 1 commit intogoogleapis:mainfrom
Captain1653:appengine-junit-migration

Conversation

@Captain1653
Copy link
Copy Markdown
Contributor

It belongs to #756 . It's the first iteration. That's why I don't use fixed notation for the issue.

@Captain1653 Captain1653 requested a review from a team October 8, 2021 18:50
@google-cla

This comment has been minimized.

@google-cla google-cla bot added the cla: no This human has *not* signed the Contributor License Agreement. label Oct 8, 2021
@Captain1653
Copy link
Copy Markdown
Contributor Author

@googlebot I signed it!

@google-cla google-cla bot added cla: yes This human has signed the Contributor License Agreement. and removed cla: no This human has *not* signed the Contributor License Agreement. labels Oct 8, 2021
@chanseokoh
Copy link
Copy Markdown
Contributor

There seems to be a formatting violation.

Also, a failing build is saying that org.junit.jupiter:junit-jupiter-engine:jar:5.8.1:test is declared but not used. Unused deps should be removed.

@Captain1653
Copy link
Copy Markdown
Contributor Author

Captain1653 commented Oct 8, 2021

@chanseokoh Thank you for your advice. Will my commit be squashed (for me next contributions)?

@chanseokoh
Copy link
Copy Markdown
Contributor

We push the "squash and merge" button, so all the commits in this PR will be squashed. 1 PR becomes 1 commit.

Copy link
Copy Markdown
Contributor

@chanseokoh chanseokoh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome! Thanks for your contribution.

@@ -61,6 +61,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.google.http.version>1.40.1</project.google.http.version>
<project.junit.version>4.13.2</project.junit.version>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't forget to remove JUnit 4 in a follow-up when it's no longer needed!

@chanseokoh chanseokoh merged commit cccaa44 into googleapis:main Oct 8, 2021
@Captain1653 Captain1653 deleted the appengine-junit-migration branch October 8, 2021 21:50
clundin25 added a commit to clundin25/google-auth-library-java that referenced this pull request Aug 9, 2022
Refactored tests added since 928dd04 to
use JUnit4 instead of JUnit5.

Revert "chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 -  sixth iteration (googleapis#756) (googleapis#769)"

This reverts commit 928dd04.

Revert "chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 -  fifth iteration (googleapis#756) (googleapis#767)"

This reverts commit 59dfb35.

Revert "chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 -  fourth iteration (googleapis#756) (googleapis#766)"

This reverts commit d7edc45.

Revert "chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 -  third iteration (googleapis#756) (googleapis#764)"

This reverts commit e9dfaf9.

Revert "chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 - second iteration (googleapis#756) (googleapis#763)"

This reverts commit d045247.

Revert "chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 - first iteration (googleapis#756) (googleapis#762)"

This reverts commit 4e6576f.

Revert "refactor: migration tests in credentials module from JUnit4 to JUnit5 (googleapis#756) (googleapis#761)"

This reverts commit a64d35c.

Revert "refactor: migration tests in appengine module from JUnit4 to JUnit5 (googleapis#756) (googleapis#760)"

This reverts commit cccaa44.
@clundin25 clundin25 mentioned this pull request Aug 9, 2022
4 tasks
clundin25 added a commit to clundin25/google-auth-library-java that referenced this pull request Aug 9, 2022
Refactored tests added since 928dd04 to
use JUnit4 instead of JUnit5.

Revert "chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 -  sixth iteration (googleapis#756) (googleapis#769)"

This reverts commit 928dd04.

Revert "chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 -  fifth iteration (googleapis#756) (googleapis#767)"

This reverts commit 59dfb35.

Revert "chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 -  fourth iteration (googleapis#756) (googleapis#766)"

This reverts commit d7edc45.

Revert "chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 -  third iteration (googleapis#756) (googleapis#764)"

This reverts commit e9dfaf9.

Revert "chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 - second iteration (googleapis#756) (googleapis#763)"

This reverts commit d045247.

Revert "chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 - first iteration (googleapis#756) (googleapis#762)"

This reverts commit 4e6576f.

Revert "refactor: migration tests in credentials module from JUnit4 to JUnit5 (googleapis#756) (googleapis#761)"

This reverts commit a64d35c.

Revert "refactor: migration tests in appengine module from JUnit4 to JUnit5 (googleapis#756) (googleapis#760)"

This reverts commit cccaa44.
clundin25 added a commit to clundin25/google-auth-library-java that referenced this pull request Aug 9, 2022
Refactored tests added since 928dd04 to
use JUnit4 instead of JUnit5.

Revert "chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 -  sixth iteration (googleapis#756) (googleapis#769)"

This reverts commit 928dd04.

Revert "chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 -  fifth iteration (googleapis#756) (googleapis#767)"

This reverts commit 59dfb35.

Revert "chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 -  fourth iteration (googleapis#756) (googleapis#766)"

This reverts commit d7edc45.

Revert "chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 -  third iteration (googleapis#756) (googleapis#764)"

This reverts commit e9dfaf9.

Revert "chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 - second iteration (googleapis#756) (googleapis#763)"

This reverts commit d045247.

Revert "chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 - first iteration (googleapis#756) (googleapis#762)"

This reverts commit 4e6576f.

Revert "refactor: migration tests in credentials module from JUnit4 to JUnit5 (googleapis#756) (googleapis#761)"

This reverts commit a64d35c.

Revert "refactor: migration tests in appengine module from JUnit4 to JUnit5 (googleapis#756) (googleapis#760)"

This reverts commit cccaa44.
clundin25 added a commit that referenced this pull request Aug 11, 2022
* refactor: Revert JUnit5 to JUnit4

Refactored tests added since 928dd04 to
use JUnit4 instead of JUnit5.

Revert "chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 -  sixth iteration (#756) (#769)"

This reverts commit 928dd04.

Revert "chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 -  fifth iteration (#756) (#767)"

This reverts commit 59dfb35.

Revert "chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 -  fourth iteration (#756) (#766)"

This reverts commit d7edc45.

Revert "chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 -  third iteration (#756) (#764)"

This reverts commit e9dfaf9.

Revert "chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 - second iteration (#756) (#763)"

This reverts commit d045247.

Revert "chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 - first iteration (#756) (#762)"

This reverts commit 4e6576f.

Revert "refactor: migration tests in credentials module from JUnit4 to JUnit5 (#756) (#761)"

This reverts commit a64d35c.

Revert "refactor: migration tests in appengine module from JUnit4 to JUnit5 (#756) (#760)"

This reverts commit cccaa44.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants