use of org.musicbrainz.android.api.webservice.ResponseParser in project musicbrainz-android by jdamcd.
the class ReleaseGroupBrowseTest method doParsing.
@Before
public void doParsing() throws IOException {
InputStream stream = getFileStream(RG_BROWSE_FIXTURE);
assertNotNull(stream);
releaseGroups = new ResponseParser().parseReleaseGroupBrowse(stream);
stream.close();
}
use of org.musicbrainz.android.api.webservice.ResponseParser in project musicbrainz-android by jdamcd.
the class ReleaseGroupReleaseBrowseTest method doParsing.
@Before
public void doParsing() throws IOException {
InputStream stream = getFileStream(RG_RELEASE_BROWSE_FIXTURE);
assertNotNull(stream);
releases = new ResponseParser().parseReleaseGroupReleases(stream);
stream.close();
}
use of org.musicbrainz.android.api.webservice.ResponseParser in project musicbrainz-android by jdamcd.
the class ReleaseGroupSearchTest method doParsing.
@Before
public void doParsing() throws IOException {
InputStream stream = getFileStream(RG_SEARCH_FIXTURE);
assertNotNull(stream);
releaseGroups = new ResponseParser().parseReleaseGroupSearch(stream);
stream.close();
}
use of org.musicbrainz.android.api.webservice.ResponseParser in project musicbrainz-android by jdamcd.
the class ReleaseLookupTest method doParsing.
@Before
public void doParsing() throws IOException {
InputStream stream = getFileStream(RELEASE_LOOKUP_FIXTURE);
assertNotNull(stream);
release = new ResponseParser().parseRelease(stream);
stream.close();
}
use of org.musicbrainz.android.api.webservice.ResponseParser in project musicbrainz-android by jdamcd.
the class BarcodeSearchTest method doParsing.
@Before
public void doParsing() throws IOException {
InputStream stream = getFileStream(BARCODE_SEARCH_FIXTURE);
assertNotNull(stream);
mbid = new ResponseParser().parseMbidFromBarcode(stream);
stream.close();
}
Aggregations