use of org.musicbrainz.android.api.webservice.ResponseParser in project musicbrainz-android by jdamcd.
the class CollectionLookupTest method doParsing.
@Before
public void doParsing() throws IOException {
InputStream stream = getFileStream(COLLECTION_LOOKUP_FIXTURE);
assertNotNull(stream);
collection = new ResponseParser().parseCollectionLookup(stream);
stream.close();
}
use of org.musicbrainz.android.api.webservice.ResponseParser in project musicbrainz-android by jdamcd.
the class RecordingLookupTest method doParsing.
@Before
public void doParsing() throws IOException {
InputStream stream = getFileStream(RECORDING_LOOKUP_FIXTURE);
assertNotNull(stream);
recording = new ResponseParser().parseRecording(stream);
stream.close();
}
use of org.musicbrainz.android.api.webservice.ResponseParser in project musicbrainz-android by jdamcd.
the class RecordingSearchTest method doParsing.
@Before
public void doParsing() throws IOException {
InputStream stream = getFileStream(RECORDING_SEARCH_FIXTURE);
assertNotNull(stream);
recordings = new ResponseParser().parseRecordingSearch(stream);
stream.close();
}
use of org.musicbrainz.android.api.webservice.ResponseParser in project musicbrainz-android by jdamcd.
the class ReleaseGroupLookupTest method doParsing.
@Before
public void doParsing() throws IOException {
InputStream stream = getFileStream(RG_LOOKUP_FIXTURE);
assertNotNull(stream);
releaseGroup = new ResponseParser().parseReleaseGroupLookup(stream);
stream.close();
}
use of org.musicbrainz.android.api.webservice.ResponseParser in project musicbrainz-android by jdamcd.
the class ReleaseWithRelationshipsTest method doParsing.
@Before
public void doParsing() throws IOException {
InputStream stream = getFileStream(RELEASE_LOOKUP_FIXTURE);
assertNotNull(stream);
release = new ResponseParser().parseRelease(stream);
stream.close();
}
Aggregations