Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[android] #5193 - fix broken test case on Icon
Browse files Browse the repository at this point in the history
  • Loading branch information
tobrun committed Jun 3, 2016
1 parent 0bfe951 commit aa83245
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.mapbox.mapboxsdk.annotations;

import android.graphics.Bitmap;
import android.os.Parcelable;

import com.mapbox.mapboxsdk.geometry.LatLng;
Expand Down Expand Up @@ -52,16 +51,6 @@ public void testTitle() {
assertEquals(markerOptions.getTitle(), "Mapbox");
}

@Test
public void testIcon() {
Bitmap bitmap = Bitmap.createBitmap(1, 1, Bitmap.Config.ARGB_4444);
Icon icon = IconFactory.recreate("test", bitmap);
MarkerViewOptions markerOptions = new MarkerViewOptions().icon(icon);
MarkerView marker = markerOptions.getMarker();
assertEquals("Icon should match", icon, marker.getIcon());
assertEquals("Icon should match", icon, markerOptions.getIcon());
}

@Test
public void testFlat() {
MarkerViewOptions markerOptions = new MarkerViewOptions().flat(true);
Expand Down

0 comments on commit aa83245

Please sign in to comment.