-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ef0fa63
commit 0ab0055
Showing
3 changed files
with
11 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,11 +65,6 @@ | |
import static org.junit.Assert.fail; | ||
import static org.mockito.Mockito.mock; | ||
|
||
/** | ||
* | ||
* | ||
* Created by Ephraim Kigamba - [email protected] on 05/12/2017. | ||
*/ | ||
@RunWith(RobolectricTestRunner.class) | ||
@Config(manifest = Config.NONE, | ||
shadows = { | ||
|
@@ -83,23 +78,23 @@ | |
}) | ||
public class MapboxOfflineDownloaderServiceTest { | ||
|
||
private String mapName = UUID.randomUUID().toString(); | ||
private final String mapName = UUID.randomUUID().toString(); | ||
private static final String TAG = MapboxOfflineDownloaderServiceTest.class.getSimpleName(); | ||
|
||
private Context context; | ||
private MapboxOfflineDownloaderService mapboxOfflineDownloaderService; | ||
|
||
private String sampleValidMapboxStyleURL = "mapbox://styles/ona/90kiosdcIJ3d"; | ||
private final String sampleValidMapboxStyleURL = "mapbox://styles/ona/90kiosdcIJ3d"; | ||
private String mapboxAccessToken; | ||
private float minZoom = 22; | ||
private float maxZoom = 10; | ||
private LatLng topLeftBound = new LatLng(9.1, 9.1); | ||
private LatLng topRightBound = new LatLng(9.1, 20.5); | ||
private LatLng bottomRightBound = new LatLng(1.1, 20.5); | ||
private LatLng bottomLeftBound = new LatLng(9.1, 1.1); | ||
private final float minZoom = 22; | ||
private final float maxZoom = 10; | ||
private final LatLng topLeftBound = new LatLng(9.1, 9.1); | ||
private final LatLng topRightBound = new LatLng(9.1, 20.5); | ||
private final LatLng bottomRightBound = new LatLng(1.1, 20.5); | ||
private final LatLng bottomLeftBound = new LatLng(9.1, 1.1); | ||
|
||
private CountDownLatch latch; | ||
private ArrayList<Object> resultsToCheck = new ArrayList<>(); | ||
private final ArrayList<Object> resultsToCheck = new ArrayList<>(); | ||
|
||
@Before | ||
public void setUp() throws Exception { | ||
|