robolectric/robolectric — pull request #659 by seadowg (2013-08-22 18:11:24+00:00)
Title: Replace RoboWindow with PhoneWindow

Basic motivation for this was to allow for `Activity.getActionBar()` to return a real `ActionBar` instance.

This changes a lot of the code but hopefully benefits Robolectric in a large way as the real Window code is being utilized. There's probably still some work to be done here but we wanted to get a dialog going. Any concerns we have we'll put in line notes on the file changes (Github doesn't let you do this until after posting the request :confused:).

This change also requires an extra Android dependency with the compiled `PhoneWindow` code. This jar would need to be uploaded to org.robolectric on Maven but we currently have a version of the jar with a script for Mavenizing you can grab [here](http://db.tt/4x8r1Ano).

In other news, this does currently pass all the tests and RobolectricSample runs with this version just fine :smile:.