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

Fixes for Moviper tests #36

Closed
wants to merge 58 commits into from
Closed

Conversation

tomasznajda
Copy link

improv: reset presenter before every test & mock all observable used in attach
fix: ClassCastException produced by @Injectmocks
improv: start activity from routing tests

mkoslacz and others added 30 commits December 19, 2016 14:02
Conflicts:
	moviper/src/main/java/com/mateuszkoslacz/moviper/base/view/activity/ViperActivity.java
mkoslacz and others added 27 commits January 2, 2017 14:34
…very test & mock all observable used in attach
even just including powermock causes mockito/powermock compatibility errors
on instance presenter access. rx first() -> takefirst()
fixed holding reference to old activity (probably, not sure why didn't it get replaced on each @before call as it should before every test)
@mkoslacz
Copy link
Owner

mkoslacz commented Jan 9, 2017

I'm closing that as there is too much chaos because of pushing all of the stuff to the one branch. I've taken your commits to my repo anyway, but please keep all of the prs separately.

@mkoslacz mkoslacz closed this Jan 9, 2017
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

2 participants