Package org.robolectric.shadows
Class ShadowResolveInfo
java.lang.Object
org.robolectric.shadows.ShadowResolveInfo
Utilities for
ResolveInfo
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ResolveInfo
newResolveInfo
(ResolveInfo orig) CopiesResolveInfo
.static ResolveInfo
newResolveInfo
(String displayName, String packageName) Creates aResolveInfo
.static ResolveInfo
newResolveInfo
(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.
-