-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JMockit NonStrictExpectations with times should be migrated to defaul…
…t when without lenient(), refactor (#549) * Add migration of JMockit NonStrictExpectations blocks as well as JMockit junit 4 runner * Add unit tests for NonStrictExpectations, all passing, refactor to reduce code duplication * Add missing copyright clause * Remove @nullable annotation because using javax or open rewrite internal annotation is not recommended as per code review * Add missing nullable annotations * When putting times in NonStrictExpectations ensure it is strict stubbing and add test cases, also refactor * Refactor logic for imports to make it cleaner * Qualify `rewriteFailed` consistently --------- Co-authored-by: Tim te Beek <[email protected]>
- Loading branch information
1 parent
a79dc45
commit 5a2d834
Showing
3 changed files
with
257 additions
and
50 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
Oops, something went wrong.