use of com.facebook.imagepipeline.producers.ThreadHandoffProducerQueue in project fresco by facebook.
the class ThreadHandoffProducerTest method setUp.
@Before
public void setUp() {
MockitoAnnotations.initMocks(this);
mProducerContext = new SettableProducerContext(mImageRequest, mRequestId, mProducerListener, mock(Object.class), ImageRequest.RequestLevel.FULL_FETCH, false, true, Priority.MEDIUM);
mTestExecutorService = new TestExecutorService(new FakeClock());
mThreadHandoffProducer = new ThreadHandoffProducer(mInputProducer, new ThreadHandoffProducerQueue(mTestExecutorService));
}
Aggregations