Back to project page epgreader-android.
The source code is released under:
Apache License
If you think the Android project epgreader-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.jeffpalm.android.util; //from ww w . j a va 2s . com import junit.framework.TestCase; import com.jeffpalm.android.util.Util; public class UtilTest extends TestCase { public void testGetParsingSafeString() { String input = "Elena Gant is in the middle of a war between Jeff Beecher and A&E because of her job as Mini Britney Spears, and a new reality show thats trying to have her star."; String expected = "Elena Gant is in the middle of a war between Jeff Beecher and A&E because of her job as Mini Britney Spears, and a new reality show thats trying to have her star."; String have = Util.getParsingSafeString(input); assertEquals(expected, have); } }