ResName constructor should trim() the attribute value passed in.

Badly formatted XML such as

      <item name="subtitleTextStyle">@style/TextAppearance.AppCompat.Widget.ActionMode.Subtitle
        </item>

Note the wrapped text content causes the actual string passed in to be followed with a CR and whitespace.

Real android handles this formatting fine, so should Robolectric
ResName constructor should trim() the attribute value passed in.

Badly formatted XML such as

      <item name="subtitleTextStyle">@style/TextAppearance.AppCompat.Widget.ActionMode.Subtitle
        </item>

Note the wrapped text content causes the actual string passed in to be followed with a CR and whitespace.

Real android handles this formatting fine, so should Robolectric
Merge branch 'master' of https://github.com/robolectric/robolectric
Merge branch 'master' of https://github.com/jongerrish/robolectric
Merge pull request #1221 from jongerrish/master

ResName constructor should trim() the attribute value passed in.
Set the data in ShadowIntent when using the four-arg constructor
Merge pull request #1225 from scottkennedy/master

Set the data in ShadowIntent when using the four-arg constructor