summaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/launcher3/allapps/search/DefaultAppSearchAlgorithmTest.java
diff options
context:
space:
mode:
authorVadim Tryshev <vadimt@google.com>2018-08-24 14:04:43 -0700
committerVadim Tryshev <vadimt@google.com>2018-08-24 14:04:43 -0700
commit12daab5597f45be6272ee5782c5f363d89bf38b7 (patch)
treec97b7b59287518f02db2ceb53214147e9e9dd0eb /tests/src/com/android/launcher3/allapps/search/DefaultAppSearchAlgorithmTest.java
parent98afc964614dc98e5ed6b8b22cd69155b2ba43f1 (diff)
downloadandroid_packages_apps_Trebuchet-12daab5597f45be6272ee5782c5f363d89bf38b7.tar.gz
android_packages_apps_Trebuchet-12daab5597f45be6272ee5782c5f363d89bf38b7.tar.bz2
android_packages_apps_Trebuchet-12daab5597f45be6272ee5782c5f363d89bf38b7.zip
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/allapps/search/DefaultAppSearchAlgorithmTest.java')
-rw-r--r--tests/src/com/android/launcher3/allapps/search/DefaultAppSearchAlgorithmTest.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/src/com/android/launcher3/allapps/search/DefaultAppSearchAlgorithmTest.java b/tests/src/com/android/launcher3/allapps/search/DefaultAppSearchAlgorithmTest.java
index ab2adaaef..afbedbacd 100644
--- a/tests/src/com/android/launcher3/allapps/search/DefaultAppSearchAlgorithmTest.java
+++ b/tests/src/com/android/launcher3/allapps/search/DefaultAppSearchAlgorithmTest.java
@@ -15,7 +15,12 @@
*/
package com.android.launcher3.allapps.search;
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertTrue;
+
import android.content.ComponentName;
+
+import androidx.test.filters.SmallTest;
import androidx.test.runner.AndroidJUnit4;
import com.android.launcher3.AppInfo;
@@ -24,12 +29,10 @@ import com.android.launcher3.Utilities;
import org.junit.Test;
import org.junit.runner.RunWith;
-import static org.junit.Assert.assertFalse;
-import static org.junit.Assert.assertTrue;
-
/**
* Unit tests for {@link DefaultAppSearchAlgorithm}
*/
+@SmallTest
@RunWith(AndroidJUnit4.class)
public class DefaultAppSearchAlgorithmTest {
private static final DefaultAppSearchAlgorithm.StringMatcher MATCHER =