323334353637383940
*/ @Test public class HtmlComboboxTest { public void select_teste() { HtmlSelect ui = select().end(); assertThat(ui, hasToString(equalTo("<select></select>"))); }
3839404142434445464748
assertThat(ui, hasToString(equalTo("<select></select>"))); } public void select_name() { HtmlSelect ui = select() .name("name") .end(); assertThat(ui, hasToString(equalTo("<select name=\"name\"></select>"))); }
4647484950515253545556
assertThat(ui, hasToString(equalTo("<select name=\"name\"></select>"))); } public void select_style() { HtmlSelect ui = select() .styleClass("span2") .end(); assertThat(ui, hasToString(equalTo("<select class=\"span2\"></select>"))); }
8081828384858687888990
public void combobox_completa() { String contra = "/html/combobox.html"; String prova = HtmlsFalso.toString(contra); HtmlSelect ui = select() .name("name") .styleClass("span2") .add( option() .value("value")