public void EditTest01ThrowsNullReferenceException451() { using (PexDisposableContext disposables = PexDisposableContext.Create()) { ListaPreciosController listaPreciosController; ActionResult actionResult; listaPreciosController = new ListaPreciosController(); ((Controller)listaPreciosController).Resolver = (IDependencyResolver)null; ((Controller)listaPreciosController).ActionInvoker = (IActionInvoker)null; ((Controller)listaPreciosController).TempDataProvider = (ITempDataProvider)null; ((Controller)listaPreciosController).Url = (UrlHelper)null; ((Controller)listaPreciosController).ViewEngineCollection = (ViewEngineCollection)null; ((ControllerBase)listaPreciosController).ControllerContext = (ControllerContext)null; ((ControllerBase)listaPreciosController).TempData = (TempDataDictionary)null; ((ControllerBase)listaPreciosController).ValidateRequest = false; ((ControllerBase)listaPreciosController).ValueProvider = (IValueProvider)null; ((ControllerBase)listaPreciosController).ViewData = (ViewDataDictionary)null; disposables.Add((IDisposable)listaPreciosController); actionResult = this.EditTest01(listaPreciosController, (tbListaPrecio)null); disposables.Dispose(); } }
public ActionResult DeleteConfirmedTest([PexAssumeUnderTest] ListaPreciosController target, int id) { ActionResult result = target.DeleteConfirmed(id); return(result); // TODO: agregar aserciones a método ListaPreciosControllerTest.DeleteConfirmedTest(ListaPreciosController, Int32) }
public ActionResult EditTest([PexAssumeUnderTest] ListaPreciosController target, int?id) { ActionResult result = target.Edit(id); return(result); // TODO: agregar aserciones a método ListaPreciosControllerTest.EditTest(ListaPreciosController, Nullable`1<Int32>) }
public ListaPreciosController ConstructorTest() { ListaPreciosController target = new ListaPreciosController(); return(target); // TODO: agregar aserciones a método ListaPreciosControllerTest.ConstructorTest() }
public ActionResult CreateTest01([PexAssumeUnderTest] ListaPreciosController target, tbListaPrecio tbListaPrecio) { ActionResult result = target.Create(tbListaPrecio); return(result); // TODO: agregar aserciones a método ListaPreciosControllerTest.CreateTest01(ListaPreciosController, tbListaPrecio) }
public void SaveListaPrecioDetalleTestThrowsNullReferenceException893() { using (PexDisposableContext disposables = PexDisposableContext.Create()) { ListaPreciosController listaPreciosController; 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; listaPreciosController = new ListaPreciosController(); ((Controller)listaPreciosController).Resolver = (IDependencyResolver)null; ((Controller)listaPreciosController).ActionInvoker = (IActionInvoker)null; ((Controller)listaPreciosController).TempDataProvider = (ITempDataProvider)null; ((Controller)listaPreciosController).Url = (UrlHelper)null; ((Controller)listaPreciosController).ViewEngineCollection = (ViewEngineCollection)null; ((ControllerBase)listaPreciosController).ControllerContext = s0; ((ControllerBase)listaPreciosController).TempData = (TempDataDictionary)null; ((ControllerBase)listaPreciosController).ValidateRequest = false; ((ControllerBase)listaPreciosController).ValueProvider = (IValueProvider)null; ((ControllerBase)listaPreciosController).ViewData = (ViewDataDictionary)null; disposables.Add((IDisposable)listaPreciosController); jsonResult = this.SaveListaPrecioDetalleTest (listaPreciosController, (tbListadoPrecioDetalle)null); disposables.Dispose(); } }
public JsonResult SaveListaPrecioDetalleTest([PexAssumeUnderTest] ListaPreciosController target, tbListadoPrecioDetalle ListaDetalle) { JsonResult result = target.SaveListaPrecioDetalle(ListaDetalle); return(result); // TODO: agregar aserciones a método ListaPreciosControllerTest.SaveListaPrecioDetalleTest(ListaPreciosController, tbListadoPrecioDetalle) }
public JsonResult SaveFacturaDetalleEditTest([PexAssumeUnderTest] ListaPreciosController target, tbFacturaDetalle FacturaDetalleEdit) { JsonResult result = target.SaveFacturaDetalleEdit(FacturaDetalleEdit); return(result); // TODO: agregar aserciones a método ListaPreciosControllerTest.SaveFacturaDetalleEditTest(ListaPreciosController, tbFacturaDetalle) }
public ActionResult IndexTest([PexAssumeUnderTest] ListaPreciosController target) { ActionResult result = target.Index(); return(result); // TODO: agregar aserciones a método ListaPreciosControllerTest.IndexTest(ListaPreciosController) }
public ActionResult GetListadoDetalleEditTest([PexAssumeUnderTest] ListaPreciosController target, int listp_Id) { ActionResult result = target.GetListadoDetalleEdit(listp_Id); return(result); // TODO: agregar aserciones a método ListaPreciosControllerTest.GetListadoDetalleEditTest(ListaPreciosController, Int32) }
public void EditTest01ThrowsNotImplementedException237() { using (PexDisposableContext disposables = PexDisposableContext.Create()) { ListaPreciosController listaPreciosController; ActionResult actionResult; ControllerContext s0 = new ControllerContext(); s0.Controller = (ControllerBase)null; s0.HttpContext = (HttpContextBase)null; s0.RequestContext = (RequestContext)null; s0.RouteData = (RouteData)null; listaPreciosController = new ListaPreciosController(); ((Controller)listaPreciosController).Resolver = (IDependencyResolver)null; ((Controller)listaPreciosController).ActionInvoker = (IActionInvoker)null; ((Controller)listaPreciosController).TempDataProvider = (ITempDataProvider)null; ((Controller)listaPreciosController).Url = (UrlHelper)null; ((Controller)listaPreciosController).ViewEngineCollection = (ViewEngineCollection)null; ((ControllerBase)listaPreciosController).ControllerContext = s0; ((ControllerBase)listaPreciosController).TempData = (TempDataDictionary)null; ((ControllerBase)listaPreciosController).ValidateRequest = false; ((ControllerBase)listaPreciosController).ValueProvider = (IValueProvider)null; ((ControllerBase)listaPreciosController).ViewData = (ViewDataDictionary)null; disposables.Add((IDisposable)listaPreciosController); actionResult = this.EditTest01(listaPreciosController, (tbListaPrecio)null); disposables.Dispose(); } }
public JsonResult getListadoPrecioDetalleTest([PexAssumeUnderTest] ListaPreciosController target, int lispd_Id) { JsonResult result = target.getListadoPrecioDetalle(lispd_Id); return(result); // TODO: agregar aserciones a método ListaPreciosControllerTest.getListadoPrecioDetalleTest(ListaPreciosController, Int32) }
public ActionResult UpdateListadoPrecioDetalleTest( [PexAssumeUnderTest] ListaPreciosController target, tbListadoPrecioDetalle EditListadoPrecioDetalle ) { ActionResult result = target.UpdateListadoPrecioDetalle(EditListadoPrecioDetalle); return(result); // TODO: agregar aserciones a método ListaPreciosControllerTest.UpdateListadoPrecioDetalleTest(ListaPreciosController, tbListadoPrecioDetalle) }
public JsonResult ActivarListaPrecioTest( [PexAssumeUnderTest] ListaPreciosController target, int CodLp, bool Activo ) { JsonResult result = target.ActivarListaPrecio(CodLp, Activo); return(result); // TODO: agregar aserciones a método ListaPreciosControllerTest.ActivarListaPrecioTest(ListaPreciosController, Int32, Boolean) }
public void UpdateListadoPrecioDetalleTest39701() { using (PexDisposableContext disposables = PexDisposableContext.Create()) { ListaPreciosController listaPreciosController; ActionResult actionResult; 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; listaPreciosController = new ListaPreciosController(); ((Controller)listaPreciosController).Resolver = (IDependencyResolver)null; ((Controller)listaPreciosController).ActionInvoker = (IActionInvoker)null; ((Controller)listaPreciosController).TempDataProvider = (ITempDataProvider)null; ((Controller)listaPreciosController).Url = (UrlHelper)null; ((Controller)listaPreciosController).ViewEngineCollection = (ViewEngineCollection)null; ((ControllerBase)listaPreciosController).ControllerContext = s0; ((ControllerBase)listaPreciosController).TempData = (TempDataDictionary)null; ((ControllerBase)listaPreciosController).ValidateRequest = false; ((ControllerBase)listaPreciosController).ValueProvider = (IValueProvider)null; ((ControllerBase)listaPreciosController).ViewData = (ViewDataDictionary)null; disposables.Add((IDisposable)listaPreciosController); actionResult = this.UpdateListadoPrecioDetalleTest (listaPreciosController, (tbListadoPrecioDetalle)null); disposables.Dispose(); Assert.IsNotNull((object)listaPreciosController); Assert.IsNotNull(((Controller)listaPreciosController).AsyncManager); Assert.IsNotNull (((Controller)listaPreciosController).AsyncManager.OutstandingOperations); Assert.IsNotNull(((Controller)listaPreciosController).AsyncManager.Parameters); Assert.AreEqual <int> (45000, ((Controller)listaPreciosController).AsyncManager.Timeout); Assert.IsNull(((Controller)listaPreciosController).Url); Assert.IsNotNull(((ControllerBase)listaPreciosController).ControllerContext); Assert.IsNull (((ControllerBase)listaPreciosController).ControllerContext.Controller); Assert.AreEqual <bool> (false, ((ControllerBase)listaPreciosController).ValidateRequest); } }
public void UpdateListadoPrecioDetalleTest9402() { using (PexDisposableContext disposables = PexDisposableContext.Create()) { ViewEngineCollection viewEngineCollection; ListaPreciosController listaPreciosController; ActionResult actionResult; IViewEngine[] iViewEngines = new IViewEngine[0]; viewEngineCollection = new ViewEngineCollection((IList <IViewEngine>)iViewEngines); listaPreciosController = new ListaPreciosController(); ((Controller)listaPreciosController).Resolver = (IDependencyResolver)null; ((Controller)listaPreciosController).ActionInvoker = (IActionInvoker)null; ((Controller)listaPreciosController).TempDataProvider = (ITempDataProvider)null; ((Controller)listaPreciosController).Url = (UrlHelper)null; ((Controller)listaPreciosController).ViewEngineCollection = viewEngineCollection; ((ControllerBase)listaPreciosController).ControllerContext = (ControllerContext)null; ((ControllerBase)listaPreciosController).TempData = (TempDataDictionary)null; ((ControllerBase)listaPreciosController).ValidateRequest = false; ((ControllerBase)listaPreciosController).ValueProvider = (IValueProvider)null; ((ControllerBase)listaPreciosController).ViewData = (ViewDataDictionary)null; disposables.Add((IDisposable)listaPreciosController); actionResult = this.UpdateListadoPrecioDetalleTest (listaPreciosController, (tbListadoPrecioDetalle)null); disposables.Dispose(); Assert.IsNotNull((object)listaPreciosController); Assert.IsNotNull(((Controller)listaPreciosController).AsyncManager); Assert.IsNotNull (((Controller)listaPreciosController).AsyncManager.OutstandingOperations); Assert.IsNotNull(((Controller)listaPreciosController).AsyncManager.Parameters); Assert.AreEqual <int> (45000, ((Controller)listaPreciosController).AsyncManager.Timeout); Assert.IsNull(((Controller)listaPreciosController).Url); Assert.IsNull(((ControllerBase)listaPreciosController).ControllerContext); Assert.AreEqual <bool> (false, ((ControllerBase)listaPreciosController).ValidateRequest); } }
public void EditTest450() { using (PexDisposableContext disposables = PexDisposableContext.Create()) { ListaPreciosController listaPreciosController; ActionResult actionResult; listaPreciosController = new ListaPreciosController(); ((Controller)listaPreciosController).Resolver = (IDependencyResolver)null; ((Controller)listaPreciosController).ActionInvoker = (IActionInvoker)null; ((Controller)listaPreciosController).TempDataProvider = (ITempDataProvider)null; ((Controller)listaPreciosController).Url = (UrlHelper)null; ((Controller)listaPreciosController).ViewEngineCollection = (ViewEngineCollection)null; ((ControllerBase)listaPreciosController).ControllerContext = (ControllerContext)null; ((ControllerBase)listaPreciosController).TempData = (TempDataDictionary)null; ((ControllerBase)listaPreciosController).ValidateRequest = false; ((ControllerBase)listaPreciosController).ValueProvider = (IValueProvider)null; ((ControllerBase)listaPreciosController).ViewData = (ViewDataDictionary)null; disposables.Add((IDisposable)listaPreciosController); actionResult = this.EditTest(listaPreciosController, default(int?)); disposables.Dispose(); Assert.IsNotNull((object)listaPreciosController); Assert.IsNotNull(((Controller)listaPreciosController).AsyncManager); Assert.IsNotNull (((Controller)listaPreciosController).AsyncManager.OutstandingOperations); Assert.IsNotNull(((Controller)listaPreciosController).AsyncManager.Parameters); Assert.AreEqual <int> (45000, ((Controller)listaPreciosController).AsyncManager.Timeout); Assert.IsNull(((Controller)listaPreciosController).Url); Assert.IsNull(((ControllerBase)listaPreciosController).ControllerContext); Assert.AreEqual <bool> (false, ((ControllerBase)listaPreciosController).ValidateRequest); } }