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 1616
1717import static org .junit .Assert .assertArrayEquals ;
1818
19- import android .os .Build ;
2019import com .google .firebase .storage .internal .AdaptiveStreamBuffer ;
2120import java .io .ByteArrayInputStream ;
2221import java .io .IOException ;
3029
3130/** Tests for {@link AdaptiveStreamBuffer}. */
3231@ RunWith (RobolectricTestRunner .class )
33- @ Config (sdk = Build . VERSION_CODES . LOLLIPOP_MR1 )
32+ @ Config (sdk = Config . OLDEST_SDK )
3433public class AdaptiveStreamBufferTest {
3534
3635 @ Rule public RetryRule retryRule = new RetryRule (3 );
Original file line number Diff line number Diff line change 1414
1515package com .google .firebase .storage ;
1616
17- import android .os .Build ;
1817import com .google .android .gms .tasks .Task ;
1918import java .lang .reflect .Method ;
2019import java .util .ArrayList ;
2928
3029/** Tests for {@link FirebaseStorage}. */
3130@ RunWith (RobolectricTestRunner .class )
32- @ Config (sdk = Build . VERSION_CODES . LOLLIPOP_MR1 )
31+ @ Config (sdk = Config . OLDEST_SDK )
3332public class DependencyTest {
3433
3534 @ Rule public RetryRule retryRule = new RetryRule (3 );
Original file line number Diff line number Diff line change 1616
1717import static com .google .firebase .common .testutil .Assert .assertThrows ;
1818
19- import android .os .Build ;
2019import androidx .test .core .app .ApplicationProvider ;
2120import com .google .android .gms .tasks .Task ;
2221import com .google .firebase .FirebaseApp ;
3837
3938/** Tests for {@link FirebaseStorage}. */
4039@ RunWith (RobolectricTestRunner .class )
41- @ Config (sdk = Build . VERSION_CODES . LOLLIPOP_MR1 )
40+ @ Config (sdk = Config . OLDEST_SDK )
4241public class StorageReferenceTest {
4342
4443 @ Rule public RetryRule retryRule = new RetryRule (3 );
Original file line number Diff line number Diff line change 1616
1717import static com .google .firebase .common .testutil .Assert .assertThrows ;
1818
19- import android .os .Build ;
2019import com .google .firebase .storage .StreamDownloadTask .StreamProgressWrapper ;
2120import com .google .firebase .storage .network .MockInputStreamHelper ;
2221import java .io .ByteArrayInputStream ;
3534
3635/** Tests for {@link StreamProgressWrapper}. */
3736@ RunWith (RobolectricTestRunner .class )
38- @ Config (sdk = Build . VERSION_CODES . LOLLIPOP_MR1 )
37+ @ Config (sdk = Config . OLDEST_SDK )
3938@ SuppressWarnings ("ResultOfMethodCallIgnored" )
4039public class StreamProgressWrapperTest {
4140
You can’t perform that action at this time.
0 commit comments