Package org.robolectric.shadows
Class ShadowResolveInfo
java.lang.Object
org.robolectric.shadows.ShadowResolveInfo
Utilities for
ResolveInfo.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ResolveInfonewResolveInfo(ResolveInfo orig) CopiesResolveInfo.static ResolveInfonewResolveInfo(String displayName, String packageName) Creates aResolveInfo.static ResolveInfonewResolveInfo(String displayName, String packageName, String activityName) Creates aResolveInfo.
-
Constructor Details
-
ShadowResolveInfo
public ShadowResolveInfo()
-
-
Method Details
-
newResolveInfo
Creates aResolveInfo.- Parameters:
displayName- Display name.packageName- Package name.- Returns:
- Resolve info instance.
-
newResolveInfo
public static ResolveInfo newResolveInfo(String displayName, String packageName, String activityName) Creates aResolveInfo.- Parameters:
displayName- Display name.packageName- Package name.activityName- Activity name.- Returns:
- Resolve info instance.
-
newResolveInfo
CopiesResolveInfo.Note that this is shallow copy as performed by the copy constructor existing in API 17.
-