File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed
firebase-messaging/src/test
java/com/google/firebase/messaging
transport/transport-runtime/src/test/java/com/google/android/datatransport/runtime/scheduling/jobscheduling Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1818 android : versionCode =" 1"
1919 android : versionName =" 1" >
2020
21- <!-- <uses-sdk android:minSdkVersion="21 "/>-->
21+ <!-- <uses-sdk android:minSdkVersion="23 "/>-->
2222 <application >
2323 <service android : exported =" false"
2424 android : name =" com.google.firebase.components.ComponentDiscoveryService" >
Original file line number Diff line number Diff line change @@ -475,7 +475,7 @@ public void testClickActionAndLink() {
475475
476476 /** Test that a valid notification with color is displayed. */
477477 @ Test
478- @ Config (sdk = Build .VERSION_CODES .LOLLIPOP )
478+ @ Config (sdk = Build .VERSION_CODES .M )
479479 public void testColor () {
480480 final String color = "#123456" ;
481481 Bundle data = new Bundle ();
@@ -489,7 +489,7 @@ public void testColor() {
489489 }
490490
491491 @ Test
492- @ Config (sdk = Build .VERSION_CODES .LOLLIPOP )
492+ @ Config (sdk = Build .VERSION_CODES .M )
493493 public void testNoColor () {
494494 Bundle data = new Bundle ();
495495 data .putString (KEY_TITLE , "title 123" );
@@ -503,7 +503,7 @@ public void testNoColor() {
503503
504504 /** Test that the user can choose the default color via AndroidManifest metadata. */
505505 @ Test
506- @ Config (sdk = Build .VERSION_CODES .LOLLIPOP )
506+ @ Config (sdk = Build .VERSION_CODES .M )
507507 public void testColorFromMetadata () {
508508 Bundle metadata = new Bundle ();
509509 metadata .putInt (
Original file line number Diff line number Diff line change 1414
1515package com .google .android .datatransport .runtime .scheduling .jobscheduling ;
1616
17- import static android .os .Build .VERSION_CODES .LOLLIPOP ;
17+ import static android .os .Build .VERSION_CODES .M ;
1818import static com .google .common .truth .Truth .assertThat ;
1919import static org .mockito .AdditionalMatchers .gt ;
2020import static org .mockito .ArgumentMatchers .any ;
4747import org .robolectric .RobolectricTestRunner ;
4848import org .robolectric .annotation .Config ;
4949
50- @ Config (sdk = {LOLLIPOP })
50+ @ Config (sdk = {M })
5151@ RunWith (RobolectricTestRunner .class )
5252public class AlarmManagerSchedulerTest {
5353 private static final long TWENTY_FOUR_HOURS = 24 * 60 * 60 * 1000 ;
Original file line number Diff line number Diff line change 1414
1515package com .google .android .datatransport .runtime .scheduling .jobscheduling ;
1616
17- import static android .os .Build .VERSION_CODES .LOLLIPOP ;
17+ import static android .os .Build .VERSION_CODES .M ;
1818import static com .google .common .truth .Truth .assertThat ;
1919
2020import android .app .job .JobInfo ;
3737import org .robolectric .RobolectricTestRunner ;
3838import org .robolectric .annotation .Config ;
3939
40- @ Config (sdk = {LOLLIPOP })
40+ @ Config (sdk = {M })
4141@ RunWith (RobolectricTestRunner .class )
4242public class JobInfoSchedulerTest {
4343 private static final long TWENTY_FOUR_HOURS = 24 * 60 * 60 * 1000 ;
Original file line number Diff line number Diff line change 1414
1515package com .google .android .datatransport .runtime .scheduling .jobscheduling ;
1616
17- import static android .os .Build .VERSION_CODES .LOLLIPOP ;
17+ import static android .os .Build .VERSION_CODES .M ;
1818import static com .google .common .truth .Truth .assertThat ;
1919import static org .mockito .ArgumentMatchers .any ;
2020import static org .mockito .ArgumentMatchers .argThat ;
5252import org .robolectric .RobolectricTestRunner ;
5353import org .robolectric .annotation .Config ;
5454
55- @ Config (sdk = {LOLLIPOP })
55+ @ Config (sdk = {M })
5656@ RunWith (RobolectricTestRunner .class )
5757public class UploaderTest {
5858 private static final SynchronizationGuard guard =
You can’t perform that action at this time.
0 commit comments