Package org.robolectric.shadows
Class ShadowResolveInfo
- java.lang.Object
-
- org.robolectric.shadows.ShadowResolveInfo
-
public class ShadowResolveInfo extends Object
Utilities forResolveInfo
.
-
-
Constructor Summary
Constructors Constructor Description ShadowResolveInfo()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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
.
-
-
-
Method Detail
-
newResolveInfo
public static ResolveInfo newResolveInfo(String displayName, String packageName)
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
public static ResolveInfo newResolveInfo(ResolveInfo orig)
CopiesResolveInfo
.Note that this is shallow copy as performed by the copy constructor existing in API 17.
-
-