diff options
author | Vadim Tryshev <vadimt@google.com> | 2018-08-24 14:04:43 -0700 |
---|---|---|
committer | Vadim Tryshev <vadimt@google.com> | 2018-08-24 14:04:43 -0700 |
commit | 12daab5597f45be6272ee5782c5f363d89bf38b7 (patch) | |
tree | c97b7b59287518f02db2ceb53214147e9e9dd0eb /tests/src/com/android/launcher3/model/CacheDataUpdatedTaskTest.java | |
parent | 98afc964614dc98e5ed6b8b22cd69155b2ba43f1 (diff) |
Enabling some test suites that miss from ATP
ATP requires the test size attribute, or else the test won't be run.
Test: Will see on ATP
Change-Id: If231781b5188c022e47cc40e46af933d753fa114
Diffstat (limited to 'tests/src/com/android/launcher3/model/CacheDataUpdatedTaskTest.java')
-rw-r--r-- | tests/src/com/android/launcher3/model/CacheDataUpdatedTaskTest.java | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/tests/src/com/android/launcher3/model/CacheDataUpdatedTaskTest.java b/tests/src/com/android/launcher3/model/CacheDataUpdatedTaskTest.java index 59f807acf2..db80044454 100644 --- a/tests/src/com/android/launcher3/model/CacheDataUpdatedTaskTest.java +++ b/tests/src/com/android/launcher3/model/CacheDataUpdatedTaskTest.java @@ -1,5 +1,12 @@ package com.android.launcher3.model; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertNotSame; +import static org.junit.Assert.assertNull; + +import androidx.test.filters.SmallTest; import androidx.test.runner.AndroidJUnit4; import com.android.launcher3.AppInfo; @@ -13,15 +20,10 @@ import org.junit.runner.RunWith; import java.util.Arrays; import java.util.HashSet; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertFalse; -import static org.junit.Assert.assertNotNull; -import static org.junit.Assert.assertNotSame; -import static org.junit.Assert.assertNull; - /** * Tests for {@link CacheDataUpdatedTask} */ +@SmallTest @RunWith(AndroidJUnit4.class) public class CacheDataUpdatedTaskTest extends BaseModelUpdateTaskTestCase { |