test: assert SDK_Q works with insane test value (10,000)

This commit is contained in:
Connor Tumbleson 2019-04-24 18:04:40 -04:00
parent f3f634f010
commit 95fe0f3f02

View File

@ -86,4 +86,15 @@ public class InvalidSdkBoundingTest extends BaseTest {
androlibResources.setSdkInfo(sdkInfo);
assertEquals("26", androlibResources.checkTargetSdkVersionBounds());
}
@Test
public void checkForSdkQInsaneTestValue() {
AndrolibResources androlibResources = new AndrolibResources();
Map<String, String> sdkInfo = new LinkedHashMap<>();
sdkInfo.put("targetSdkVersion", "Q");
androlibResources.setSdkInfo(sdkInfo);
assertEquals("10000", androlibResources.checkTargetSdkVersionBounds());
}
}