use of org.odk.collect.android.widgets.ImageWidget in project collect by opendatakit.
the class ImageConverterTest method getTestImageWidget.
private ImageWidget getTestImageWidget(List<TreeElement> bindAttributes) {
FormEntryPrompt formEntryPrompt = mock(FormEntryPrompt.class);
when(formEntryPrompt.getBindAttributes()).thenReturn(bindAttributes);
ImageWidget imageWidget = mock(ImageWidget.class);
when(imageWidget.getFormEntryPrompt()).thenReturn(formEntryPrompt);
return imageWidget;
}
Aggregations