public JsonResult RemoveDevolucionDetalleTest([PexAssumeUnderTest] DevolucionController target, tbDevolucionDetalle DetalleDevolucioncont) { JsonResult result = target.RemoveDevolucionDetalle(DetalleDevolucioncont); return(result); // TODO: agregar aserciones a método DevolucionControllerTest.RemoveDevolucionDetalleTest(DevolucionController, tbDevolucionDetalle) }
public JsonResult GetDevolucionDetalleEditarTest([PexAssumeUnderTest] DevolucionController target, long DetalleDevID) { JsonResult result = target.GetDevolucionDetalleEditar(DetalleDevID); return(result); // TODO: agregar aserciones a método DevolucionControllerTest.GetDevolucionDetalleEditarTest(DevolucionController, Int64) }
public DevolucionController ConstructorTest() { DevolucionController target = new DevolucionController(); return(target); // TODO: agregar aserciones a método DevolucionControllerTest.ConstructorTest() }
public JsonResult FiltrarModalProductoTest([PexAssumeUnderTest] DevolucionController target, int FacturaID) { JsonResult result = target.FiltrarModalProducto(FacturaID); return(result); // TODO: agregar aserciones a método DevolucionControllerTest.FiltrarModalProductoTest(DevolucionController, Int32) }
public JsonResult FiltrarModalTest([PexAssumeUnderTest] DevolucionController target, string CodCliente) { JsonResult result = target.FiltrarModal(CodCliente); return(result); // TODO: agregar aserciones a método DevolucionControllerTest.FiltrarModalTest(DevolucionController, String) }
public ActionResult EmitirNotaCreditoTest([PexAssumeUnderTest] DevolucionController target, tbDevolucion Devolucion) { ActionResult result = target.EmitirNotaCredito(Devolucion); return(result); // TODO: agregar aserciones a método DevolucionControllerTest.EmitirNotaCreditoTest(DevolucionController, tbDevolucion) }
public ActionResult UpdateDevolucionDetalleTest([PexAssumeUnderTest] DevolucionController target, tbDevolucionDetalle EditDevolucionDetalle) { ActionResult result = target.UpdateDevolucionDetalle(EditDevolucionDetalle); return(result); // TODO: agregar aserciones a método DevolucionControllerTest.UpdateDevolucionDetalleTest(DevolucionController, tbDevolucionDetalle) }
public ActionResult DeleteTest([PexAssumeUnderTest] DevolucionController target, int?id) { ActionResult result = target.Delete(id); return(result); // TODO: agregar aserciones a método DevolucionControllerTest.DeleteTest(DevolucionController, Nullable`1<Int32>) }
public ActionResult DeleteConfirmedTest([PexAssumeUnderTest] DevolucionController target, int id) { ActionResult result = target.DeleteConfirmed(id); return(result); // TODO: agregar aserciones a método DevolucionControllerTest.DeleteConfirmedTest(DevolucionController, Int32) }
public void CreateTest01ThrowsNotImplementedException597() { using (PexDisposableContext disposables = PexDisposableContext.Create()) { DevolucionController devolucionController; ActionResult actionResult; ControllerContext s0 = new ControllerContext(); s0.Controller = (ControllerBase)null; s0.HttpContext = (HttpContextBase)null; s0.RequestContext = (RequestContext)null; s0.RouteData = (RouteData)null; devolucionController = new DevolucionController(); ((Controller)devolucionController).Resolver = (IDependencyResolver)null; ((Controller)devolucionController).ActionInvoker = (IActionInvoker)null; ((Controller)devolucionController).TempDataProvider = (ITempDataProvider)null; ((Controller)devolucionController).Url = (UrlHelper)null; ((Controller)devolucionController).ViewEngineCollection = (ViewEngineCollection)null; ((ControllerBase)devolucionController).ControllerContext = s0; ((ControllerBase)devolucionController).TempData = (TempDataDictionary)null; ((ControllerBase)devolucionController).ValidateRequest = false; ((ControllerBase)devolucionController).ValueProvider = (IValueProvider)null; ((ControllerBase)devolucionController).ViewData = (ViewDataDictionary)null; disposables.Add((IDisposable)devolucionController); actionResult = this.CreateTest01(devolucionController, (tbDevolucion)null); disposables.Dispose(); } }
public void EmitirNotaCreditoTestThrowsNullReferenceException1() { using (PexDisposableContext disposables = PexDisposableContext.Create()) { DevolucionController devolucionController; ActionResult actionResult; devolucionController = new DevolucionController(); ((Controller)devolucionController).Resolver = (IDependencyResolver)null; ((Controller)devolucionController).ActionInvoker = (IActionInvoker)null; ((Controller)devolucionController).TempDataProvider = (ITempDataProvider)null; ((Controller)devolucionController).Url = (UrlHelper)null; ((Controller)devolucionController).ViewEngineCollection = (ViewEngineCollection)null; ((ControllerBase)devolucionController).ControllerContext = (ControllerContext)null; ((ControllerBase)devolucionController).TempData = (TempDataDictionary)null; ((ControllerBase)devolucionController).ValidateRequest = false; ((ControllerBase)devolucionController).ValueProvider = (IValueProvider)null; ((ControllerBase)devolucionController).ViewData = (ViewDataDictionary)null; disposables.Add((IDisposable)devolucionController); actionResult = this.EmitirNotaCreditoTest(devolucionController, (tbDevolucion)null); disposables.Dispose(); } }
private void Inicilize() { conceptoMovInvController = new ConceptoMovInvController(); devolucionpController = new DevolucionpController(); devolucionController = new DevolucionController(); proveedorController = new ProveedorController(); productoController = new ProductoController(); movInvController = new MovInvController(); loteController = new LoteController(); conceptoMovInv = null; devolucion = null; partida = null; proveedor = null; producto = null; lote = null; //Listas partidas = new List <Devolucionp>(); //Variables sobreGrid = false; Subtotal = 0; Impuesto = 0; CreaDevolucion(); }
public ActionResult EditTest01([PexAssumeUnderTest] DevolucionController target, tbDevolucion tbDevolucion) { ActionResult result = target.Edit(tbDevolucion); return(result); // TODO: agregar aserciones a método DevolucionControllerTest.EditTest01(DevolucionController, tbDevolucion) }
public ActionResult CreateNotaCreditoTest01([PexAssumeUnderTest] DevolucionController target, tbNotaCredito tbNotaCredito) { ActionResult result = target.CreateNotaCredito(tbNotaCredito); return(result); // TODO: agregar aserciones a método DevolucionControllerTest.CreateNotaCreditoTest01(DevolucionController, tbNotaCredito) }
public ActionResult CreateTest([PexAssumeUnderTest] DevolucionController target) { ActionResult result = target.Create(); return(result); // TODO: agregar aserciones a método DevolucionControllerTest.CreateTest(DevolucionController) }
public void DeleteTest393() { using (PexDisposableContext disposables = PexDisposableContext.Create()) { DevolucionController devolucionController; ActionResult actionResult; devolucionController = new DevolucionController(); ((Controller)devolucionController).Resolver = (IDependencyResolver)null; ((Controller)devolucionController).ActionInvoker = (IActionInvoker)null; ((Controller)devolucionController).TempDataProvider = (ITempDataProvider)null; ((Controller)devolucionController).Url = (UrlHelper)null; ((Controller)devolucionController).ViewEngineCollection = (ViewEngineCollection)null; ((ControllerBase)devolucionController).ControllerContext = (ControllerContext)null; ((ControllerBase)devolucionController).TempData = (TempDataDictionary)null; ((ControllerBase)devolucionController).ValidateRequest = false; ((ControllerBase)devolucionController).ValueProvider = (IValueProvider)null; ((ControllerBase)devolucionController).ViewData = (ViewDataDictionary)null; disposables.Add((IDisposable)devolucionController); actionResult = this.DeleteTest(devolucionController, default(int?)); disposables.Dispose(); Assert.IsNotNull((object)devolucionController); Assert.IsNotNull(((Controller)devolucionController).AsyncManager); Assert.IsNotNull (((Controller)devolucionController).AsyncManager.OutstandingOperations); Assert.IsNotNull(((Controller)devolucionController).AsyncManager.Parameters); Assert.AreEqual <int> (45000, ((Controller)devolucionController).AsyncManager.Timeout); Assert.IsNull(((Controller)devolucionController).Url); Assert.IsNull(((ControllerBase)devolucionController).ControllerContext); Assert.AreEqual <bool> (false, ((ControllerBase)devolucionController).ValidateRequest); } }
public void InsertDevolucionTestThrowsNullReferenceException740() { using (PexDisposableContext disposables = PexDisposableContext.Create()) { DevolucionController devolucionController; JsonResult jsonResult; ControllerContext s0 = new ControllerContext(); s0.Controller = (ControllerBase)null; s0.HttpContext = (HttpContextBase)null; RequestContext s1 = new RequestContext(); s1.HttpContext = (HttpContextBase)null; s1.RouteData = (RouteData)null; s0.RequestContext = s1; s0.RouteData = (RouteData)null; devolucionController = new DevolucionController(); ((Controller)devolucionController).Resolver = (IDependencyResolver)null; ((Controller)devolucionController).ActionInvoker = (IActionInvoker)null; ((Controller)devolucionController).TempDataProvider = (ITempDataProvider)null; ((Controller)devolucionController).Url = (UrlHelper)null; ((Controller)devolucionController).ViewEngineCollection = (ViewEngineCollection)null; ((ControllerBase)devolucionController).ControllerContext = s0; ((ControllerBase)devolucionController).TempData = (TempDataDictionary)null; ((ControllerBase)devolucionController).ValidateRequest = false; ((ControllerBase)devolucionController).ValueProvider = (IValueProvider)null; ((ControllerBase)devolucionController).ViewData = (ViewDataDictionary)null; disposables.Add((IDisposable)devolucionController); jsonResult = this.InsertDevolucionTest(devolucionController, (tbDevolucionDetalle)null); disposables.Dispose(); } }
public ActionResult BuscarCodigoProductoTest( [PexAssumeUnderTest] DevolucionController target, int CodFactura, string CodProducto ) { ActionResult result = target.BuscarCodigoProducto(CodFactura, CodProducto); return(result); // TODO: agregar aserciones a método DevolucionControllerTest.BuscarCodigoProductoTest(DevolucionController, Int32, String) }
public JsonResult AnularDevolucionTest( [PexAssumeUnderTest] DevolucionController target, int CodDevolucion, bool Estado ) { JsonResult result = target.AnularDevolucion(CodDevolucion, Estado); return(result); // TODO: agregar aserciones a método DevolucionControllerTest.AnularDevolucionTest(DevolucionController, Int32, Boolean) }
public static DataTable GetIVA(int icompany, int ifather, int ifamily) { try { return(DevolucionController.ObtieneCatalogo(icompany, ifather, ifamily)); } catch { return(null); } }
public void CreateNotaCreditoTest0140702() { using (PexDisposableContext disposables = PexDisposableContext.Create()) { RouteData routeData; DevolucionController devolucionController; ActionResult actionResult; routeData = new RouteData((RouteBase)null, (IRouteHandler)null); ControllerContext s0 = new ControllerContext(); s0.Controller = (ControllerBase)null; s0.HttpContext = (HttpContextBase)null; RequestContext s1 = new RequestContext(); s1.HttpContext = (HttpContextBase)null; s1.RouteData = routeData; s0.RequestContext = s1; s0.RouteData = (RouteData)null; devolucionController = new DevolucionController(); ((Controller)devolucionController).Resolver = (IDependencyResolver)null; ((Controller)devolucionController).ActionInvoker = (IActionInvoker)null; ((Controller)devolucionController).TempDataProvider = (ITempDataProvider)null; ((Controller)devolucionController).Url = (UrlHelper)null; ((Controller)devolucionController).ViewEngineCollection = (ViewEngineCollection)null; ((ControllerBase)devolucionController).ControllerContext = s0; ((ControllerBase)devolucionController).TempData = (TempDataDictionary)null; ((ControllerBase)devolucionController).ValidateRequest = false; ((ControllerBase)devolucionController).ValueProvider = (IValueProvider)null; ((ControllerBase)devolucionController).ViewData = (ViewDataDictionary)null; disposables.Add((IDisposable)devolucionController); actionResult = this.CreateNotaCreditoTest01(devolucionController, (tbNotaCredito)null); disposables.Dispose(); Assert.IsNotNull((object)devolucionController); Assert.IsNotNull(((Controller)devolucionController).AsyncManager); Assert.IsNotNull (((Controller)devolucionController).AsyncManager.OutstandingOperations); Assert.IsNotNull(((Controller)devolucionController).AsyncManager.Parameters); Assert.AreEqual <int> (45000, ((Controller)devolucionController).AsyncManager.Timeout); Assert.IsNull(((Controller)devolucionController).Url); Assert.IsNotNull(((ControllerBase)devolucionController).ControllerContext); Assert.IsNull (((ControllerBase)devolucionController).ControllerContext.Controller); Assert.AreEqual <bool> (false, ((ControllerBase)devolucionController).ValidateRequest); } }
public void CreateNotaCreditoTest013502() { using (PexDisposableContext disposables = PexDisposableContext.Create()) { ViewEngineCollection viewEngineCollection; DevolucionController devolucionController; ActionResult actionResult; IViewEngine[] iViewEngines = new IViewEngine[0]; viewEngineCollection = new ViewEngineCollection((IList <IViewEngine>)iViewEngines); devolucionController = new DevolucionController(); ((Controller)devolucionController).Resolver = (IDependencyResolver)null; ((Controller)devolucionController).ActionInvoker = (IActionInvoker)null; ((Controller)devolucionController).TempDataProvider = (ITempDataProvider)null; ((Controller)devolucionController).Url = (UrlHelper)null; ((Controller)devolucionController).ViewEngineCollection = viewEngineCollection; ((ControllerBase)devolucionController).ControllerContext = (ControllerContext)null; ((ControllerBase)devolucionController).TempData = (TempDataDictionary)null; ((ControllerBase)devolucionController).ValidateRequest = false; ((ControllerBase)devolucionController).ValueProvider = (IValueProvider)null; ((ControllerBase)devolucionController).ViewData = (ViewDataDictionary)null; disposables.Add((IDisposable)devolucionController); actionResult = this.CreateNotaCreditoTest01(devolucionController, (tbNotaCredito)null); disposables.Dispose(); Assert.IsNotNull((object)devolucionController); Assert.IsNotNull(((Controller)devolucionController).AsyncManager); Assert.IsNotNull (((Controller)devolucionController).AsyncManager.OutstandingOperations); Assert.IsNotNull(((Controller)devolucionController).AsyncManager.Parameters); Assert.AreEqual <int> (45000, ((Controller)devolucionController).AsyncManager.Timeout); Assert.IsNull(((Controller)devolucionController).Url); Assert.IsNull(((ControllerBase)devolucionController).ControllerContext); Assert.AreEqual <bool> (false, ((ControllerBase)devolucionController).ValidateRequest); } }
public void FiltrarModalProductoTest674() { using (PexDisposableContext disposables = PexDisposableContext.Create()) { DevolucionController devolucionController; JsonResult jsonResult; devolucionController = new DevolucionController(); ((Controller)devolucionController).Resolver = (IDependencyResolver)null; ((Controller)devolucionController).ActionInvoker = (IActionInvoker)null; ((Controller)devolucionController).TempDataProvider = (ITempDataProvider)null; ((Controller)devolucionController).Url = (UrlHelper)null; ((Controller)devolucionController).ViewEngineCollection = (ViewEngineCollection)null; ((ControllerBase)devolucionController).ControllerContext = (ControllerContext)null; ((ControllerBase)devolucionController).TempData = (TempDataDictionary)null; ((ControllerBase)devolucionController).ValidateRequest = false; ((ControllerBase)devolucionController).ValueProvider = (IValueProvider)null; ((ControllerBase)devolucionController).ViewData = (ViewDataDictionary)null; disposables.Add((IDisposable)devolucionController); jsonResult = this.FiltrarModalProductoTest(devolucionController, 0); disposables.Dispose(); } }
public static DataTable GetCustomerPeriod(int icompany, int ifather, int ifamily) { return(DevolucionController.ObtieneCatalogo(icompany, ifather, ifamily)); }
public static DataTable GetProviderStatus(int icompany, int ifather, int ifamily) { return(DevolucionController.ObtieneCatalogo(icompany, ifather, ifamily)); }
public static DataTable GetAddresType(int icompany, int ifather, int ifamily) { return(DevolucionController.ObtieneCatalogo(icompany, ifather, ifamily)); }