File tree Expand file tree Collapse file tree 4 files changed +4
-8
lines changed
firebase-storage/src/test/java/com/google/firebase/storage Expand file tree Collapse file tree 4 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 16
16
17
17
import static org .junit .Assert .assertArrayEquals ;
18
18
19
- import android .os .Build ;
20
19
import com .google .firebase .storage .internal .AdaptiveStreamBuffer ;
21
20
import java .io .ByteArrayInputStream ;
22
21
import java .io .IOException ;
30
29
31
30
/** Tests for {@link AdaptiveStreamBuffer}. */
32
31
@ RunWith (RobolectricTestRunner .class )
33
- @ Config (sdk = Build . VERSION_CODES . LOLLIPOP_MR1 )
32
+ @ Config (sdk = Config . OLDEST_SDK )
34
33
public class AdaptiveStreamBufferTest {
35
34
36
35
@ Rule public RetryRule retryRule = new RetryRule (3 );
Original file line number Diff line number Diff line change 14
14
15
15
package com .google .firebase .storage ;
16
16
17
- import android .os .Build ;
18
17
import com .google .android .gms .tasks .Task ;
19
18
import java .lang .reflect .Method ;
20
19
import java .util .ArrayList ;
29
28
30
29
/** Tests for {@link FirebaseStorage}. */
31
30
@ RunWith (RobolectricTestRunner .class )
32
- @ Config (sdk = Build . VERSION_CODES . LOLLIPOP_MR1 )
31
+ @ Config (sdk = Config . OLDEST_SDK )
33
32
public class DependencyTest {
34
33
35
34
@ Rule public RetryRule retryRule = new RetryRule (3 );
Original file line number Diff line number Diff line change 16
16
17
17
import static com .google .firebase .common .testutil .Assert .assertThrows ;
18
18
19
- import android .os .Build ;
20
19
import androidx .test .core .app .ApplicationProvider ;
21
20
import com .google .android .gms .tasks .Task ;
22
21
import com .google .firebase .FirebaseApp ;
38
37
39
38
/** Tests for {@link FirebaseStorage}. */
40
39
@ RunWith (RobolectricTestRunner .class )
41
- @ Config (sdk = Build . VERSION_CODES . LOLLIPOP_MR1 )
40
+ @ Config (sdk = Config . OLDEST_SDK )
42
41
public class StorageReferenceTest {
43
42
44
43
@ Rule public RetryRule retryRule = new RetryRule (3 );
Original file line number Diff line number Diff line change 16
16
17
17
import static com .google .firebase .common .testutil .Assert .assertThrows ;
18
18
19
- import android .os .Build ;
20
19
import com .google .firebase .storage .StreamDownloadTask .StreamProgressWrapper ;
21
20
import com .google .firebase .storage .network .MockInputStreamHelper ;
22
21
import java .io .ByteArrayInputStream ;
35
34
36
35
/** Tests for {@link StreamProgressWrapper}. */
37
36
@ RunWith (RobolectricTestRunner .class )
38
- @ Config (sdk = Build . VERSION_CODES . LOLLIPOP_MR1 )
37
+ @ Config (sdk = Config . OLDEST_SDK )
39
38
@ SuppressWarnings ("ResultOfMethodCallIgnored" )
40
39
public class StreamProgressWrapperTest {
41
40
You can’t perform that action at this time.
0 commit comments