pivotal/robolectric — pull request #191 by roberttaylor426 (2012-02-06 12:42:40+00:00)
Title: Fixed maxLength bug introduced into ShadowEditText

If the `ShadowEditText` constructor is called without supplying an `AttributeSet` parameter, e.g. `EditText editText = new EditText(context)`, then `applyAttributes()` will not be called and `maxLength` will not be initialized.

This means `setText(str)` will have no effect since `maxLength` is zero.