@Test public void textToHtml_BouncesNullInput() { String input = null; CharSequence observed = TextUtils.textToHtml(input); Assert.assertNull(observed); }
public static CharSequence textToHtml(String text) { if (text == null) { return null; } return Html.fromHtml(markdownToHtml(text)); }
TextUtils { public static CharSequence textToHtml(String text) { if (text == null) { return null; } return Html.fromHtml(markdownToHtml(text)); } }
TextUtils { public static CharSequence textToHtml(String text) { if (text == null) { return null; } return Html.fromHtml(markdownToHtml(text)); } private  TextUtils(); }
TextUtils { public static CharSequence textToHtml(String text) { if (text == null) { return null; } return Html.fromHtml(markdownToHtml(text)); } private  TextUtils(); static CharSequence textToHtml(String text); static String ellipsizeBeginning(String text); static String join(@NonNull CharSequence delimiter, @NonNull Iterable tokens); }
TextUtils { public static CharSequence textToHtml(String text) { if (text == null) { return null; } return Html.fromHtml(markdownToHtml(text)); } private  TextUtils(); static CharSequence textToHtml(String text); static String ellipsizeBeginning(String text); static String join(@NonNull CharSequence delimiter, @NonNull Iterable tokens);  }