Exemple #1
0
        public ActionResult EditTest([PexAssumeUnderTest] TipoIdentificacionController target, byte?id)
        {
            ActionResult result = target.Edit(id);

            return(result);
            // TODO: agregar aserciones a método TipoIdentificacionControllerTest.EditTest(TipoIdentificacionController, Nullable`1<Byte>)
        }
Exemple #2
0
        public ActionResult DeleteConfirmedTest([PexAssumeUnderTest] TipoIdentificacionController target, byte id)
        {
            ActionResult result = target.DeleteConfirmed(id);

            return(result);
            // TODO: agregar aserciones a método TipoIdentificacionControllerTest.DeleteConfirmedTest(TipoIdentificacionController, Byte)
        }
Exemple #3
0
        public ActionResult CreateTest([PexAssumeUnderTest] TipoIdentificacionController target)
        {
            ActionResult result = target.Create();

            return(result);
            // TODO: agregar aserciones a método TipoIdentificacionControllerTest.CreateTest(TipoIdentificacionController)
        }
Exemple #4
0
        public TipoIdentificacionController ConstructorTest()
        {
            TipoIdentificacionController target = new TipoIdentificacionController();

            return(target);
            // TODO: agregar aserciones a método TipoIdentificacionControllerTest.ConstructorTest()
        }
Exemple #5
0
        public ActionResult EditTest01(
            [PexAssumeUnderTest] TipoIdentificacionController target,
            tbTipoIdentificacion tbTipoIdentificacion
            )
        {
            ActionResult result = target.Edit(tbTipoIdentificacion);

            return(result);
            // TODO: agregar aserciones a método TipoIdentificacionControllerTest.EditTest01(TipoIdentificacionController, tbTipoIdentificacion)
        }
 public void TipoIdentificacion_Create()
 {
     using (PexDisposableContext disposables = PexDisposableContext.Create())
     {
         TempDataDictionary           tempDataDictionary;
         TipoIdentificacionController tipoIdentificacionController;
         ActionResult actionResult;
         tempDataDictionary           = new TempDataDictionary();
         tipoIdentificacionController = new TipoIdentificacionController();
         ((Controller)tipoIdentificacionController).Resolver =
             (IDependencyResolver)null;
         ((Controller)tipoIdentificacionController).ActionInvoker =
             (IActionInvoker)null;
         ((Controller)tipoIdentificacionController).TempDataProvider =
             (ITempDataProvider)null;
         ((Controller)tipoIdentificacionController).Url = (UrlHelper)null;
         ((Controller)tipoIdentificacionController).ViewEngineCollection =
             (ViewEngineCollection)null;
         ((ControllerBase)tipoIdentificacionController).ControllerContext =
             (ControllerContext)null;
         ((ControllerBase)tipoIdentificacionController).TempData        = tempDataDictionary;
         ((ControllerBase)tipoIdentificacionController).ValidateRequest = false;
         ((ControllerBase)tipoIdentificacionController).ValueProvider   =
             (IValueProvider)null;
         ((ControllerBase)tipoIdentificacionController).ViewData =
             (ViewDataDictionary)null;
         disposables.Add((IDisposable)tipoIdentificacionController);
         actionResult =
             this.CreateTest01(tipoIdentificacionController, (tbTipoIdentificacion)null);
         disposables.Dispose();
         Assert.IsNotNull((object)tipoIdentificacionController);
         Assert.IsNotNull(((Controller)tipoIdentificacionController).AsyncManager);
         Assert.IsNotNull(((Controller)tipoIdentificacionController).AsyncManager
                          .OutstandingOperations);
         Assert.IsNotNull
             (((Controller)tipoIdentificacionController).AsyncManager.Parameters);
         Assert.AreEqual <int>
             (45000, ((Controller)tipoIdentificacionController).AsyncManager.Timeout);
         Assert.IsNull(((Controller)tipoIdentificacionController).Url);
         Assert.IsNull
             (((ControllerBase)tipoIdentificacionController).ControllerContext);
         Assert.AreEqual <bool>
             (false, ((ControllerBase)tipoIdentificacionController).ValidateRequest);
     }
 }