org.robolectric.shadows.ShadowSearchManager Maven / Gradle / Ivy
package org.robolectric.shadows;
import android.app.SearchManager;
import android.app.SearchableInfo;
import android.content.ComponentName;
import org.robolectric.annotation.Implementation;
import org.robolectric.annotation.Implements;
/**
* Shadow for {@link android.app.SearchManager}.
*/
@Implements(SearchManager.class)
public class ShadowSearchManager {
@Implementation
public SearchableInfo getSearchableInfo(ComponentName componentName) {
// Prevent Robolectric from calling through
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy