File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
integration-tests/src/main/java/com/github/mobile/tests/tests/user Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 15
15
*/
16
16
package com .github .mobile .tests .tests .user ;
17
17
18
+ import android .accounts .AccountManager ;
18
19
import android .view .View ;
19
20
import android .widget .EditText ;
20
21
22
+ import com .github .mobile .accounts .AccountUtils ;
21
23
import com .github .mobile .accounts .LoginActivity ;
22
24
import com .github .mobile .tests .ActivityTest ;
23
25
import com .viewpagerindicator .R .id ;
@@ -34,6 +36,14 @@ public LoginActivityTest() {
34
36
super (LoginActivity .class );
35
37
}
36
38
39
+ /**
40
+ * Verify authenticator is registered
41
+ */
42
+ public void testHasAuthenticator () {
43
+ assertTrue (AccountUtils .hasAuthenticator (AccountManager
44
+ .get (getActivity ())));
45
+ }
46
+
37
47
/**
38
48
* Verify activity was created successfully
39
49
*
You can’t perform that action at this time.
0 commit comments