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

JUnit Migration - Migrated exception assertion to Junit5 AssertThrows #1133

Merged
merged 17 commits into from
Aug 11, 2022

Conversation

chaaransen
Copy link
Contributor

@chaaransen chaaransen commented Aug 5, 2022

  • Migrated from expected exception annotation check (Junit4) to assertThrows method (junit 5)
  • Fixed file formatting

@chaaransen chaaransen marked this pull request as ready for review August 5, 2022 17:12
@xokker xokker requested review from xokker and seehamrun August 8, 2022 10:25
xokker
xokker previously approved these changes Aug 8, 2022
@chaaransen chaaransen changed the title [2/2] Migrate exception assertion to Junit5 [2/n] JUnit Migration - Migrate exception assertion to Junit5 Aug 10, 2022
seehamrun
seehamrun previously approved these changes Aug 10, 2022
@chaaransen chaaransen changed the title [2/n] JUnit Migration - Migrate exception assertion to Junit5 JUnit Migration - Migrated exception assertion to Junit5 AssertThrows Aug 11, 2022
@chaaransen chaaransen dismissed stale reviews from seehamrun and xokker via 9c72648 August 11, 2022 11:07
@xokker xokker merged commit 4c8dc20 into dtinit:master Aug 11, 2022
incjo pushed a commit to incjo/data-transfer-project that referenced this pull request Aug 24, 2022
…dtinit#1133)

* Migrated exception assertion to assertThrows on BlackblazeDataTransferTest

* Update BackblazeDataTransferClientTest.java

Summary: 

Test Plan: 

Reviewers: 

Subscribers: 

Tasks: 

Tags: 


Differential Revision: https://phabricator.intern.facebook.com/D38427899

* Exception assert migration [1/2] junit 5

Summary: 

Test Plan: 

Reviewers: 

Subscribers: 

Tasks: 

Tags:

* exception assertion migration 2/2

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: https://phabricator.intern.facebook.com/D38456882

* [1/2] Migrate exception assert to Junit5

Summary: 

Test Plan: 

Reviewers: 

Subscribers: 

Tasks: 

Tags: 









Differential Revision: https://phabricator.intern.facebook.com/D38427899

* remove try catch block inside assertThrows method

* [2/2] Migrate exception assertion to Junit5



Differential Revision: https://phabricator.intern.facebook.com/D38456882

* removed unused imports

Co-authored-by: Ernest Sadykov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants