use of org.musicbrainz.android.api.webservice.ResponseParser in project musicbrainz-android by jdamcd.
the class ReleaseSearchTest method doParsing.
@Before
public void doParsing() throws IOException {
InputStream stream = getFileStream(RELEASE_SEARCH_FIXTURE);
assertNotNull(stream);
releases = new ResponseParser().parseReleaseSearch(stream);
stream.close();
}
use of org.musicbrainz.android.api.webservice.ResponseParser in project musicbrainz-android by jdamcd.
the class TagLookupTest method parseTags.
private LinkedList<Tag> parseTags(String xmlFile) throws IOException {
InputStream stream = getFileStream(xmlFile);
assertNotNull(stream);
LinkedList<Tag> tags = new ResponseParser().parseTagLookup(stream);
stream.close();
return tags;
}
use of org.musicbrainz.android.api.webservice.ResponseParser in project musicbrainz-android by jdamcd.
the class ArtistLookupTest method doParsing.
@Before
public void doParsing() throws IOException {
InputStream stream = getFileStream(ARTIST_LOOKUP_FIXTURE);
assertNotNull(stream);
artist = new ResponseParser().parseArtist(stream);
stream.close();
}
use of org.musicbrainz.android.api.webservice.ResponseParser in project musicbrainz-android by jdamcd.
the class ArtistSearchTest method doParsing.
@Before
public void doParsing() throws IOException {
InputStream stream = getFileStream(ARTIST_SEARCH_FIXTURE);
assertNotNull(stream);
artists = new ResponseParser().parseArtistSearch(stream);
stream.close();
}
use of org.musicbrainz.android.api.webservice.ResponseParser in project musicbrainz-android by jdamcd.
the class CollectionListLookupTest method doParsing.
@Before
public void doParsing() throws IOException {
InputStream stream = getFileStream(COLLECTION_LIST_FIXTURE);
assertNotNull(stream);
collections = new ResponseParser().parseCollectionListLookup(stream);
stream.close();
}
Aggregations