mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-04 18:12:54 +01:00
test: assert SDK_Q works with insane test value (10,000)
This commit is contained in:
parent
f3f634f010
commit
95fe0f3f02
@ -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());
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user