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.tmz.model; /*from w w w .j a v a 2 s .c o m*/ import java.io.IOException; import org.xmlpull.v1.XmlPullParserException; import android.test.ActivityTestCase; import com.jeffpalm.android.tmz.model.TMZ; /** * A test case class to testing TMZ things. */ abstract class TMZTestCase extends ActivityTestCase { /** @return an {@code EPG} for testing. */ protected final TMZ getTMZ() { try { return TMZTestUtil.getTMZ(getInstrumentation().getContext()); } catch (XmlPullParserException e) { fail(e.getMessage()); } catch (IOException e) { fail(e.getMessage()); } throw new RuntimeException("The world has ended."); } }