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 18
18
android : versionCode =" 1"
19
19
android : versionName =" 1" >
20
20
21
- <!-- <uses-sdk android:minSdkVersion="21 "/>-->
21
+ <!-- <uses-sdk android:minSdkVersion="23 "/>-->
22
22
<application >
23
23
<service android : exported =" false"
24
24
android : name =" com.google.firebase.components.ComponentDiscoveryService" >
Original file line number Diff line number Diff line change @@ -475,7 +475,7 @@ public void testClickActionAndLink() {
475
475
476
476
/** Test that a valid notification with color is displayed. */
477
477
@ Test
478
- @ Config (sdk = Build .VERSION_CODES .LOLLIPOP )
478
+ @ Config (sdk = Build .VERSION_CODES .M )
479
479
public void testColor () {
480
480
final String color = "#123456" ;
481
481
Bundle data = new Bundle ();
@@ -489,7 +489,7 @@ public void testColor() {
489
489
}
490
490
491
491
@ Test
492
- @ Config (sdk = Build .VERSION_CODES .LOLLIPOP )
492
+ @ Config (sdk = Build .VERSION_CODES .M )
493
493
public void testNoColor () {
494
494
Bundle data = new Bundle ();
495
495
data .putString (KEY_TITLE , "title 123" );
@@ -503,7 +503,7 @@ public void testNoColor() {
503
503
504
504
/** Test that the user can choose the default color via AndroidManifest metadata. */
505
505
@ Test
506
- @ Config (sdk = Build .VERSION_CODES .LOLLIPOP )
506
+ @ Config (sdk = Build .VERSION_CODES .M )
507
507
public void testColorFromMetadata () {
508
508
Bundle metadata = new Bundle ();
509
509
metadata .putInt (
Original file line number Diff line number Diff line change 14
14
15
15
package com .google .android .datatransport .runtime .scheduling .jobscheduling ;
16
16
17
- import static android .os .Build .VERSION_CODES .LOLLIPOP ;
17
+ import static android .os .Build .VERSION_CODES .M ;
18
18
import static com .google .common .truth .Truth .assertThat ;
19
19
import static org .mockito .AdditionalMatchers .gt ;
20
20
import static org .mockito .ArgumentMatchers .any ;
47
47
import org .robolectric .RobolectricTestRunner ;
48
48
import org .robolectric .annotation .Config ;
49
49
50
- @ Config (sdk = {LOLLIPOP })
50
+ @ Config (sdk = {M })
51
51
@ RunWith (RobolectricTestRunner .class )
52
52
public class AlarmManagerSchedulerTest {
53
53
private static final long TWENTY_FOUR_HOURS = 24 * 60 * 60 * 1000 ;
Original file line number Diff line number Diff line change 14
14
15
15
package com .google .android .datatransport .runtime .scheduling .jobscheduling ;
16
16
17
- import static android .os .Build .VERSION_CODES .LOLLIPOP ;
17
+ import static android .os .Build .VERSION_CODES .M ;
18
18
import static com .google .common .truth .Truth .assertThat ;
19
19
20
20
import android .app .job .JobInfo ;
37
37
import org .robolectric .RobolectricTestRunner ;
38
38
import org .robolectric .annotation .Config ;
39
39
40
- @ Config (sdk = {LOLLIPOP })
40
+ @ Config (sdk = {M })
41
41
@ RunWith (RobolectricTestRunner .class )
42
42
public class JobInfoSchedulerTest {
43
43
private static final long TWENTY_FOUR_HOURS = 24 * 60 * 60 * 1000 ;
Original file line number Diff line number Diff line change 14
14
15
15
package com .google .android .datatransport .runtime .scheduling .jobscheduling ;
16
16
17
- import static android .os .Build .VERSION_CODES .LOLLIPOP ;
17
+ import static android .os .Build .VERSION_CODES .M ;
18
18
import static com .google .common .truth .Truth .assertThat ;
19
19
import static org .mockito .ArgumentMatchers .any ;
20
20
import static org .mockito .ArgumentMatchers .argThat ;
52
52
import org .robolectric .RobolectricTestRunner ;
53
53
import org .robolectric .annotation .Config ;
54
54
55
- @ Config (sdk = {LOLLIPOP })
55
+ @ Config (sdk = {M })
56
56
@ RunWith (RobolectricTestRunner .class )
57
57
public class UploaderTest {
58
58
private static final SynchronizationGuard guard =
You can’t perform that action at this time.
0 commit comments