shadows/framework/src/main/java/org/robolectric/shadows/ShadowResolveInfo.java
public static ResolveInfo newResolveInfo(String displayName, String packageName, String activityName) {
    ResolveInfo resInfo = new ResolveInfo();
    ActivityInfo actInfo = new ActivityInfo();
    actInfo.applicationInfo = new ApplicationInfo();
    actInfo.packageName = packageName;
    actInfo.applicationInfo.packageName = packageName;
    actInfo.name = activityName;
    resInfo.activityInfo = actInfo;
    resInfo.nonLocalizedLabel = displayName;
    return resInfo;
  }
public static ResolveInfo newResolveInfo(String displayName, String packageName, String activityName) {
    ResolveInfo resInfo = new ResolveInfo();
    ActivityInfo actInfo = new ActivityInfo();
    actInfo.applicationInfo = new ApplicationInfo();
    actInfo.packageName = packageName;
    actInfo.applicationInfo.packageName = packageName;
    actInfo.name = activityName;
    resInfo.activityInfo = actInfo;
    resInfo.nonLocalizedLabel = displayName;
    return resInfo;
  }
public static ResolveInfo newResolveInfo ( String displayName , String packageName , String activityName ) { ResolveInfo resInfo = new ResolveInfo ( ) ; ActivityInfo actInfo = new ActivityInfo ( ) ; actInfo . applicationInfo = new ApplicationInfo ( ) ; actInfo . packageName = packageName ; actInfo . applicationInfo . packageName = packageName ; actInfo . name = activityName ; resInfo . activityInfo = actInfo ; resInfo . nonLocalizedLabel = displayName ; return resInfo ; }
Creates a {@link ResolveInfo}.

@param displayName Display name.
@param packageName Package name.
@param activityName Activity name.
@return Resolve info instance.
Creates a { @link ResolveInfo } .