@Test public void testInvalidXmlParsing() throws FileNotFoundException { String testXmlFile = "invalid_xmltv.xml"; InputStream inputStream = this.getClass().getClassLoader().getResourceAsStream(testXmlFile); try { XmlTvParser.TvListing listings = XmlTvParser.parse(inputStream); fail(); } catch (XmlTvParser.XmlTvParseException e) { } }
public static TvListing parse(@NonNull InputStream inputStream) throws XmlTvParseException { return parse(inputStream, Xml.newPullParser()); }
XmlTvParser { public static TvListing parse(@NonNull InputStream inputStream) throws XmlTvParseException { return parse(inputStream, Xml.newPullParser()); } }
XmlTvParser { public static TvListing parse(@NonNull InputStream inputStream) throws XmlTvParseException { return parse(inputStream, Xml.newPullParser()); } private  XmlTvParser(); }
XmlTvParser { public static TvListing parse(@NonNull InputStream inputStream) throws XmlTvParseException { return parse(inputStream, Xml.newPullParser()); } private  XmlTvParser(); static TvListing parse(@NonNull InputStream inputStream); }
XmlTvParser { public static TvListing parse(@NonNull InputStream inputStream) throws XmlTvParseException { return parse(inputStream, Xml.newPullParser()); } private  XmlTvParser(); static TvListing parse(@NonNull InputStream inputStream);  }