public void testIsCustomPlatform() { assertFalse(AndroidPlatform.SDK_2_3.isCustomPlatform()); assertTrue(AndroidPlatform.valueOf("Some:Addon:12").isCustomPlatform()); }
public void testGetSdkLevel() { assertEquals(9, AndroidPlatform.SDK_2_3.getSdkLevel()); assertEquals(10, AndroidPlatform.valueOf("2.3.3").getSdkLevel()); assertEquals(11, AndroidPlatform.valueOf("Some:Addon:11").getSdkLevel()); }