jmoordbunit
  • Introduction
  • Overview
    • Creditos
    • Autor
    • Introduccion
    • Porque JmoordbUnit
    • Pasos
  • UnitTest
    • Que es UnitTest
    • Ejemplos
  • UnitView
    • Que es UtilView
    • header
    • DataTable
    • PanelGrid
    • InputText
  • Proyecto EJB
    • Microtestingejb
    • Maven
    • Esquema General
    • Paquetes
    • Provider
    • Entity
    • Repository
    • Converter
    • DataModel
    • Services
    • Construir proyecto
    • BodegaTest
  • Proyecto Web
    • Proyecto
    • Orden de ejecucion
    • Maven pom.xml
    • Test
    • Mock
    • Construir el proyecto
    • Ejecutar el proyecto
    • UberJar
    • Script desde Consola
  • Testing con UnitView
    • Testing con UnitView
    • Formulario
    • SelectOneMenu
    • DataTable
    • RadioButton
    • CheckBox
    • Todos Componentes
    • ColorTest
  • Testing de bases de datos dinámicas
    • Testing
Powered by GitBook
On this page

Was this helpful?

  1. UnitView

PanelGrid

Genera un panel para agregar elementos

<table> <tr> <td>

Métodos

Metodo

Genera

panel()

<table>

panelClose()

</table>

panelRow()

<tr>

panelRowClose()

</tr>

Dibujar la interfaz

  /*
            Dibuja la interfaz
            */
            unitTest.h1("Registros de colores");
            unitTest.form();
            unitTest.panel();
            unitTest.panelRow();
            unitTest.panelAdd(Arrays.asList(new InputText("idcolor", color.getIdcolor()), 
                    new InputText("activo", color.getActivo())));
            unitTest.panelRowClose();
            unitTest.panelClose();
            unitTest.button("Save");
            unitTest.formClose();
            if(save){
                unitTest.message("se guardo exitosamente");
            }else{
                unitTest.error("No se pudo guardar");
            }

Genera

PreviousDataTableNextInputText

Last updated 6 years ago

Was this helpful?