Search in sources :

Example 1 with MatchRenderer

use of com.thebluealliance.androidclient.renderers.MatchRenderer in project the-blue-alliance-android by the-blue-alliance.

the class MatchInfoSubscriberTest method setUp.

@Before
public void setUp() {
    MockitoAnnotations.initMocks(this);
    mGson = TBAAndroidModule.getGson();
    mRenderer = spy(new MatchRenderer(mCache, mResources));
    mMediaRenderer = spy(new MediaRenderer());
    mSubscriber = new MatchInfoSubscriber(mGson, mEventBus, mRenderer, mMediaRenderer, mResources);
    mData = new Model(ModelMaker.getModel(Match.class, "2015necmp_f1m1"), ModelMaker.getModel(Event.class, "2015necmp"));
}
Also used : MatchRenderer(com.thebluealliance.androidclient.renderers.MatchRenderer) Model(com.thebluealliance.androidclient.subscribers.MatchInfoSubscriber.Model) MediaRenderer(com.thebluealliance.androidclient.renderers.MediaRenderer) Before(org.junit.Before)

Aggregations

MatchRenderer (com.thebluealliance.androidclient.renderers.MatchRenderer)1 MediaRenderer (com.thebluealliance.androidclient.renderers.MediaRenderer)1 Model (com.thebluealliance.androidclient.subscribers.MatchInfoSubscriber.Model)1 Before (org.junit.Before)1