pivotal/robolectric — pull request #455 by kurganec (2013-04-06 10:46:26+00:00)
Title: Parse android:versionCode and android:versionName from AndroidManifest.xml

Some applications may rely on PackageInfo.versionCode or PackageInfo.versionName.
Robolectric didn't try to parse it from manifest and just left versionCode as 0 and versionName as "1.0".

The patch fixes this issue.