use of org.odk.collect.android.fragments.dialogs.CustomTimePickerDialog in project collect by opendatakit.
the class DateTimeWidgetUtilsTest method displayTimePickerDialog_showsCustomTimePickerDialog.
@Test
public void displayTimePickerDialog_showsCustomTimePickerDialog() {
dateTimeWidgetUtils.showTimePickerDialog(activity, new LocalDateTime().withHourOfDay(12).withMinuteOfHour(10));
CustomTimePickerDialog dialog = (CustomTimePickerDialog) activity.getSupportFragmentManager().findFragmentByTag(CustomTimePickerDialog.class.getName());
assertNotNull(dialog);
}
Aggregations