Skip to content
Snippets Groups Projects
Unverified Commit 3e62fe0e authored by Matthias Urhahn's avatar Matthias Urhahn Committed by GitHub
Browse files

Cleanup clearAllMocks() and unmockAll() usage (DEV) #2423


* Cleanup clearAllMocks() and unmockAll() usage.

* If we call `MockKAnnotations.init(this)`, in "Before" then we don't need to clear the mocks in each "After" call, as the mocks will be replaced by new ones.

* Fix textreplace error.

* Split up BaseTest class for unit and instrumentation tests.

* Move  BaseTest and BaseTestInstrumentation to the right packages

* Update BaseTestInstrumentation.kt

* Move it back

Co-authored-by: default avatarharambasicluka <64483219+harambasicluka@users.noreply.github.com>
Co-authored-by: default avatarRalf Gehrer <ralfgehrer@users.noreply.github.com>
Co-authored-by: default avatarMohamed Metwalli <Mohamed.Metwalli@sap.com>
parent 4dd51da6
No related branches found
No related tags found
No related merge requests found
Showing
with 19 additions and 53 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment