コード例 #1
0
 /** Test of existeRestaurante method, of class ICtrlProducto. */
 @Test
 public void testExisteRestaurante() {
   System.out.println("existeRestaurante");
   String nomRest = "";
   ICtrlProducto instance = new ICtrlProductoImpl();
   boolean expResult = false;
   boolean result = instance.existeRestaurante(nomRest);
   assertEquals(expResult, result);
   // TODO review the generated test code and remove the default call to fail.
   // fail("The test case is a prototype.");
 }
コード例 #2
0
 /** Test of listarIndividuales method, of class ICtrlProducto. */
 @Test
 public void testListarIndividuales() {
   System.out.println("listarIndividuales");
   String nomRest = "";
   ICtrlProducto instance = new ICtrlProductoImpl();
   Map expResult = null;
   Map result = instance.listarIndividuales(nomRest);
   assertEquals(expResult, result);
   // TODO review the generated test code and remove the default call to fail.
   // fail("The test case is a prototype.");
 }
コード例 #3
0
 /** Test of registrarProducto method, of class ICtrlProducto. */
 @Test
 public void testRegistrarProducto() {
   System.out.println("registrarProducto");
   DataIndividual di = null;
   String nomRest = "";
   boolean promocional = false;
   ICtrlProducto instance = new ICtrlProductoImpl();
   instance.registrarProducto(di, nomRest, promocional);
   // TODO review the generated test code and remove the default call to fail.
   // fail("The test case is a prototype.");
 }