-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate Jmockit VerificationsInOrder to Mockito (#632)
* Migrate JMockit VerificationsInOrder to Mockito. Still seeing issue with Mockito InOrder statement. Also need to support multiple VerificationsInOrder blocks in one method. * Revert uneeded changes, add correct Inorder statement * Revert unneeded changes, add correct Inorder statement, add test case for multiple blocks * Refactor ArrayList to List Co-authored-by: Tim te Beek <[email protected]> * Refactor Co-authored-by: Tim te Beek <[email protected]> * Refactor Co-authored-by: Tim te Beek <[email protected]> * Use correct template for multiple mocks. Refactor code to reduce duplicates * Add support for multiple VerificationsInOrder blocks * Add support for multiple VerificationsInOrder blocks, reformat * Isolate single issue to one test * Reduce warnings * Reduce duplicate code by centralising java parser using mockito core resource jar, reduce warnings * Fix failing test * For now accept imperfect whitespace handling --------- Co-authored-by: Tim te Beek <[email protected]>
- Loading branch information
1 parent
f9005f1
commit b10165d
Showing
9 changed files
with
502 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.