[android] #4702 - upgrade default styles, deprecate Style string definition in favour versioned styling methods.

This commit is contained in:
Tobrun
2016-04-23 08:19:00 +02:00
committed by Minh Nguyễn
parent 2a4eeadb29
commit da422ff44d
17 changed files with 246 additions and 41 deletions

View File

@@ -0,0 +1,20 @@
package com.mapbox.mapboxsdk.constants;
import com.mapbox.mapboxsdk.testapp.model.constants.AppConstant;
import org.junit.Test;
import static junit.framework.Assert.assertEquals;
public class StyleVersionTest {
private static final double DELTA = 1e-15;
@Test
public void testSanity() {
assertEquals("Style version should match, when upgrading, verify that integers.xml is updated",
AppConstant.STYLE_VERSION,
9,
DELTA);
}
}