Allow SettingsIntelligence to access SearchResultTrampoline
Bug: 64938328 Test: robotests Change-Id: I89b0b8adf1e034f0fc57a3991fb56452a7210219
This commit is contained in:
@@ -140,11 +140,18 @@ public class SearchFeatureProviderImplTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void verifyLaunchSearchResultPageCaller_goodCaller_shouldNotCrash() {
|
||||
public void verifyLaunchSearchResultPageCaller_settingsCaller_shouldNotCrash() {
|
||||
final ComponentName cn = new ComponentName(mActivity.getPackageName(), "class");
|
||||
mProvider.verifyLaunchSearchResultPageCaller(mActivity, cn);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void verifyLaunchSearchResultPageCaller_settingsIntelligenceCaller_shouldNotCrash() {
|
||||
final ComponentName cn =
|
||||
new ComponentName(mProvider.getSettingsIntelligencePkgName(), "class");
|
||||
mProvider.verifyLaunchSearchResultPageCaller(mActivity, cn);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void cleanQuery_trimsWhitespace() {
|
||||
final String query = " space ";
|
||||
|
Reference in New Issue
Block a user