File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
app/src/test/java/com/androidjacoco/sample/login/presenter Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11package com .androidjacoco .sample .login .presenter ;
22
3- import com .androidjacoco .sample .login .ILoginService ;
3+ import com .androidjacoco .sample .login .data . ILoginService ;
44import com .androidjacoco .sample .login .view .ILoginView ;
5+ import io .reactivex .schedulers .Schedulers ;
56import junit .framework .Assert ;
67import org .junit .Before ;
78import org .junit .Test ;
@@ -17,7 +18,7 @@ public class LoginPresenterTest {
1718 public void setUp () {
1819 view = Mockito .mock (ILoginView .class );
1920 loginService = Mockito .mock (ILoginService .class );
20- presenter = new LoginPresenter (view , loginService );
21+ presenter = new LoginPresenter (view , loginService , Schedulers . trampoline () );
2122 }
2223
2324 @ Test
You can’t perform that action at this time.
0 commit comments