Skip to content
This repository has been archived by the owner on Mar 16, 2021. It is now read-only.

Convert TiLifecycleObserverTest to Kotlin #177

Closed
wants to merge 8 commits into from
Closed

Convert TiLifecycleObserverTest to Kotlin #177

wants to merge 8 commits into from

Conversation

lukaszkalnik
Copy link
Contributor

@lukaszkalnik lukaszkalnik commented Dec 26, 2018

Converts TiLifecycleObserverTest to Kotlin and MockK. Only exception is the test remove other observer() test which I have left Mockito based because MockK lacks equivalent of verifyNoMoreInteractions().

There is an open issue at MockK to add support for such functionality:
mockk/mockk#207

Update: I have managed to work around the lack of verifyNoMoreInteractions() in MockK in test remove other observer(). So all tests in this PR are now MockK based. See f569093.

Please merge after #174 .

@StefMa
Copy link
Contributor

StefMa commented Dec 27, 2018 via email

@lukaszkalnik lukaszkalnik deleted the feature/kotlin_tilifecycleobserver_test branch January 20, 2019 13:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants