diff options
author | Nick Chalko <nchalko@google.com> | 2017-10-03 10:16:37 -0700 |
---|---|---|
committer | Nick Chalko <nchalko@google.com> | 2017-10-04 13:48:13 +0000 |
commit | 6ebde20b03db4c0d57f67acaac11832b610b966b (patch) | |
tree | d31e2adc1f9cce4f27ca07d30bee921032e33a3c /tests/unit/src/com/android/tv/FeaturesTest.java | |
parent | ee027a576ddebaf1ae739219be01b0240b15f80c (diff) | |
download | TV-6ebde20b03db4c0d57f67acaac11832b610b966b.tar.gz |
Sync to match Live Channels 1.15(ncis)oreo-mr1-dev
aka ub-tv-dev at a73a150bb7d0d1ce867ef980c6ac8411899d40ad
Bug: 64021596
Change-Id: I7c544fd15e2c58784f8babc31877ad0dfeebb4c0
(cherry picked from commit 633eb826b8c97731dfc5ef12c7bf78a63734275d)
Diffstat (limited to 'tests/unit/src/com/android/tv/FeaturesTest.java')
-rw-r--r-- | tests/unit/src/com/android/tv/FeaturesTest.java | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/unit/src/com/android/tv/FeaturesTest.java b/tests/unit/src/com/android/tv/FeaturesTest.java index 644c4248..9d61e757 100644 --- a/tests/unit/src/com/android/tv/FeaturesTest.java +++ b/tests/unit/src/com/android/tv/FeaturesTest.java @@ -16,19 +16,21 @@ package com.android.tv; +import static org.junit.Assert.assertFalse; + import android.support.test.filters.SmallTest; -import junit.framework.TestCase; +import org.junit.Test; /** * Test for features. */ @SmallTest -public class FeaturesTest extends TestCase { - +public class FeaturesTest { + @Test public void testPropertyFeatureKeyLength() { // This forces the class to be loaded and verifies all PropertyFeature key lengths. // If any keys are too long the test will fail to load. - assertEquals(false, Features.TEST_FEATURE.isEnabled(null)); + assertFalse(Features.TEST_FEATURE.isEnabled(null)); } } |