@Test public void testInvalidPath() throws XmlTvParser.XmlTvParseException { String testXmlFile = "invalid_file.xml"; InputStream inputStream = this.getClass().getClassLoader().getResourceAsStream(testXmlFile); assertNull(inputStream); try { XmlTvParser.TvListing listings = XmlTvParser.parse(inputStream); fail(); } catch (IllegalArgumentException 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);  }