diff options
author | Adnan Begovic <adnan@cyngn.com> | 2015-10-07 11:32:41 -0700 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2015-10-07 11:32:41 -0700 |
commit | 4e53461e718c5fbf9146d58b2044206800e00189 (patch) | |
tree | ab1e6b69ac6d1a00f6205eb8733d413b7d91119c /tests/src | |
parent | 5c29aa4e50bf6dbdc406a891e6e4eaf807703d5a (diff) | |
download | vendor_cmsdk-4e53461e718c5fbf9146d58b2044206800e00189.zip vendor_cmsdk-4e53461e718c5fbf9146d58b2044206800e00189.tar.gz vendor_cmsdk-4e53461e718c5fbf9146d58b2044206800e00189.tar.bz2 |
cmsdk: API level 4 for M release.
Change-Id: Ieed8ebf256e91515b6921186487b83462910bca9
Diffstat (limited to 'tests/src')
-rw-r--r-- | tests/src/org/cyanogenmod/tests/versioning/unit/BuildTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/src/org/cyanogenmod/tests/versioning/unit/BuildTest.java b/tests/src/org/cyanogenmod/tests/versioning/unit/BuildTest.java index 6c06844..2cc76b7 100644 --- a/tests/src/org/cyanogenmod/tests/versioning/unit/BuildTest.java +++ b/tests/src/org/cyanogenmod/tests/versioning/unit/BuildTest.java @@ -38,20 +38,20 @@ public class BuildTest extends AndroidTestCase { @SmallTest public void testSdkApiLevelCurrent() { - assertEquals(Build.CM_VERSION_CODES.CANTALOUPE, Build.CM_VERSION.SDK_INT); + assertEquals(Build.CM_VERSION_CODES.DRAGON_FRUIT, Build.CM_VERSION.SDK_INT); } @SmallTest public void testSdkApiLevelCanMatch() { String apiName = Build.getNameForSDKInt(Build.CM_VERSION.SDK_INT); assertNotNull(apiName); - assertEquals(Build.getNameForSDKInt(Build.CM_VERSION_CODES.CANTALOUPE), apiName); + assertEquals(Build.getNameForSDKInt(Build.CM_VERSION_CODES.DRAGON_FRUIT), apiName); } @SmallTest public void testSdkApiLevelSkippedIfGreaterThanAllowed() { int i = 0; - if (Build.CM_VERSION.SDK_INT > Build.CM_VERSION_CODES.CANTALOUPE + 1) { + if (Build.CM_VERSION.SDK_INT > Build.CM_VERSION_CODES.DRAGON_FRUIT + 1) { i++; } assertEquals(0, i); |