@@ -67,7 +67,7 @@ private void reInitIterableApi() {
6767 authHandler = mock (IterableAuthHandler .class );
6868 }
6969
70- @ Ignore ( "Ignoring the JWT Tests " )
70+ @ Ignore ( "Blocked: IterableAuthManager.executor is not injectable - auth token requests run on uncontrollable background thread " )
7171 @ Test
7272 public void testRefreshToken () throws Exception {
7373 IterableApi .initialize (getContext (), "apiKey" );
@@ -95,7 +95,7 @@ public void testRefreshToken() throws Exception {
9595 timer = IterableApi .getInstance ().getAuthManager ().timer ;
9696 }
9797
98- @ Ignore ( "Ignoring the JWT Tests " )
98+ @ Ignore ( "Blocked: IterableAuthManager.executor is not injectable - auth token requests run on uncontrollable background thread " )
9999 @ Test
100100 public void testSetEmailWithToken () throws Exception {
101101 IterableApi .initialize (getContext (), "apiKey" );
@@ -119,7 +119,7 @@ public void testSetEmailWithToken() throws Exception {
119119 shadowOf (getMainLooper ()).runToEndOfTasks ();
120120 }
121121
122- @ Ignore ( "Ignoring the JWT Tests " )
122+ @ Ignore ( "Blocked: IterableAuthManager.executor is not injectable - auth token requests run on uncontrollable background thread " )
123123 @ Test
124124 public void testSetEmailWithTokenExpired () throws Exception {
125125 IterableApi .initialize (getContext (), "apiKey" );
@@ -133,7 +133,7 @@ public void testSetEmailWithTokenExpired() throws Exception {
133133 assertEquals (IterableApi .getInstance ().getAuthToken (), expiredJWT );
134134 }
135135
136- @ Ignore ( "Ignoring the JWT Tests " )
136+ @ Ignore ( "Blocked: IterableAuthManager.executor is not injectable - auth token requests run on uncontrollable background thread " )
137137 @ Test
138138 public void testSetUserIdWithToken () throws Exception {
139139 IterableApi .initialize (getContext (), "apiKey" );
@@ -157,7 +157,7 @@ public void testSetUserIdWithToken() throws Exception {
157157 assertEquals (expiredJWT , IterableApi .getInstance ().getAuthToken ());
158158 }
159159
160- @ Ignore ( "Ignoring the JWT Tests " )
160+ @ Ignore ( "Blocked: IterableAuthManager.executor is not injectable - auth token requests run on uncontrollable background thread " )
161161 @ Test
162162 public void testSameEmailWithNewToken () throws Exception {
163163 IterableApi .initialize (getContext (), "apiKey" );
@@ -181,7 +181,7 @@ public void testSameEmailWithNewToken() throws Exception {
181181 assertEquals (IterableApi .getInstance ().getAuthToken (), newJWT );
182182 }
183183
184- @ Ignore ( "Ignoring the JWT Tests " )
184+ @ Ignore ( "Blocked: IterableAuthManager.executor is not injectable - auth token requests run on uncontrollable background thread " )
185185 @ Test
186186 public void testSameUserIdWithNewToken () throws Exception {
187187 IterableApi .initialize (getContext (), "apiKey" );
@@ -200,7 +200,7 @@ public void testSameUserIdWithNewToken() throws Exception {
200200 assertEquals (IterableApi .getInstance ().getAuthToken (), newJWT );
201201 }
202202
203- @ Ignore ( "Ignoring the JWT Tests " )
203+ @ Ignore ( "Blocked: IterableAuthManager.executor is not injectable - auth token requests run on uncontrollable background thread " )
204204 @ Test
205205 public void testSetSameEmailAndRemoveToken () throws Exception {
206206 IterableApi .initialize (getContext (), "apiKey" );
@@ -219,7 +219,7 @@ public void testSetSameEmailAndRemoveToken() throws Exception {
219219 assertNull (IterableApi .getInstance ().getAuthToken ());
220220 }
221221
222- @ Ignore ( "Ignoring the JWT Tests " )
222+ @ Ignore ( "Blocked: IterableAuthManager.executor is not injectable - auth token requests run on uncontrollable background thread " )
223223 @ Test
224224 public void testSetSameUserIdAndRemoveToken () throws Exception {
225225 IterableApi .initialize (getContext (), "apiKey" );
@@ -277,7 +277,7 @@ public void testSetSameUserId() throws Exception {
277277 assertNull (IterableApi .getInstance ().getAuthToken ());
278278 }
279279
280- @ Ignore ( "Ignoring the JWT Tests " )
280+ @ Ignore ( "Blocked: IterableAuthManager.executor is not injectable - auth token requests run on uncontrollable background thread " )
281281 @ Test
282282 public void testSetSameEmailWithSameToken () throws Exception {
283283 IterableApi .initialize (getContext (), "apiKey" );
@@ -297,7 +297,7 @@ public void testSetSameEmailWithSameToken() throws Exception {
297297 assertEquals (IterableApi .getInstance ().getAuthToken (), token );
298298 }
299299
300- @ Ignore ( "Ignoring the JWT Tests " )
300+ @ Ignore ( "Blocked: IterableAuthManager.executor is not injectable - auth token requests run on uncontrollable background thread " )
301301 @ Test
302302 public void testSetSameUserIdWithSameToken () throws Exception {
303303 IterableApi .initialize (getContext (), "apiKey" );
@@ -352,7 +352,7 @@ public void testUserIdLogOut() throws Exception {
352352 assertNull (IterableApi .getInstance ().getAuthToken ());
353353 }
354354
355- @ Ignore ( "Ignoring the JWT Tests " )
355+ @ Ignore ( "Blocked: IterableAuthManager.executor is not injectable - auth token requests run on uncontrollable background thread " )
356356 @ Test
357357 public void testAuthTokenPresentInRequest () throws Exception {
358358// server.enqueue(new MockResponse().setResponseCode(200).setBody("{}"));
@@ -392,7 +392,7 @@ public void testAuthTokenPresentInRequest() throws Exception {
392392 assertEquals (HEADER_SDK_AUTH_FORMAT + newJWT , getMessagesSet2Request .getHeader ("Authorization" ));
393393 }
394394
395- @ Ignore ( "Ignoring the JWT Tests " )
395+ @ Ignore ( "Blocked: IterableAuthManager.executor is not injectable - auth token requests run on uncontrollable background thread " )
396396 @ Test
397397 public void testAuthFailureReturns401 () throws InterruptedException {
398398 doReturn (expiredJWT ).when (authHandler ).onAuthTokenRequested ();
@@ -418,7 +418,7 @@ public void testAuthFailureReturns401() throws InterruptedException {
418418 assertEquals (IterableApi .getInstance ().getAuthToken (), expiredJWT );
419419 }
420420
421- @ Ignore ( "Ignoring the JWT Tests " )
421+ @ Ignore ( "Blocked: IterableAuthManager.executor is not injectable - auth token requests run on uncontrollable background thread " )
422422 @ Test
423423 public void testAuthRequestedOnSetEmail () throws InterruptedException {
424424 doReturn (expiredJWT ).when (authHandler ).onAuthTokenRequested ();
@@ -433,7 +433,7 @@ public void testAuthRequestedOnSetEmail() throws InterruptedException {
433433
434434 }
435435
436- @ Ignore ( "Ignoring the JWT Tests " )
436+ @ Ignore ( "Blocked: IterableAuthManager.executor is not injectable - auth token requests run on uncontrollable background thread " )
437437 @ Test
438438 public void testAuthRequestedOnUpdateEmail () throws InterruptedException {
439439 doReturn (expiredJWT ).when (authHandler ).onAuthTokenRequested ();
@@ -447,7 +447,7 @@ public void testAuthRequestedOnUpdateEmail() throws InterruptedException {
447447 //TODO: Shouldn't the update call also update the authToken in IterableAPI class?
448448 }
449449
450- @ Ignore ( "Ignoring the JWT Tests " )
450+ @ Ignore ( "Blocked: IterableAuthManager.executor is not injectable - auth token requests run on uncontrollable background thread " )
451451 @ Test
452452 public void testAuthRequestedOnSetUserId () throws InterruptedException {
453453 doReturn (expiredJWT ).when (authHandler ).onAuthTokenRequested ();
@@ -456,7 +456,7 @@ public void testAuthRequestedOnSetUserId() throws InterruptedException {
456456 assertEquals (IterableApi .getInstance ().getAuthToken (), expiredJWT );
457457 }
458458
459- @ Ignore ( "Ignoring the JWT Tests " )
459+ @ Ignore ( "Blocked: IterableAuthManager.executor is not injectable - auth token requests run on uncontrollable background thread " )
460460 @ Test
461461 public void testAuthSetToNullOnLogOut () throws InterruptedException {
462462 doReturn (expiredJWT ).when (authHandler ).onAuthTokenRequested ();
@@ -469,7 +469,7 @@ public void testAuthSetToNullOnLogOut() throws InterruptedException {
469469 assertNull (IterableApi .getInstance ().getAuthToken ());
470470 }
471471
472- @ Ignore ( "Ignoring the JWT Tests " )
472+ @ Ignore ( "Blocked: IterableAuthManager.executor is not injectable - auth token requests run on uncontrollable background thread " )
473473 @ Test
474474 public void testRegisterForPushInvokedAfterTokenRefresh () throws InterruptedException {
475475 doReturn (expiredJWT ).when (authHandler ).onAuthTokenRequested ();
0 commit comments