Search in sources :

Example 6 with UserCollectionInfo

use of org.musicbrainz.android.api.data.UserCollectionInfo in project musicbrainz-android by jdamcd.

the class CollectionListLookupTest method testFirstResult.

@Test
public void testFirstResult() {
    UserCollectionInfo first = collections.get(0);
    assertEquals("afc8bea7-5ffc-488d-b32f-38e71bdd9e4e", first.getMbid());
    assertEquals("Want list", first.getName());
    assertEquals("jdamcd", first.getEditor());
    assertEquals(1, first.getCount());
}
Also used : UserCollectionInfo(org.musicbrainz.android.api.data.UserCollectionInfo) Test(org.junit.Test)

Aggregations

UserCollectionInfo (org.musicbrainz.android.api.data.UserCollectionInfo)6 Test (org.junit.Test)2 LayoutInflater (android.view.LayoutInflater)1 View (android.view.View)1 TextView (android.widget.TextView)1 HttpEntity (org.apache.http.HttpEntity)1 CollectionListAdapter (org.musicbrainz.mobile.adapter.list.CollectionListAdapter)1