diff options
author | Adnan Begovic <adnan@cyngn.com> | 2015-09-29 11:40:29 -0700 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2015-09-29 11:40:29 -0700 |
commit | 38e8b11ea70cab7c1ab4d130d4e20457887471e5 (patch) | |
tree | 36260bd9cdb4f63a051db04d5e0b9c1cdf83de14 /tests/src/org | |
parent | 05d01294782115b652a0ef28e5cb35ab3a7ad642 (diff) | |
download | vendor_cmsdk-38e8b11ea70cab7c1ab4d130d4e20457887471e5.zip vendor_cmsdk-38e8b11ea70cab7c1ab4d130d4e20457887471e5.tar.gz vendor_cmsdk-38e8b11ea70cab7c1ab4d130d4e20457887471e5.tar.bz2 |
cmsdk: Create api level 3, cantaloupe.
Change-Id: I5cefacf1196261b071ce2c3561f18ebaf74de604
Diffstat (limited to 'tests/src/org')
-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 2b83827..6c06844 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.BOYSENBERRY, Build.CM_VERSION.SDK_INT); + assertEquals(Build.CM_VERSION_CODES.CANTALOUPE, 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.BOYSENBERRY), apiName); + assertEquals(Build.getNameForSDKInt(Build.CM_VERSION_CODES.CANTALOUPE), apiName); } @SmallTest public void testSdkApiLevelSkippedIfGreaterThanAllowed() { int i = 0; - if (Build.CM_VERSION.SDK_INT > Build.CM_VERSION_CODES.BOYSENBERRY + 1) { + if (Build.CM_VERSION.SDK_INT > Build.CM_VERSION_CODES.CANTALOUPE + 1) { i++; } assertEquals(0, i); |