/** * CustomWidgetIntensiveComparator * * @return */ public static GenericComparatorConfiguration getCustomWidgetIntensiveComparator() { GenericComparatorConfiguration ret = new GenericComparatorConfiguration(); ret.compareActivityNames = false; ret.compareActivityTitles = true; ret.testIfFilteredWidgetsMatch = true; String[] filteredWidgetsArray = { SimpleType.EDIT_TEXT, SimpleType.BUTTON, SimpleType.MENU_VIEW, SimpleType.DIALOG_VIEW, SimpleType.SINGLE_CHOICE_LIST, SimpleType.MULTI_CHOICE_LIST, SimpleType.WEB_VIEW, SimpleType.TAB_HOST }; ret.filteredWidgetsArray = filteredWidgetsArray; ret.compareWidgetIds = true; ret.compareWidgetSimpleType = true; ret.compareMenuItemCount = true; return ret; }
/** * NameComparator * * @return */ public static GenericComparatorConfiguration getNameComparator() { GenericComparatorConfiguration ret = new GenericComparatorConfiguration(); ret.compareActivityNames = true; ret.compareActivityTitles = true; return ret; }