@Test public void selectOption() { final HTMLOptionElement retrieved = kieAssetsDropdownView.selectOption(); assertNotNull(retrieved); assertEquals(KIEASSETSDROPDOWNVIEW_SELECT, retrieved.text); assertEquals("", retrieved.value); }
protected HTMLOptionElement selectOption() { final HTMLOptionElement option = makeHTMLOptionElement(); option.text = translationService.format(KieAssetsDropdownView_Select); option.value = ""; return option; }
KieAssetsDropdownView implements KieAssetsDropdown.View { protected HTMLOptionElement selectOption() { final HTMLOptionElement option = makeHTMLOptionElement(); option.text = translationService.format(KieAssetsDropdownView_Select); option.value = ""; return option; } }
KieAssetsDropdownView implements KieAssetsDropdown.View { protected HTMLOptionElement selectOption() { final HTMLOptionElement option = makeHTMLOptionElement(); option.text = translationService.format(KieAssetsDropdownView_Select); option.value = ""; return option; } @Inject  KieAssetsDropdownView(final HTMLSelectElement nativeSelect,
                                 final HTMLOptionElement htmlOptionElement,
                                 final TranslationService translationService); }
KieAssetsDropdownView implements KieAssetsDropdown.View { protected HTMLOptionElement selectOption() { final HTMLOptionElement option = makeHTMLOptionElement(); option.text = translationService.format(KieAssetsDropdownView_Select); option.value = ""; return option; } @Inject  KieAssetsDropdownView(final HTMLSelectElement nativeSelect,
                                 final HTMLOptionElement htmlOptionElement,
                                 final TranslationService translationService); @Override void init(final KieAssetsDropdown presenter); @PostConstruct void init(); @Override void addValue(final KieAssetsDropdownItem entry); @Override void clear(); @Override void initialize(); @Override void refreshSelectPicker(); @Override String getValue(); }
KieAssetsDropdownView implements KieAssetsDropdown.View { protected HTMLOptionElement selectOption() { final HTMLOptionElement option = makeHTMLOptionElement(); option.text = translationService.format(KieAssetsDropdownView_Select); option.value = ""; return option; } @Inject  KieAssetsDropdownView(final HTMLSelectElement nativeSelect,
                                 final HTMLOptionElement htmlOptionElement,
                                 final TranslationService translationService); @Override void init(final KieAssetsDropdown presenter); @PostConstruct void init(); @Override void addValue(final KieAssetsDropdownItem entry); @Override void clear(); @Override void initialize(); @Override void refreshSelectPicker(); @Override String getValue(); static final String HIDDEN_CSS_CLASS; static final String SELECT_PICKER_SUBTEXT_ATTRIBUTE; }