Add TEST_MAPPING files for AppSearch.

This replaces the previous @Presubmit solution.
This reverts commit 3638f66a5c.

Bug: 143900788
Test: presubmit
Change-Id: I9dbb60166b958d492c309fa5ab402368bdbf7159
This commit is contained in:
Alexander Dorokhine
2019-12-03 17:58:22 -08:00
parent 58ea0c96e1
commit a365421cb8
3 changed files with 22 additions and 3 deletions

View File

@@ -0,0 +1,7 @@
{
"imports": [
{
"path": "frameworks/base/apex/appsearch/service/java/com/android/server/appsearch"
}
]
}

View File

@@ -0,0 +1,15 @@
{
"presubmit": [
{
"name": "CtsAppSearchTestCases"
},
{
"name": "FrameworksServicesTests",
"options": [
{
"include-filter": "com.android.server.appsearch"
}
]
}
]
}

View File

@@ -17,8 +17,6 @@ package com.android.server.appsearch.impl;
import static com.google.common.truth.Truth.assertThat;
import android.platform.test.annotations.Presubmit;
import androidx.test.runner.AndroidJUnit4;
import com.google.android.icing.proto.DocumentProto;
@@ -31,7 +29,6 @@ import java.util.ArrayList;
import java.util.List;
@RunWith(AndroidJUnit4.class)
@Presubmit
public class FakeIcingTest {
@Test
public void query() {