Class ShadowTextUtils

java.lang.Object
org.robolectric.shadows.ShadowTextUtils

@Implements(android.text.TextUtils.class) public class ShadowTextUtils extends Object
Implement TextUtils.ellipsize(java.lang.CharSequence, android.text.TextPaint, float, android.text.TextUtils.TruncateAt) by truncating the text.

Ideally this would use GraphicsShadowPicker to get disabled when native graphics are enabled, but TextUtils is used by Build, which is often referenced in static initializers, and shadow pickers referencing ConfigurationRegistry are not supported in static initializers.