mvccontrib 2.0.95.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/Dependencies/Microsoft.Web.Mvc.dll +0 -0
- data/lib/Dependencies/Rhino.Mocks.dll +0 -0
- data/lib/InputBuilderTemplates/Array.Master +25 -0
- data/lib/InputBuilderTemplates/Array.aspx +173 -0
- data/lib/InputBuilderTemplates/ArrayAddButton.aspx +3 -0
- data/lib/InputBuilderTemplates/ArrayRemoveButton.aspx +3 -0
- data/lib/InputBuilderTemplates/Boolean.aspx +6 -0
- data/lib/InputBuilderTemplates/DateTime.aspx +15 -0
- data/lib/InputBuilderTemplates/Display.Master +9 -0
- data/lib/InputBuilderTemplates/DisplayInline.aspx +6 -0
- data/lib/InputBuilderTemplates/DisplayLabel.aspx +7 -0
- data/lib/InputBuilderTemplates/DisplayParagraph.aspx +4 -0
- data/lib/InputBuilderTemplates/Enum.aspx +8 -0
- data/lib/InputBuilderTemplates/Field.Master +22 -0
- data/lib/InputBuilderTemplates/Form.aspx +8 -0
- data/lib/InputBuilderTemplates/Guid.aspx +6 -0
- data/lib/InputBuilderTemplates/HiddenField.Master +4 -0
- data/lib/InputBuilderTemplates/Int32.aspx +6 -0
- data/lib/InputBuilderTemplates/MultilineText.aspx +3 -0
- data/lib/InputBuilderTemplates/RadioButtons.aspx +14 -0
- data/lib/InputBuilderTemplates/ReadOnly.aspx +8 -0
- data/lib/InputBuilderTemplates/Row.Master +7 -0
- data/lib/InputBuilderTemplates/String.aspx +6 -0
- data/lib/InputBuilderTemplates/Submit.aspx +6 -0
- data/lib/License.txt +71 -0
- data/lib/MvcContrib.FluentHtml.dll +0 -0
- data/lib/MvcContrib.FluentHtml.xml +1291 -0
- data/lib/MvcContrib.TestHelper.XML +1178 -0
- data/lib/MvcContrib.TestHelper.dll +0 -0
- data/lib/MvcContrib.WatiN.dll +0 -0
- data/lib/MvcContrib.XML +2491 -0
- data/lib/MvcContrib.dll +0 -0
- data/lib/T4MVC/T4MVC.settings.t4 +96 -0
- data/lib/T4MVC/T4MVC.tt +1418 -0
- data/lib/T4MVC/readme.txt +224 -0
- data/lib/help/mvccontrib/MvcContrib.ActionResults/ExpressionToRouteValueConverter`1.htm +199 -0
- data/lib/help/mvccontrib/MvcContrib.ActionResults/IControllerExpressionContainer.htm +133 -0
- data/lib/help/mvccontrib/MvcContrib.ActionResults/PermanentRedirectResult.htm +189 -0
- data/lib/help/mvccontrib/MvcContrib.ActionResults/PermanentRedirectToActionResult.htm +145 -0
- data/lib/help/mvccontrib/MvcContrib.ActionResults/RedirectToRouteResult`1.htm +145 -0
- data/lib/help/mvccontrib/MvcContrib.ActionResults/XmlResult.htm +135 -0
- data/lib/help/mvccontrib/MvcContrib.ActionResults/index.htm +127 -0
- data/lib/help/mvccontrib/MvcContrib.Attributes/AbstractParameterBinderAttribute.htm +208 -0
- data/lib/help/mvccontrib/MvcContrib.Attributes/DerivedTypeBinderAwareAttribute.htm +137 -0
- data/lib/help/mvccontrib/MvcContrib.Attributes/DeserializeAttribute.htm +139 -0
- data/lib/help/mvccontrib/MvcContrib.Attributes/RequestStore.htm +272 -0
- data/lib/help/mvccontrib/MvcContrib.Attributes/index.htm +118 -0
- data/lib/help/mvccontrib/MvcContrib.Binders/DerivedTypeModelBinder.htm +126 -0
- data/lib/help/mvccontrib/MvcContrib.Binders/DerivedTypeModelBinderCache.htm +168 -0
- data/lib/help/mvccontrib/MvcContrib.Binders/IPropertyNameProvider.htm +136 -0
- data/lib/help/mvccontrib/MvcContrib.Binders/ITypeStampOperator.htm +136 -0
- data/lib/help/mvccontrib/MvcContrib.Binders/SubControllerBinder.htm +146 -0
- data/lib/help/mvccontrib/MvcContrib.Binders/TypeStampOperator.htm +139 -0
- data/lib/help/mvccontrib/MvcContrib.Binders/index.htm +127 -0
- data/lib/help/mvccontrib/MvcContrib.ControllerFactories/IoCControllerFactory.htm +134 -0
- data/lib/help/mvccontrib/MvcContrib.ControllerFactories/index.htm +109 -0
- data/lib/help/mvccontrib/MvcContrib.EnumerableExtensions/EnumerableExtensions.htm +176 -0
- data/lib/help/mvccontrib/MvcContrib.EnumerableExtensions/index.htm +109 -0
- data/lib/help/mvccontrib/MvcContrib.Filters/DebugAttribute.htm +172 -0
- data/lib/help/mvccontrib/MvcContrib.Filters/LayoutAttribute.htm +182 -0
- data/lib/help/mvccontrib/MvcContrib.Filters/ModelStateToTempDataAttribute.htm +169 -0
- data/lib/help/mvccontrib/MvcContrib.Filters/ParamType.htm +173 -0
- data/lib/help/mvccontrib/MvcContrib.Filters/PassParametersDuringRedirectAttribute.htm +170 -0
- data/lib/help/mvccontrib/MvcContrib.Filters/PreconditionFilter.htm +154 -0
- data/lib/help/mvccontrib/MvcContrib.Filters/PredicatePreconditionFilter.htm +154 -0
- data/lib/help/mvccontrib/MvcContrib.Filters/RegExPreconditionFilter.htm +154 -0
- data/lib/help/mvccontrib/MvcContrib.Filters/RescueAttribute.htm +199 -0
- data/lib/help/mvccontrib/MvcContrib.Filters/SubControllerActionToViewDataAttribute.htm +152 -0
- data/lib/help/mvccontrib/MvcContrib.Filters/TempDataToViewDataAttribute.htm +152 -0
- data/lib/help/mvccontrib/MvcContrib.Filters/UtilityHtmlExtensions.htm +148 -0
- data/lib/help/mvccontrib/MvcContrib.Filters/index.htm +142 -0
- data/lib/help/mvccontrib/MvcContrib.FluentController/AbstractFluentController.htm +269 -0
- data/lib/help/mvccontrib/MvcContrib.FluentController/AbstractRestfulFluentController.htm +305 -0
- data/lib/help/mvccontrib/MvcContrib.FluentController/FluentControllerAction`1.htm +203 -0
- data/lib/help/mvccontrib/MvcContrib.FluentController/index.htm +115 -0
- data/lib/help/mvccontrib/MvcContrib.Interfaces/IDependencyResolver.htm +150 -0
- data/lib/help/mvccontrib/MvcContrib.Interfaces/index.htm +109 -0
- data/lib/help/mvccontrib/MvcContrib.Pagination/CustomPagination`1.htm +168 -0
- data/lib/help/mvccontrib/MvcContrib.Pagination/IPagination.htm +168 -0
- data/lib/help/mvccontrib/MvcContrib.Pagination/IPagination`1.htm +123 -0
- data/lib/help/mvccontrib/MvcContrib.Pagination/LazyPagination`1.htm +191 -0
- data/lib/help/mvccontrib/MvcContrib.Pagination/PaginationHelper.htm +163 -0
- data/lib/help/mvccontrib/MvcContrib.Pagination/index.htm +124 -0
- data/lib/help/mvccontrib/MvcContrib.PortableAreas/ApplicationBus.htm +524 -0
- data/lib/help/mvccontrib/MvcContrib.PortableAreas/AssemblyResourceManager.htm +178 -0
- data/lib/help/mvccontrib/MvcContrib.PortableAreas/EmbeddedResourceController.htm +237 -0
- data/lib/help/mvccontrib/MvcContrib.PortableAreas/IApplicationBus.htm +160 -0
- data/lib/help/mvccontrib/MvcContrib.PortableAreas/ICommandMessage`1.htm +149 -0
- data/lib/help/mvccontrib/MvcContrib.PortableAreas/ICommandResult.htm +149 -0
- data/lib/help/mvccontrib/MvcContrib.PortableAreas/IEventMessage.htm +139 -0
- data/lib/help/mvccontrib/MvcContrib.PortableAreas/IMessageHandler.htm +160 -0
- data/lib/help/mvccontrib/MvcContrib.PortableAreas/IMessageHandlerFactory.htm +152 -0
- data/lib/help/mvccontrib/MvcContrib.PortableAreas/IMessageHandler`1.htm +152 -0
- data/lib/help/mvccontrib/MvcContrib.PortableAreas/IQueryMessage`1.htm +149 -0
- data/lib/help/mvccontrib/MvcContrib.PortableAreas/MessageHandlerFactory.htm +139 -0
- data/lib/help/mvccontrib/MvcContrib.PortableAreas/MessageHandler`1.htm +139 -0
- data/lib/help/mvccontrib/MvcContrib.PortableAreas/PortableAreaRegistration.htm +178 -0
- data/lib/help/mvccontrib/MvcContrib.PortableAreas/index.htm +151 -0
- data/lib/help/mvccontrib/MvcContrib.Routing/CompressResponseAttribute.htm +148 -0
- data/lib/help/mvccontrib/MvcContrib.Routing/DebugHttpHandler.htm +171 -0
- data/lib/help/mvccontrib/MvcContrib.Routing/DebugRoute.htm +211 -0
- data/lib/help/mvccontrib/MvcContrib.Routing/DebugRouteHandler.htm +148 -0
- data/lib/help/mvccontrib/MvcContrib.Routing/MvcRoute.htm +256 -0
- data/lib/help/mvccontrib/MvcContrib.Routing/RegexRoute.htm +183 -0
- data/lib/help/mvccontrib/MvcContrib.Routing/RouteAttributeUtility.htm +162 -0
- data/lib/help/mvccontrib/MvcContrib.Routing/RouteDebugger.htm +152 -0
- data/lib/help/mvccontrib/MvcContrib.Routing/UrlRouteAttribute.htm +163 -0
- data/lib/help/mvccontrib/MvcContrib.Routing/UrlRouteParameterConstraintAttribute.htm +156 -0
- data/lib/help/mvccontrib/MvcContrib.Routing/UrlRouteParameterDefaultAttribute.htm +156 -0
- data/lib/help/mvccontrib/MvcContrib.Routing/index.htm +139 -0
- data/lib/help/mvccontrib/MvcContrib.Services/DependencyResolver.htm +144 -0
- data/lib/help/mvccontrib/MvcContrib.Services/EmailMetadata.htm +165 -0
- data/lib/help/mvccontrib/MvcContrib.Services/EmailTemplateService.htm +125 -0
- data/lib/help/mvccontrib/MvcContrib.Services/IEmailTemplateService.htm +147 -0
- data/lib/help/mvccontrib/MvcContrib.Services/IViewStreamReader.htm +136 -0
- data/lib/help/mvccontrib/MvcContrib.Services/index.htm +124 -0
- data/lib/help/mvccontrib/MvcContrib.SimplyRestful/IRestfulActionResolver.htm +136 -0
- data/lib/help/mvccontrib/MvcContrib.SimplyRestful/RestfulAction.htm +238 -0
- data/lib/help/mvccontrib/MvcContrib.SimplyRestful/RestfulActionResolver.htm +123 -0
- data/lib/help/mvccontrib/MvcContrib.SimplyRestful/RestfulGetAction.htm +194 -0
- data/lib/help/mvccontrib/MvcContrib.SimplyRestful/RestfulPostAction.htm +172 -0
- data/lib/help/mvccontrib/MvcContrib.SimplyRestful/SimplyRestfulRouteHandler.htm +185 -0
- data/lib/help/mvccontrib/MvcContrib.SimplyRestful/index.htm +127 -0
- data/lib/help/mvccontrib/MvcContrib.Sorting/SortDirection.htm +153 -0
- data/lib/help/mvccontrib/MvcContrib.Sorting/SortExtensions.htm +150 -0
- data/lib/help/mvccontrib/MvcContrib.Sorting/index.htm +112 -0
- data/lib/help/mvccontrib/MvcContrib.UI.ASPXViewEngine/AutoTypeViewPage`1.htm +973 -0
- data/lib/help/mvccontrib/MvcContrib.UI.ASPXViewEngine/AutoTypeViewUserControl`1.htm +354 -0
- data/lib/help/mvccontrib/MvcContrib.UI.ASPXViewEngine/index.htm +112 -0
- data/lib/help/mvccontrib/MvcContrib.UI.DataList/DataListExtensions.htm +141 -0
- data/lib/help/mvccontrib/MvcContrib.UI.DataList/DataList`1.htm +243 -0
- data/lib/help/mvccontrib/MvcContrib.UI.DataList/index.htm +112 -0
- data/lib/help/mvccontrib/MvcContrib.UI.Grid.ActionSyntax/ActionSyntaxExtensions.htm +209 -0
- data/lib/help/mvccontrib/MvcContrib.UI.Grid.ActionSyntax/index.htm +109 -0
- data/lib/help/mvccontrib/MvcContrib.UI.Grid.Syntax/IGridWithOptions`1.htm +162 -0
- data/lib/help/mvccontrib/MvcContrib.UI.Grid.Syntax/IGrid`1.htm +132 -0
- data/lib/help/mvccontrib/MvcContrib.UI.Grid.Syntax/index.htm +112 -0
- data/lib/help/mvccontrib/MvcContrib.UI.Grid/AutoColumnGridModel`1.htm +160 -0
- data/lib/help/mvccontrib/MvcContrib.UI.Grid/ColumnBuilder`1.htm +182 -0
- data/lib/help/mvccontrib/MvcContrib.UI.Grid/GridColumn`1.htm +211 -0
- data/lib/help/mvccontrib/MvcContrib.UI.Grid/GridExtensions.htm +292 -0
- data/lib/help/mvccontrib/MvcContrib.UI.Grid/GridModel`1.htm +215 -0
- data/lib/help/mvccontrib/MvcContrib.UI.Grid/GridRenderer`1.htm +147 -0
- data/lib/help/mvccontrib/MvcContrib.UI.Grid/GridRowViewData`1.htm +162 -0
- data/lib/help/mvccontrib/MvcContrib.UI.Grid/GridRow`1.htm +169 -0
- data/lib/help/mvccontrib/MvcContrib.UI.Grid/GridSections`1.htm +147 -0
- data/lib/help/mvccontrib/MvcContrib.UI.Grid/GridSortOptions.htm +162 -0
- data/lib/help/mvccontrib/MvcContrib.UI.Grid/Grid`1.htm +162 -0
- data/lib/help/mvccontrib/MvcContrib.UI.Grid/HtmlTableGridRenderer`1.htm +147 -0
- data/lib/help/mvccontrib/MvcContrib.UI.Grid/IGridColumn`1.htm +240 -0
- data/lib/help/mvccontrib/MvcContrib.UI.Grid/IGridModel`1.htm +182 -0
- data/lib/help/mvccontrib/MvcContrib.UI.Grid/IGridRenderer`1.htm +167 -0
- data/lib/help/mvccontrib/MvcContrib.UI.Grid/IGridSections`1.htm +160 -0
- data/lib/help/mvccontrib/MvcContrib.UI.Grid/RenderingContext.htm +167 -0
- data/lib/help/mvccontrib/MvcContrib.UI.Grid/index.htm +160 -0
- data/lib/help/mvccontrib/MvcContrib.UI.Html/HtmlHelperExtension.htm +166 -0
- data/lib/help/mvccontrib/MvcContrib.UI.Html/HtmlStringExtensions.htm +157 -0
- data/lib/help/mvccontrib/MvcContrib.UI.Html/ModelVisualizerExtension.htm +157 -0
- data/lib/help/mvccontrib/MvcContrib.UI.Html/index.htm +115 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.Attributes/CanDeleteAllAttribute.htm +135 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.Attributes/DisplayOrderAttribute.htm +140 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.Attributes/ExampleAttribute.htm +184 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.Attributes/LabelAttribute.htm +155 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.Attributes/NoAddAttribute.htm +135 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.Attributes/NoDeleteAttribute.htm +135 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.Attributes/PartialViewAttribute.htm +155 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.Attributes/index.htm +127 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.Conventions/DateTimePropertyConvention.htm +129 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.Conventions/DefaultNameConvention.htm +129 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.Conventions/DefaultProperyConvention.htm +198 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.Conventions/EnumPropertyConvention.htm +129 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.Conventions/GuidPropertyConvention.htm +129 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.Conventions/IPropertyViewModelFactory.htm +150 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.Conventions/IPropertyViewModelNameConvention.htm +142 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.Conventions/IRequireViewModelFactory.htm +142 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.Conventions/PropertyInfoExtensions.htm +166 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.Conventions/index.htm +136 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.Helpers/DisplayOrderExtensions.htm +130 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.Helpers/ExpressionHelper.htm +130 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.Helpers/ReflectionHelper.htm +162 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.Helpers/index.htm +115 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.InputSpecification/DefaultTypeViewModelFactoryConvention.htm +142 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.InputSpecification/IInputSpecification`1.htm +139 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.InputSpecification/ITypeViewModelFactory.htm +129 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.InputSpecification/IViewModelFactory.htm +142 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.InputSpecification/InputPropertySpecification.htm +160 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.InputSpecification/InputTypeSpecification`1.htm +154 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.InputSpecification/Input`1.htm +158 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.InputSpecification/RenderInputBuilderException.htm +182 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.InputSpecification/ViewModelFactory`1.htm +174 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.InputSpecification/index.htm +136 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.ViewEngine/AssemblyResourceProvider.htm +212 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.ViewEngine/AssemblyResourceStore.htm +160 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.ViewEngine/AssemblyResourceVirtualFile.htm +152 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.ViewEngine/InputBuilderViewEngine.htm +188 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.ViewEngine/index.htm +118 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.Views/DisplayPartial.htm +167 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.Views/HtmlDisplayExtensions.htm +150 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.Views/HtmlExtensions.htm +214 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.Views/IInputSpecificationExtensions.htm +166 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.Views/ModelType`1.htm +179 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.Views/Partial.htm +255 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.Views/PropertyViewModel.htm +207 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.Views/PropertyViewModel`1.htm +194 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.Views/TypeViewModel.htm +179 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder.Views/index.htm +133 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder/ArrayPropertyConvention.htm +159 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder/ArrayTypeViewModelExtensions.htm +142 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder/DefaultPropertyConventionsFactory.htm +274 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder/DefaultTypeConventionsFactory.htm +274 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder/InputBuilder.htm +181 -0
- data/lib/help/mvccontrib/MvcContrib.UI.InputBuilder/index.htm +121 -0
- data/lib/help/mvccontrib/MvcContrib.UI.MenuBuilder/ActionMenuItem`1.htm +221 -0
- data/lib/help/mvccontrib/MvcContrib.UI.MenuBuilder/AuthorizeAttributeExtensions.htm +144 -0
- data/lib/help/mvccontrib/MvcContrib.UI.MenuBuilder/Menu.htm +375 -0
- data/lib/help/mvccontrib/MvcContrib.UI.MenuBuilder/MenuBuilderHtmlExtensions.htm +149 -0
- data/lib/help/mvccontrib/MvcContrib.UI.MenuBuilder/MenuHelpText.htm +148 -0
- data/lib/help/mvccontrib/MvcContrib.UI.MenuBuilder/MenuItem.htm +362 -0
- data/lib/help/mvccontrib/MvcContrib.UI.MenuBuilder/MenuList.htm +268 -0
- data/lib/help/mvccontrib/MvcContrib.UI.MenuBuilder/MenuTitle.htm +148 -0
- data/lib/help/mvccontrib/MvcContrib.UI.MenuBuilder/OpenAuthorizeAttribute.htm +180 -0
- data/lib/help/mvccontrib/MvcContrib.UI.MenuBuilder/SecureActionMenuItem`1.htm +208 -0
- data/lib/help/mvccontrib/MvcContrib.UI.MenuBuilder/index.htm +136 -0
- data/lib/help/mvccontrib/MvcContrib.UI.Pager/Pager.htm +183 -0
- data/lib/help/mvccontrib/MvcContrib.UI.Pager/PaginationExtensions.htm +156 -0
- data/lib/help/mvccontrib/MvcContrib.UI.Pager/index.htm +112 -0
- data/lib/help/mvccontrib/MvcContrib.UI.ParamBuilder/ExplicitFacadeDictionary`2.htm +119 -0
- data/lib/help/mvccontrib/MvcContrib.UI.ParamBuilder/ParamBuilder.htm +148 -0
- data/lib/help/mvccontrib/MvcContrib.UI.ParamBuilder/ParamNames.htm +135 -0
- data/lib/help/mvccontrib/MvcContrib.UI.ParamBuilder/Params.htm +134 -0
- data/lib/help/mvccontrib/MvcContrib.UI.ParamBuilder/index.htm +118 -0
- data/lib/help/mvccontrib/MvcContrib.UI.ReturnUrl/IReturnUrlManager.htm +136 -0
- data/lib/help/mvccontrib/MvcContrib.UI.ReturnUrl/ReturnUrlManager.htm +144 -0
- data/lib/help/mvccontrib/MvcContrib.UI.ReturnUrl/index.htm +115 -0
- data/lib/help/mvccontrib/MvcContrib.UI/CleanTagBuilder.htm +210 -0
- data/lib/help/mvccontrib/MvcContrib.UI/index.htm +109 -0
- data/lib/help/mvccontrib/MvcContrib.ViewFactories/FileSystemViewSourceLoader.htm +138 -0
- data/lib/help/mvccontrib/MvcContrib.ViewFactories/FileViewSource.htm +134 -0
- data/lib/help/mvccontrib/MvcContrib.ViewFactories/IViewSource.htm +147 -0
- data/lib/help/mvccontrib/MvcContrib.ViewFactories/IViewSourceLoader.htm +167 -0
- data/lib/help/mvccontrib/MvcContrib.ViewFactories/index.htm +121 -0
- data/lib/help/mvccontrib/MvcContrib/Bus.htm +178 -0
- data/lib/help/mvccontrib/MvcContrib/ControllerExtensions.htm +212 -0
- data/lib/help/mvccontrib/MvcContrib/ConversionExtensions.htm +186 -0
- data/lib/help/mvccontrib/MvcContrib/DefaultConvertible.htm +304 -0
- data/lib/help/mvccontrib/MvcContrib/DictionaryExtensions.htm +192 -0
- data/lib/help/mvccontrib/MvcContrib/Hash.htm +216 -0
- data/lib/help/mvccontrib/MvcContrib/Hash`1.htm +261 -0
- data/lib/help/mvccontrib/MvcContrib/HeadResult.htm +168 -0
- data/lib/help/mvccontrib/MvcContrib/HttpContextExtensions.htm +174 -0
- data/lib/help/mvccontrib/MvcContrib/HttpContextProvider.htm +170 -0
- data/lib/help/mvccontrib/MvcContrib/HttpHeaders.htm +193 -0
- data/lib/help/mvccontrib/MvcContrib/IHttpContextProvider.htm +170 -0
- data/lib/help/mvccontrib/MvcContrib/ISubController.htm +178 -0
- data/lib/help/mvccontrib/MvcContrib/ISubController`1.htm +167 -0
- data/lib/help/mvccontrib/MvcContrib/MimeTypes.htm +182 -0
- data/lib/help/mvccontrib/MvcContrib/NameValueDeserializer.htm +230 -0
- data/lib/help/mvccontrib/MvcContrib/ObjectExtensions.htm +206 -0
- data/lib/help/mvccontrib/MvcContrib/StringExtensions.htm +192 -0
- data/lib/help/mvccontrib/MvcContrib/SubController.htm +271 -0
- data/lib/help/mvccontrib/MvcContrib/SubController`1.htm +247 -0
- data/lib/help/mvccontrib/MvcContrib/UrlHelperExtensions.htm +178 -0
- data/lib/help/mvccontrib/MvcContrib/ViewDataExtensions.htm +288 -0
- data/lib/help/mvccontrib/MvcContrib/index.htm +175 -0
- data/lib/help/mvccontrib/index.htm +29 -0
- data/lib/help/mvccontrib/js/jquery-1.3.2.min.js +19 -0
- data/lib/help/mvccontrib/js/jquery.scrollTo-min.js +11 -0
- data/lib/help/mvccontrib/js/navigation.js +11 -0
- data/lib/help/mvccontrib/main.css +208 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Behaviors/AutoLabelBehavior.htm +130 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Behaviors/AutoLabelSettings.htm +105 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Behaviors/BehaviorMarkerExtensions.htm +118 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Behaviors/CacheingBehaviorApplier.htm +98 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Behaviors/GenericTypeSpec.htm +122 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Behaviors/IBehavior.htm +85 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Behaviors/IBehaviorMarker.htm +85 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Behaviors/IBehavior`1.htm +100 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Behaviors/IBehaviorsContainer.htm +97 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Behaviors/IMemberBehavior.htm +85 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Behaviors/IModelStateHandler.htm +100 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Behaviors/ISupportsMaxLength.htm +87 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Behaviors/ISupportsModelState.htm +98 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Behaviors/MemberBehaviorHelper`1.htm +122 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Behaviors/ThreadSafeDictionary`2.htm +200 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Behaviors/ValidationBehavior.htm +85 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Behaviors/index.htm +99 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/Button.htm +141 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/ButtonBase`1.htm +141 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/CheckBox.htm +141 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/CheckBoxBase`1.htm +166 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/CheckBoxList.htm +151 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/CheckBoxListBase`1.htm +192 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/DisableableElement`1.htm +158 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/Element`1.htm +289 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/FileUpload.htm +141 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/FormElement`1.htm +141 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/FormLiteral.htm +142 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/FormLiteralBase`1.htm +142 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/Hidden.htm +141 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/IElement.htm +229 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/IMemberElement.htm +151 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/Index.htm +180 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/Input`1.htm +170 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/Label.htm +141 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/LabelBase`1.htm +157 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/Literal.htm +141 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/LiteralBase`1.htm +158 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/MultiSelect.htm +151 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/MultiSelect`1.htm +151 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/Option.htm +182 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/OptionsElementBase`1.htm +210 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/Password.htm +141 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/RadioButton.htm +141 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/RadioButtonBase`1.htm +141 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/RadioSet.htm +151 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/RadioSetBase`1.htm +168 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/ResetButton.htm +141 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/ResetButtonBase`1.htm +141 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/Select.htm +151 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/SelectBase`1.htm +213 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/Select`1.htm +151 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/SubmitButton.htm +141 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/SubmitButtonBase`1.htm +141 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/TextArea.htm +139 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/TextAreaBase`1.htm +166 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/TextBox.htm +141 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/TextInput`1.htm +158 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/TypeStamp.htm +155 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Elements/ValidationMessage.htm +141 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Expressions/ExpressionExtensions.htm +96 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Expressions/ExpressionNameVisitor.htm +72 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Expressions/ExpressionNameVisitorResult.htm +74 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Expressions/index.htm +57 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Html/HtmlAttribute.htm +253 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Html/HtmlEventAttribute.htm +77 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Html/HtmlInputType.htm +165 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Html/HtmlTag.htm +165 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml.Html/index.htm +60 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml/IViewModelContainer`1.htm +93 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml/ModelStateDictionaryExtensions.htm +106 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml/ModelViewMasterPage`1.htm +484 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml/ModelViewPage`1.htm +810 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml/ModelViewUserControl`1.htm +314 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml/PartialNameConventionService.htm +106 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml/PartialRenderer`2.htm +107 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml/StringExtensions.htm +108 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml/ViewDataContainerExtensions.htm +320 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml/ViewModelContainerExtensions.htm +412 -0
- data/lib/help/mvccontrib_fluentHtml/MvcContrib.FluentHtml/index.htm +81 -0
- data/lib/help/mvccontrib_fluentHtml/index.htm +29 -0
- data/lib/help/mvccontrib_fluentHtml/js/jquery-1.3.2.min.js +19 -0
- data/lib/help/mvccontrib_fluentHtml/js/jquery.scrollTo-min.js +11 -0
- data/lib/help/mvccontrib_fluentHtml/js/navigation.js +11 -0
- data/lib/help/mvccontrib_fluentHtml/main.css +208 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper.Fakes/FakeHttpContext.htm +305 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper.Fakes/FakeHttpRequest.htm +316 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper.Fakes/FakeHttpResponse.htm +486 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper.Fakes/FakeHttpSessionState.htm +235 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper.Fakes/FakeIdentity.htm +83 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper.Fakes/FakePrincipal.htm +86 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper.Fakes/index.htm +64 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper.FluentController/ActionExpectations`1.htm +182 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper.FluentController/ActionRedirect.htm +103 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper.FluentController/ActionRender.htm +115 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper.FluentController/ActionReturn.htm +110 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper.FluentController/CallSuccess.htm +105 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper.FluentController/ControllerRedirect.htm +103 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper.FluentController/ControllerRender.htm +102 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper.FluentController/GivenController.htm +86 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper.FluentController/ModelStateHelper.htm +92 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper.FluentController/ViewRender.htm +102 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper.FluentController/index.htm +76 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper.Ui/AssertExtensions.htm +150 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper.Ui/BaseClassLibraryExtensions.htm +134 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper.Ui/DisplayTable`1.htm +110 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper.Ui/EnumerableExtensions.htm +94 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper.Ui/IBrowserDriver.htm +184 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper.Ui/IInputTester.htm +102 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper.Ui/IInputTesterFactory.htm +94 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper.Ui/IMultipleInputTesterFactory.htm +102 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper.Ui/InputForm`1.htm +133 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper.Ui/InputTesterBase`1.htm +81 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper.Ui/InputTesterFactory.htm +466 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper.Ui/MultipleInputTesterFactory.htm +250 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper.Ui/RowFilter`1.htm +108 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper.Ui/TextInputTester.htm +81 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper.Ui/TextInputTesterFactory.htm +81 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper.Ui/index.htm +94 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper/ActionResultAssertionException.htm +190 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper/ActionResultHelper.htm +304 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper/AssertionException.htm +137 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper/AttributeExtensions.htm +117 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper/DerivedRoute.htm +95 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper/ElementIdentifier.htm +110 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper/GeneralTestExtensions.htm +155 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper/IRouteType.htm +108 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper/IWriteableHttpFileCollection.htm +109 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper/MethodInfoExtensions.htm +109 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper/NameAndDescriptionIdentifier.htm +110 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper/NamedRoute.htm +95 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper/NavigationLinkIdentifier.htm +110 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper/ObjectExtensions.htm +95 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper/OutBoundUrl.htm +116 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper/OutBoundUrlContext.htm +118 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper/RecordIdentifier.htm +110 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper/RouteTestingExtensions.htm +238 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper/SectionIdentifier.htm +110 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper/TestControllerBuilder.htm +232 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper/WebTestUtility.htm +108 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper/WriteableHttpFileCollection.htm +171 -0
- data/lib/help/mvccontrib_testhelper/MvcContrib.TestHelper/index.htm +115 -0
- data/lib/help/mvccontrib_testhelper/index.htm +29 -0
- data/lib/help/mvccontrib_testhelper/js/jquery-1.3.2.min.js +19 -0
- data/lib/help/mvccontrib_testhelper/js/jquery.scrollTo-min.js +11 -0
- data/lib/help/mvccontrib_testhelper/js/navigation.js +11 -0
- data/lib/help/mvccontrib_testhelper/main.css +208 -0
- metadata +483 -0
|
@@ -0,0 +1,1178 @@
|
|
|
1
|
+
<?xml version="1.0"?>
|
|
2
|
+
<doc>
|
|
3
|
+
<assembly>
|
|
4
|
+
<name>MvcContrib.TestHelper</name>
|
|
5
|
+
</assembly>
|
|
6
|
+
<members>
|
|
7
|
+
<member name="T:MvcContrib.TestHelper.ActionResultAssertionException">
|
|
8
|
+
<summary>
|
|
9
|
+
Exception that is thrown when a ActionResult assertion fails.
|
|
10
|
+
</summary>
|
|
11
|
+
</member>
|
|
12
|
+
<member name="M:MvcContrib.TestHelper.ActionResultAssertionException.#ctor(System.String)">
|
|
13
|
+
<summary>
|
|
14
|
+
Creates a new instance of the <see cref="T:MvcContrib.TestHelper.ActionResultAssertionException"/> class.
|
|
15
|
+
</summary>
|
|
16
|
+
<param name="message">Message thrown in the exception.</param>
|
|
17
|
+
</member>
|
|
18
|
+
<member name="T:MvcContrib.TestHelper.ActionResultHelper">
|
|
19
|
+
<summary>
|
|
20
|
+
Contains extension methods for testing action results.
|
|
21
|
+
</summary>
|
|
22
|
+
</member>
|
|
23
|
+
<member name="M:MvcContrib.TestHelper.ActionResultHelper.AssertResultIs``1(System.Web.Mvc.ActionResult)">
|
|
24
|
+
<summary>
|
|
25
|
+
Asserts that the ActionResult is of the specified type.
|
|
26
|
+
</summary>
|
|
27
|
+
<typeparam name="T">Type of action result to convert to.</typeparam>
|
|
28
|
+
<param name="result">Action Result to convert.</param>
|
|
29
|
+
<returns></returns>
|
|
30
|
+
</member>
|
|
31
|
+
<member name="M:MvcContrib.TestHelper.ActionResultHelper.AssertViewRendered(System.Web.Mvc.ActionResult)">
|
|
32
|
+
<summary>
|
|
33
|
+
Asserts that the action result is a RenderViewResult.
|
|
34
|
+
</summary>
|
|
35
|
+
<param name="result">The result to convert.</param>
|
|
36
|
+
<returns></returns>
|
|
37
|
+
</member>
|
|
38
|
+
<member name="M:MvcContrib.TestHelper.ActionResultHelper.AssertPartialViewRendered(System.Web.Mvc.ActionResult)">
|
|
39
|
+
<summary>
|
|
40
|
+
Asserts that the action result is a RenderPartialViewResult
|
|
41
|
+
</summary>
|
|
42
|
+
<param name="result">The result to convert</param>
|
|
43
|
+
<returns></returns>
|
|
44
|
+
</member>
|
|
45
|
+
<member name="M:MvcContrib.TestHelper.ActionResultHelper.AssertHttpRedirect(System.Web.Mvc.ActionResult)">
|
|
46
|
+
<summary>
|
|
47
|
+
Asserts that the action result is a HttpRedirectResult.
|
|
48
|
+
</summary>
|
|
49
|
+
<param name="result">The result to convert.</param>
|
|
50
|
+
<returns></returns>
|
|
51
|
+
</member>
|
|
52
|
+
<member name="M:MvcContrib.TestHelper.ActionResultHelper.AssertActionRedirect(System.Web.Mvc.ActionResult)">
|
|
53
|
+
<summary>
|
|
54
|
+
Asserts that the action result is an ActionRedirectResult.
|
|
55
|
+
</summary>
|
|
56
|
+
<param name="result">The result to convert.</param>
|
|
57
|
+
<returns></returns>
|
|
58
|
+
</member>
|
|
59
|
+
<member name="M:MvcContrib.TestHelper.ActionResultHelper.ToController(System.Web.Mvc.RedirectToRouteResult,System.String)">
|
|
60
|
+
<summary>
|
|
61
|
+
Asserts that an ActionRedirectResult is for the specified controller.
|
|
62
|
+
</summary>
|
|
63
|
+
<param name="result">The result to check.</param>
|
|
64
|
+
<param name="controller">The name of the controller.</param>
|
|
65
|
+
<returns></returns>
|
|
66
|
+
</member>
|
|
67
|
+
<member name="M:MvcContrib.TestHelper.ActionResultHelper.ToAction(System.Web.Mvc.RedirectToRouteResult,System.String)">
|
|
68
|
+
<summary>
|
|
69
|
+
Asserts that an ActionRedirectReslt is for the specified action.
|
|
70
|
+
</summary>
|
|
71
|
+
<param name="result">The result to check.</param>
|
|
72
|
+
<param name="action">The name of the action.</param>
|
|
73
|
+
<returns></returns>
|
|
74
|
+
</member>
|
|
75
|
+
<member name="M:MvcContrib.TestHelper.ActionResultHelper.ToAction``1(System.Web.Mvc.RedirectToRouteResult,System.Linq.Expressions.Expression{System.Action{``0}})">
|
|
76
|
+
<summary>
|
|
77
|
+
Asserts that an ActionRedirectResult is for the specified action on the specified controller
|
|
78
|
+
</summary>
|
|
79
|
+
<typeparam name="TController">The type of the controller.</typeparam>
|
|
80
|
+
<param name="result">The result to check.</param>
|
|
81
|
+
<param name="action">The action to call on the controller.</param>
|
|
82
|
+
<returns></returns>
|
|
83
|
+
</member>
|
|
84
|
+
<member name="M:MvcContrib.TestHelper.ActionResultHelper.WithParameter(System.Web.Mvc.RedirectToRouteResult,System.String,System.Object)">
|
|
85
|
+
<summary>
|
|
86
|
+
Asserts that an ActionRedirectResult contains a specified value in its RouteValueCollection.
|
|
87
|
+
</summary>
|
|
88
|
+
<param name="result">The result to check.</param>
|
|
89
|
+
<param name="paramName">The name of the parameter to check for.</param>
|
|
90
|
+
<param name="value">The expected value.</param>
|
|
91
|
+
<returns></returns>
|
|
92
|
+
</member>
|
|
93
|
+
<member name="M:MvcContrib.TestHelper.ActionResultHelper.GetStronglyTypedParameter(System.Web.Mvc.RedirectToRouteResult,System.Web.Mvc.Controller,System.String)">
|
|
94
|
+
<summary>
|
|
95
|
+
Gets a parameter from a RedirectToRouteResult.
|
|
96
|
+
</summary>
|
|
97
|
+
<param name="result">The result to check.</param>
|
|
98
|
+
<param name="controller">The controller that you redirected FROM.</param>
|
|
99
|
+
<param name="paramName">The name of the parameter to check for.</param>
|
|
100
|
+
<returns></returns>
|
|
101
|
+
</member>
|
|
102
|
+
<member name="M:MvcContrib.TestHelper.ActionResultHelper.ForView(System.Web.Mvc.ViewResult,System.String)">
|
|
103
|
+
<summary>
|
|
104
|
+
Asserts that a RenderViewResult is rendering the specified view.
|
|
105
|
+
</summary>
|
|
106
|
+
<param name="result">The result to check.</param>
|
|
107
|
+
<param name="viewName">The name of the view.</param>
|
|
108
|
+
<returns></returns>
|
|
109
|
+
</member>
|
|
110
|
+
<member name="M:MvcContrib.TestHelper.ActionResultHelper.ForView(System.Web.Mvc.PartialViewResult,System.String)">
|
|
111
|
+
<summary>
|
|
112
|
+
Asserts that a RenderPartialViewResult is rendering the specified partial view
|
|
113
|
+
</summary>
|
|
114
|
+
<param name="result">The result to check</param>
|
|
115
|
+
<param name="partialViewName">The name of the partial view</param>
|
|
116
|
+
<returns></returns>
|
|
117
|
+
</member>
|
|
118
|
+
<member name="M:MvcContrib.TestHelper.ActionResultHelper.ToUrl(System.Web.Mvc.RedirectResult,System.String)">
|
|
119
|
+
<summary>
|
|
120
|
+
Asserts that a HttpRedirectResult is redirecting to the specified URL.
|
|
121
|
+
</summary>
|
|
122
|
+
<param name="result">The result to check</param>
|
|
123
|
+
<param name="url">The URL that the result should be redirecting to.</param>
|
|
124
|
+
<returns></returns>
|
|
125
|
+
</member>
|
|
126
|
+
<member name="M:MvcContrib.TestHelper.ActionResultHelper.WithViewData``1(System.Web.Mvc.PartialViewResult)">
|
|
127
|
+
<summary>
|
|
128
|
+
Asserts that a RenderViewResult's value has been set using a strongly typed value, returning that value if successful.
|
|
129
|
+
If the type is a reference type, a view data set to null will be returned as null.
|
|
130
|
+
If the type is a value type, a view data set to null will throw an exception.
|
|
131
|
+
</summary>
|
|
132
|
+
<typeparam name="TViewData">The custom type for the view data.</typeparam>
|
|
133
|
+
<param name="actionResult">The result to check.</param>
|
|
134
|
+
<returns>The ViewData in it's strongly-typed form.</returns>
|
|
135
|
+
</member>
|
|
136
|
+
<member name="M:MvcContrib.TestHelper.ActionResultHelper.WithViewData``1(System.Web.Mvc.ViewResult)">
|
|
137
|
+
<summary>
|
|
138
|
+
Asserts that a RenderViewResult's value has been set using a strongly typed value, returning that value if successful.
|
|
139
|
+
If the type is a reference type, a view data set to null will be returned as null.
|
|
140
|
+
If the type is a value type, a view data set to null will throw an exception.
|
|
141
|
+
</summary>
|
|
142
|
+
<typeparam name="TViewData">The custom type for the view data.</typeparam>
|
|
143
|
+
<param name="actionResult">The result to check.</param>
|
|
144
|
+
<returns>The ViewData in it's strongly-typed form.</returns>
|
|
145
|
+
</member>
|
|
146
|
+
<member name="M:MvcContrib.TestHelper.AttributeExtensions.IsDecoratedWith``1(System.Reflection.ICustomAttributeProvider)">
|
|
147
|
+
<summary>
|
|
148
|
+
Will return true if the attributeTarget is decorated with an attribute of type TAttribute.
|
|
149
|
+
Will return false if not.
|
|
150
|
+
</summary>
|
|
151
|
+
<typeparam name="TAttribute"></typeparam>
|
|
152
|
+
<param name="attributeTarget"></param>
|
|
153
|
+
<returns></returns>
|
|
154
|
+
</member>
|
|
155
|
+
<member name="M:MvcContrib.TestHelper.AttributeExtensions.GetAttribute``1(System.Reflection.ICustomAttributeProvider)">
|
|
156
|
+
<summary>
|
|
157
|
+
Will return true the first attribute of type TAttribute on the attributeTarget.
|
|
158
|
+
</summary>
|
|
159
|
+
<typeparam name="TAttribute"></typeparam>
|
|
160
|
+
<param name="attributeTarget"></param>
|
|
161
|
+
<returns></returns>
|
|
162
|
+
</member>
|
|
163
|
+
<member name="M:MvcContrib.TestHelper.MethodInfoExtensions.ActionName(System.Reflection.MethodInfo)">
|
|
164
|
+
<summary>
|
|
165
|
+
Will return the name of the action specified in the ActionNameAttribute for a method if it has an ActionNameAttribute.
|
|
166
|
+
Will return the name of the method otherwise.
|
|
167
|
+
</summary>
|
|
168
|
+
<param name="method"></param>
|
|
169
|
+
<returns></returns>
|
|
170
|
+
</member>
|
|
171
|
+
<member name="M:MvcContrib.TestHelper.FluentController.ActionExpectations`1.Should(System.Action{System.Web.Mvc.ActionResult})">
|
|
172
|
+
<summary>
|
|
173
|
+
Shoulds the specified assertion.
|
|
174
|
+
<example>
|
|
175
|
+
<code>
|
|
176
|
+
[TestClass]
|
|
177
|
+
public class UserControllerRedirectsTest
|
|
178
|
+
{
|
|
179
|
+
[TestMethod]
|
|
180
|
+
public void CreateReturnsOK()
|
|
181
|
+
{
|
|
182
|
+
GivenController.As<UserController>()
|
|
183
|
+
.Should(x => x.AssertResultIs<HeadResult>().StatusCode.ShouldBe(HttpStatusCode.OK))
|
|
184
|
+
.WhenCalling(x => x.Create());
|
|
185
|
+
}
|
|
186
|
+
</code>
|
|
187
|
+
</example>
|
|
188
|
+
</summary>
|
|
189
|
+
<param name="assertion">The assertion.</param>
|
|
190
|
+
<returns></returns>
|
|
191
|
+
</member>
|
|
192
|
+
<member name="M:MvcContrib.TestHelper.FluentController.ActionExpectations`1.ShouldController(System.Action{System.Web.Mvc.IController,System.Web.Mvc.ActionResult})">
|
|
193
|
+
<summary>
|
|
194
|
+
Shoulds the specified assertion.
|
|
195
|
+
This version also takes a reference to the mock controller for additional verifications
|
|
196
|
+
<example>
|
|
197
|
+
<code>
|
|
198
|
+
[TestClass]
|
|
199
|
+
public class UserControllerRedirectsTest
|
|
200
|
+
{
|
|
201
|
+
[TestMethod]
|
|
202
|
+
public void CreateReturnsOK()
|
|
203
|
+
{
|
|
204
|
+
GivenController.As<UserController>()
|
|
205
|
+
.Should((controller, actionResult) => actionResult.AssertResultIs<HeadResult>().StatusCode.ShouldBe(HttpStatusCode.OK))
|
|
206
|
+
.WhenCalling(x => x.Create());
|
|
207
|
+
}
|
|
208
|
+
</code>
|
|
209
|
+
</example>
|
|
210
|
+
</summary>
|
|
211
|
+
<param name="assertion"></param>
|
|
212
|
+
<returns></returns>
|
|
213
|
+
</member>
|
|
214
|
+
<member name="M:MvcContrib.TestHelper.FluentController.ActionExpectations`1.WithSetup(System.Action{System.Web.Mvc.IController})">
|
|
215
|
+
<summary>
|
|
216
|
+
Specifies setup on the mock controller. This should be used when setting
|
|
217
|
+
up the test case.
|
|
218
|
+
<example>
|
|
219
|
+
<code>
|
|
220
|
+
GivenController.As<UserController>()
|
|
221
|
+
.WithSetup(x => x.SessionRepository = new Mock<ISessionRepository>())
|
|
222
|
+
.WhenCalling(x => x.Get());
|
|
223
|
+
</code>
|
|
224
|
+
</example>
|
|
225
|
+
</summary>
|
|
226
|
+
<param name="setupAction">An action that is used to setup values on the mock controller. It is passed
|
|
227
|
+
an instance of the mock controller.</param>
|
|
228
|
+
<returns>An instance of this option to allow chaining.</returns>
|
|
229
|
+
</member>
|
|
230
|
+
<member name="M:MvcContrib.TestHelper.FluentController.ActionExpectations`1.WithRequest(System.Action{System.Web.HttpRequestBase})">
|
|
231
|
+
<summary>
|
|
232
|
+
Creates the setup conditions for a <see cref="T:MvcContrib.TestHelper.FluentController.GivenController"/>.As with the <see cref="T:System.Web.Routing.RequestContext"/> to allow for mocking on the object.
|
|
233
|
+
This is the full version and there are shorter wrapper for specific headers <see cref="M:MvcContrib.TestHelper.FluentController.ActionExpectations`1.WithLocation(System.String)"/>, <see cref="M:MvcContrib.TestHelper.FluentController.ActionExpectations`1.WithReferrer(System.String)"/> and <see cref="M:MvcContrib.TestHelper.FluentController.ActionExpectations`1.WithUserAgent(System.String)"/>.
|
|
234
|
+
<example>
|
|
235
|
+
<code>
|
|
236
|
+
GivenController.As<UserController>()
|
|
237
|
+
.Should(x => x.AssertResultIs<HeadResult>().StatusCode.ShouldBe(HttpStatusCode.OK))
|
|
238
|
+
.WhenCalling(x => x.Show());
|
|
239
|
+
</code>
|
|
240
|
+
</example>
|
|
241
|
+
</summary>
|
|
242
|
+
<param name="setupAction">The setup action.</param>
|
|
243
|
+
<returns></returns>
|
|
244
|
+
</member>
|
|
245
|
+
<member name="M:MvcContrib.TestHelper.FluentController.ActionExpectations`1.WithLocation(System.String)">
|
|
246
|
+
<summary>
|
|
247
|
+
Creates the Location Header on a Requestfor a <see cref="T:MvcContrib.TestHelper.FluentController.GivenController"/>.As with the <see cref="T:System.Web.Routing.RequestContext"/>.
|
|
248
|
+
<example>
|
|
249
|
+
<code>
|
|
250
|
+
GivenController.As<UserController>()
|
|
251
|
+
.Should(x => x.WithLocation("http://from-somewhere.com"))
|
|
252
|
+
.WhenCalling(x => x.Show());
|
|
253
|
+
</code>
|
|
254
|
+
</example>
|
|
255
|
+
</summary>
|
|
256
|
+
<param name="headerLocation">The header location.</param>
|
|
257
|
+
<returns></returns>
|
|
258
|
+
</member>
|
|
259
|
+
<member name="M:MvcContrib.TestHelper.FluentController.ActionExpectations`1.WithReferrer(System.String)">
|
|
260
|
+
<summary>
|
|
261
|
+
Creates the Referrer Header on a Requestfor a <see cref="T:MvcContrib.TestHelper.FluentController.GivenController"/>.As with the <see cref="T:System.Web.Routing.RequestContext"/>.
|
|
262
|
+
<example>
|
|
263
|
+
<code>
|
|
264
|
+
GivenController.As<UserController>()
|
|
265
|
+
.Should(x => x.WithReferrer("http://referred-from-somewhereelse.org"))
|
|
266
|
+
.WhenCalling(x => x.Show());
|
|
267
|
+
</code>
|
|
268
|
+
</example>
|
|
269
|
+
</summary>
|
|
270
|
+
<returns></returns>
|
|
271
|
+
</member>
|
|
272
|
+
<member name="M:MvcContrib.TestHelper.FluentController.ActionExpectations`1.WithUserAgent(System.String)">
|
|
273
|
+
<summary>
|
|
274
|
+
Creates the UserAgent Header on a Requestfor a <see cref="T:MvcContrib.TestHelper.FluentController.GivenController"/>.As with the <see cref="T:System.Web.Routing.RequestContext"/>.
|
|
275
|
+
<example>
|
|
276
|
+
<code>
|
|
277
|
+
GivenController.As<UserController>()
|
|
278
|
+
.Should(x => x.WithUserAgent("Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.12) Gecko/2009070611 Firefox/3.0.12 (.NET CLR 3.5.30729)"))
|
|
279
|
+
.WhenCalling(x => x.Show());
|
|
280
|
+
</code>
|
|
281
|
+
</example>
|
|
282
|
+
</summary>
|
|
283
|
+
<param name="headerUserAgent">The header location.</param>
|
|
284
|
+
<returns></returns>
|
|
285
|
+
</member>
|
|
286
|
+
<member name="M:MvcContrib.TestHelper.FluentController.ActionExpectations`1.WhenCalling(System.Func{`0,System.Web.Mvc.ActionResult})">
|
|
287
|
+
<summary>
|
|
288
|
+
Whens the calling. This returns void as it should be the last action in a chain of commands.
|
|
289
|
+
|
|
290
|
+
<example>
|
|
291
|
+
<code>
|
|
292
|
+
[TestClass]
|
|
293
|
+
public class UserControllerRedirectsTest
|
|
294
|
+
{
|
|
295
|
+
[TestMethod]
|
|
296
|
+
public void SuccessfulCreateRedirectsToIndex()
|
|
297
|
+
{
|
|
298
|
+
GivenController.As<UserController>()
|
|
299
|
+
.ShouldRedirectTo("Index")
|
|
300
|
+
.IfCallSucceeds()
|
|
301
|
+
.WhenCalling(x => x.Create(null));
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
[TestMethod]
|
|
305
|
+
public void UnsuccessfulCreateDisplaysNew()
|
|
306
|
+
{
|
|
307
|
+
GivenController.As<UserController>()
|
|
308
|
+
.ShouldRenderView("New")
|
|
309
|
+
.IfCallFails()
|
|
310
|
+
.WhenCalling(x => x.Create(null));
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
[TestMethod]
|
|
314
|
+
public void NewReturnsItself()
|
|
315
|
+
{
|
|
316
|
+
GivenController.As<UserController>()
|
|
317
|
+
.ShouldRenderItself("New")
|
|
318
|
+
.WhenCalling(x => x.New());
|
|
319
|
+
}
|
|
320
|
+
</code>
|
|
321
|
+
</example>
|
|
322
|
+
</summary>
|
|
323
|
+
<param name="action">The action.</param>
|
|
324
|
+
</member>
|
|
325
|
+
<member name="M:MvcContrib.TestHelper.FluentController.ActionRedirect.ShouldRedirectTo``1(MvcContrib.TestHelper.FluentController.ActionExpectations{``0},System.String)">
|
|
326
|
+
<summary>
|
|
327
|
+
Shoulds the redirect to.
|
|
328
|
+
<example>
|
|
329
|
+
<code>
|
|
330
|
+
[TestClass]
|
|
331
|
+
public class UserControllerRedirectsTest
|
|
332
|
+
{
|
|
333
|
+
[TestMethod]
|
|
334
|
+
public void SuccessfulCreateRedirectsToIndex()
|
|
335
|
+
{
|
|
336
|
+
GivenController.As<UserController>()
|
|
337
|
+
.ShouldRedirectTo("Index")
|
|
338
|
+
.IfCallSucceeds()
|
|
339
|
+
.WhenCalling(x => x.Create(null));
|
|
340
|
+
}
|
|
341
|
+
</code>
|
|
342
|
+
</example>
|
|
343
|
+
</summary>
|
|
344
|
+
<param name="fluentAction"></param>
|
|
345
|
+
<param name="action">The action.</param>
|
|
346
|
+
<returns></returns>
|
|
347
|
+
</member>
|
|
348
|
+
<member name="M:MvcContrib.TestHelper.FluentController.ActionRedirect.ShouldRedirectTo``1(MvcContrib.TestHelper.FluentController.ActionExpectations{``0},System.String,System.String)">
|
|
349
|
+
<summary>
|
|
350
|
+
Shoulds the redirect to.
|
|
351
|
+
<example>
|
|
352
|
+
<code>
|
|
353
|
+
[TestClass]
|
|
354
|
+
public class UserControllerRedirectsTest
|
|
355
|
+
{
|
|
356
|
+
[TestMethod]
|
|
357
|
+
public void SuccessfulCreateRedirectsToIndexActionOfHomeController()
|
|
358
|
+
{
|
|
359
|
+
GivenController.As<UserController>()
|
|
360
|
+
.ShouldRedirectTo("Home", "Index")
|
|
361
|
+
.IfCallSucceeds()
|
|
362
|
+
.WhenCalling(x => x.Create(null));
|
|
363
|
+
}
|
|
364
|
+
</code>
|
|
365
|
+
</example>
|
|
366
|
+
</summary>
|
|
367
|
+
<param name="fluentAction"></param>
|
|
368
|
+
<param name="controller">The controller of the action.</param>
|
|
369
|
+
<param name="action">The action.</param>
|
|
370
|
+
<returns></returns>
|
|
371
|
+
</member>
|
|
372
|
+
<member name="M:MvcContrib.TestHelper.FluentController.ActionRender.ShouldRenderView``1(MvcContrib.TestHelper.FluentController.ActionExpectations{``0},System.String)">
|
|
373
|
+
<summary>
|
|
374
|
+
Shoulds the render view.
|
|
375
|
+
<example>
|
|
376
|
+
<code>
|
|
377
|
+
[TestClass]
|
|
378
|
+
public class UserControllerRedirectsTest
|
|
379
|
+
{
|
|
380
|
+
[TestMethod]
|
|
381
|
+
public void UnsuccessfulCreateDisplaysNew()
|
|
382
|
+
{
|
|
383
|
+
GivenController.As<UserController>()
|
|
384
|
+
.ShouldRenderView("New")
|
|
385
|
+
.IfCallFails()
|
|
386
|
+
.WhenCalling(x => x.Create(null));
|
|
387
|
+
}
|
|
388
|
+
</code>
|
|
389
|
+
</example>
|
|
390
|
+
</summary>
|
|
391
|
+
<param name="fluentAction"></param>
|
|
392
|
+
<param name="viewName">Name of the view.</param>
|
|
393
|
+
<returns></returns>
|
|
394
|
+
</member>
|
|
395
|
+
<member name="M:MvcContrib.TestHelper.FluentController.ActionRender.ShouldRenderItself``1(MvcContrib.TestHelper.FluentController.ActionExpectations{``0},System.String)">
|
|
396
|
+
<summary>
|
|
397
|
+
Shoulds the render itself.
|
|
398
|
+
<example>
|
|
399
|
+
<code>
|
|
400
|
+
[TestClass]
|
|
401
|
+
public class UserControllerRedirectsTest
|
|
402
|
+
{
|
|
403
|
+
[TestMethod]
|
|
404
|
+
public void NewReturnsItself()
|
|
405
|
+
{
|
|
406
|
+
GivenController.As<UserController>()
|
|
407
|
+
.ShouldRenderItself("New")
|
|
408
|
+
.WhenCalling(x => x.New());
|
|
409
|
+
}
|
|
410
|
+
</code>
|
|
411
|
+
</example>
|
|
412
|
+
</summary>
|
|
413
|
+
<param name="fluentAction"></param>
|
|
414
|
+
<param name="actionName">Name of the action.</param>
|
|
415
|
+
<returns></returns>
|
|
416
|
+
</member>
|
|
417
|
+
<member name="M:MvcContrib.TestHelper.FluentController.ActionRender.ShouldRenderPartial``1(MvcContrib.TestHelper.FluentController.ActionExpectations{``0},System.String)">
|
|
418
|
+
<summary>
|
|
419
|
+
Shoulds the render partial.
|
|
420
|
+
<example>
|
|
421
|
+
<code>
|
|
422
|
+
[TestClass]
|
|
423
|
+
public class UserControllerRedirectsTest
|
|
424
|
+
{
|
|
425
|
+
[TestMethod]
|
|
426
|
+
public void EditReturnsPartialAddress()
|
|
427
|
+
{
|
|
428
|
+
GivenController.As<UserController>()
|
|
429
|
+
.ShouldRenderPartial("Address")
|
|
430
|
+
.WhenCalling(x => x.Edit());
|
|
431
|
+
}
|
|
432
|
+
</code>
|
|
433
|
+
</example>
|
|
434
|
+
</summary>
|
|
435
|
+
<param name="fluentAction"></param>
|
|
436
|
+
<param name="partialViewName">Partial name of the view.</param>
|
|
437
|
+
<returns></returns>
|
|
438
|
+
</member>
|
|
439
|
+
<member name="M:MvcContrib.TestHelper.FluentController.ActionReturn.ShouldReturnHead``1(MvcContrib.TestHelper.FluentController.ActionExpectations{``0},System.Net.HttpStatusCode)">
|
|
440
|
+
<summary>
|
|
441
|
+
Shoulds the return head.
|
|
442
|
+
<example>
|
|
443
|
+
<code>
|
|
444
|
+
[TestClass]
|
|
445
|
+
public class UserControllerRedirectsTest
|
|
446
|
+
{
|
|
447
|
+
[TestMethod]
|
|
448
|
+
public void NewReturnsItself()
|
|
449
|
+
{
|
|
450
|
+
GivenController.As<UserController>()
|
|
451
|
+
.ShouldRenderItself("New")
|
|
452
|
+
.WhenCalling(x => x.New());
|
|
453
|
+
}
|
|
454
|
+
</code>
|
|
455
|
+
</example>
|
|
456
|
+
</summary>
|
|
457
|
+
<param name="fluentAction"></param>
|
|
458
|
+
<param name="statusCode">The status code.</param>
|
|
459
|
+
<returns></returns>
|
|
460
|
+
</member>
|
|
461
|
+
<member name="M:MvcContrib.TestHelper.FluentController.ActionReturn.ShouldReturnFile``1(MvcContrib.TestHelper.FluentController.ActionExpectations{``0},System.String)">
|
|
462
|
+
<summary>
|
|
463
|
+
Shoulds the return file.
|
|
464
|
+
<example>
|
|
465
|
+
<code>
|
|
466
|
+
[TestClass]
|
|
467
|
+
public class UserControllerRedirectsTest
|
|
468
|
+
{
|
|
469
|
+
[TestMethod]
|
|
470
|
+
public void NewReturnsItself()
|
|
471
|
+
{
|
|
472
|
+
GivenController.As<UserController>()
|
|
473
|
+
.ShouldReturnFile("C:\person.jpg")
|
|
474
|
+
.WhenCalling(x => x.ShowImage());
|
|
475
|
+
}
|
|
476
|
+
</code>
|
|
477
|
+
</example>
|
|
478
|
+
</summary>
|
|
479
|
+
<param name="fluentAction"></param>
|
|
480
|
+
<param name="fileDownloadName">Name of the file download.</param>
|
|
481
|
+
<returns></returns>
|
|
482
|
+
</member>
|
|
483
|
+
<member name="M:MvcContrib.TestHelper.FluentController.ActionReturn.ShouldReturnEmpty``1(MvcContrib.TestHelper.FluentController.ActionExpectations{``0})">
|
|
484
|
+
<summary>
|
|
485
|
+
Shoulds the return empty.
|
|
486
|
+
<example>
|
|
487
|
+
<code>
|
|
488
|
+
[TestClass]
|
|
489
|
+
public class UserControllerRedirectsTest
|
|
490
|
+
{
|
|
491
|
+
[TestMethod]
|
|
492
|
+
public void SaveToWatchListShouldReturnEmptyResult()
|
|
493
|
+
{
|
|
494
|
+
GivenController.As<UserController>()
|
|
495
|
+
.ShouldReturnEmpty()
|
|
496
|
+
.WhenCalling(x => x.SaveToWatchList());
|
|
497
|
+
}
|
|
498
|
+
</code>
|
|
499
|
+
</example>
|
|
500
|
+
</summary>
|
|
501
|
+
<returns></returns>
|
|
502
|
+
</member>
|
|
503
|
+
<member name="M:MvcContrib.TestHelper.FluentController.CallSuccess.IfCallSucceeds``1(MvcContrib.TestHelper.FluentController.ActionExpectations{``0})">
|
|
504
|
+
<summary>
|
|
505
|
+
Ifs the call succeeds.
|
|
506
|
+
<example>
|
|
507
|
+
<code>
|
|
508
|
+
[TestClass]
|
|
509
|
+
public class UserControllerRedirectsTest
|
|
510
|
+
{
|
|
511
|
+
[TestMethod]
|
|
512
|
+
public void SuccessfulCreateRedirectsToIndex()
|
|
513
|
+
{
|
|
514
|
+
GivenController.As<UserController>
|
|
515
|
+
.ShouldRedirectTo("Index")
|
|
516
|
+
.IfCallSucceeds()
|
|
517
|
+
.WhenCalling(x => x.Create(null));
|
|
518
|
+
}
|
|
519
|
+
</code>
|
|
520
|
+
</example>
|
|
521
|
+
</summary>
|
|
522
|
+
<returns></returns>
|
|
523
|
+
</member>
|
|
524
|
+
<member name="M:MvcContrib.TestHelper.FluentController.CallSuccess.IfCallSucceeds``2(MvcContrib.TestHelper.FluentController.ActionExpectations{``0},``1)">
|
|
525
|
+
<summary>
|
|
526
|
+
If the call succeeds.
|
|
527
|
+
<example>
|
|
528
|
+
<code>
|
|
529
|
+
[TestClass]
|
|
530
|
+
public class UserControllerRedirectsTest
|
|
531
|
+
{
|
|
532
|
+
[TestMethod]
|
|
533
|
+
public void SuccessfulCreateRedirectsToIndex()
|
|
534
|
+
{
|
|
535
|
+
GivenController.As<UserController>
|
|
536
|
+
.ShouldRedirectTo("Index")
|
|
537
|
+
.IfCallSucceeds()
|
|
538
|
+
.WhenCalling(x => x.Create(null));
|
|
539
|
+
}
|
|
540
|
+
</code>
|
|
541
|
+
</example>
|
|
542
|
+
</summary>
|
|
543
|
+
<typeparam name="T"></typeparam>
|
|
544
|
+
<typeparam name="TResult">The type of the result.</typeparam>
|
|
545
|
+
<param name="action"></param>
|
|
546
|
+
<param name="model">The model.</param>
|
|
547
|
+
<returns></returns>
|
|
548
|
+
</member>
|
|
549
|
+
<member name="M:MvcContrib.TestHelper.FluentController.CallSuccess.IfCallFails``1(MvcContrib.TestHelper.FluentController.ActionExpectations{``0})">
|
|
550
|
+
<summary>
|
|
551
|
+
If the call fails.
|
|
552
|
+
<example>
|
|
553
|
+
<code>
|
|
554
|
+
[TestClass]
|
|
555
|
+
public class UserControllerRedirectsTest
|
|
556
|
+
{
|
|
557
|
+
[TestMethod]
|
|
558
|
+
public void SuccessfulCreateRedirectsToIndex()
|
|
559
|
+
{
|
|
560
|
+
GivenController.As<UserController>
|
|
561
|
+
.ShouldRedirectTo("Index")
|
|
562
|
+
.IfCallFails()
|
|
563
|
+
.WhenCalling(x => x.Create(null));
|
|
564
|
+
}
|
|
565
|
+
</code>
|
|
566
|
+
</example>
|
|
567
|
+
</summary>
|
|
568
|
+
<returns></returns>
|
|
569
|
+
</member>
|
|
570
|
+
<member name="M:MvcContrib.TestHelper.FluentController.ControllerRedirect.ShouldRedirectTo``1(MvcContrib.TestHelper.FluentController.ActionExpectations{``0},MvcContrib.SimplyRestful.RestfulAction)">
|
|
571
|
+
<summary>
|
|
572
|
+
Shoulds the redirect to.
|
|
573
|
+
<example>
|
|
574
|
+
<code>
|
|
575
|
+
[TestClass]
|
|
576
|
+
public class UserControllerRedirectsTest
|
|
577
|
+
{
|
|
578
|
+
[TestMethod]
|
|
579
|
+
public void SuccessfulCreateRedirectsToIndex()
|
|
580
|
+
{
|
|
581
|
+
Controller<UserController>
|
|
582
|
+
.ShouldRedirectTo("Index")
|
|
583
|
+
.IfCallSucceeds()
|
|
584
|
+
.WhenCalling(x => x.Create(null));
|
|
585
|
+
}
|
|
586
|
+
</code>
|
|
587
|
+
</example>
|
|
588
|
+
</summary>
|
|
589
|
+
<typeparam name="T"></typeparam>
|
|
590
|
+
<param name="fluentAction">The fluent action.</param>
|
|
591
|
+
<param name="action">The action.</param>
|
|
592
|
+
<returns></returns>
|
|
593
|
+
</member>
|
|
594
|
+
<member name="M:MvcContrib.TestHelper.FluentController.ControllerRedirect.ShouldRedirectTo``1(MvcContrib.TestHelper.FluentController.ActionExpectations{``0},System.String,MvcContrib.SimplyRestful.RestfulAction)">
|
|
595
|
+
<summary>
|
|
596
|
+
Shoulds the redirect to.
|
|
597
|
+
<example>
|
|
598
|
+
<code>
|
|
599
|
+
[TestClass]
|
|
600
|
+
public class UserControllerRedirectsTest
|
|
601
|
+
{
|
|
602
|
+
[TestMethod]
|
|
603
|
+
public void SuccessfulCreateRedirectsToIndexActionOfHomeController()
|
|
604
|
+
{
|
|
605
|
+
Controller<UserController>
|
|
606
|
+
.ShouldRedirectTo("Home", "Index")
|
|
607
|
+
.IfCallSucceeds()
|
|
608
|
+
.WhenCalling(x => x.Create(null));
|
|
609
|
+
}
|
|
610
|
+
</code>
|
|
611
|
+
</example>
|
|
612
|
+
</summary>
|
|
613
|
+
<typeparam name="T"></typeparam>
|
|
614
|
+
<param name="fluentAction">The fluent action.</param>
|
|
615
|
+
<param name="controller">The controller of the action.</param>
|
|
616
|
+
<param name="action">The action.</param>
|
|
617
|
+
<returns></returns>
|
|
618
|
+
</member>
|
|
619
|
+
<member name="M:MvcContrib.TestHelper.FluentController.ControllerRender.ShouldRenderView``1(MvcContrib.TestHelper.FluentController.ActionExpectations{``0},MvcContrib.SimplyRestful.RestfulAction)">
|
|
620
|
+
<summary>
|
|
621
|
+
Shoulds the render itself.
|
|
622
|
+
<example>
|
|
623
|
+
<code>
|
|
624
|
+
[TestClass]
|
|
625
|
+
public class UserControllerRedirectsTest
|
|
626
|
+
{
|
|
627
|
+
[TestMethod]
|
|
628
|
+
public void NewReturnsItself()
|
|
629
|
+
{
|
|
630
|
+
Controller<UserController>
|
|
631
|
+
.ShouldRenderItself("New")
|
|
632
|
+
.WhenCalling(x => x.New());
|
|
633
|
+
}
|
|
634
|
+
</code>
|
|
635
|
+
</example>
|
|
636
|
+
</summary>
|
|
637
|
+
<typeparam name="T"></typeparam>
|
|
638
|
+
<param name="fluentAction">The fluent action.</param>
|
|
639
|
+
<param name="action">The action.</param>
|
|
640
|
+
<returns></returns>
|
|
641
|
+
</member>
|
|
642
|
+
<member name="M:MvcContrib.TestHelper.FluentController.ControllerRender.ShouldRenderItself``1(MvcContrib.TestHelper.FluentController.ActionExpectations{``0},MvcContrib.SimplyRestful.RestfulAction)">
|
|
643
|
+
<summary>
|
|
644
|
+
Shoulds the render itself.
|
|
645
|
+
<example>
|
|
646
|
+
<code>
|
|
647
|
+
[TestClass]
|
|
648
|
+
public class UserControllerRedirectsTest
|
|
649
|
+
{
|
|
650
|
+
[TestMethod]
|
|
651
|
+
public void NewReturnsItself()
|
|
652
|
+
{
|
|
653
|
+
Controller<UserController>
|
|
654
|
+
.ShouldRenderItself("New")
|
|
655
|
+
.WhenCalling(x => x.New());
|
|
656
|
+
}
|
|
657
|
+
</code>
|
|
658
|
+
</example>
|
|
659
|
+
</summary>
|
|
660
|
+
<typeparam name="T"></typeparam>
|
|
661
|
+
<param name="fluentAction">The fluent action.</param>
|
|
662
|
+
<param name="action">The action.</param>
|
|
663
|
+
<returns></returns>
|
|
664
|
+
</member>
|
|
665
|
+
<member name="T:MvcContrib.TestHelper.FluentController.GivenController">
|
|
666
|
+
<summary>
|
|
667
|
+
Given Controller provides a test context as a controller for writing tests around the flow of actions.
|
|
668
|
+
<example>
|
|
669
|
+
This example provides the context of the UserController. In this case, the action redirects when create actions is complete
|
|
670
|
+
<code>
|
|
671
|
+
GivenController.As<UserController>()
|
|
672
|
+
.Should(x => x.AssertHttpRedirect())
|
|
673
|
+
.WhenCalling(x => x.Create());
|
|
674
|
+
</code>
|
|
675
|
+
</example>
|
|
676
|
+
</summary>
|
|
677
|
+
</member>
|
|
678
|
+
<member name="M:MvcContrib.TestHelper.FluentController.GivenController.As``1">
|
|
679
|
+
<summary>
|
|
680
|
+
As chains from a <seealso cref="T:MvcContrib.TestHelper.FluentController.GivenController"/>.
|
|
681
|
+
<example>
|
|
682
|
+
<code>GivenController.As<UserController>()</code>
|
|
683
|
+
</example>
|
|
684
|
+
</summary>
|
|
685
|
+
<typeparam name="T"></typeparam>
|
|
686
|
+
<returns></returns>
|
|
687
|
+
</member>
|
|
688
|
+
<member name="M:MvcContrib.TestHelper.FluentController.ViewRender.ForViewOrItself``1(``0,System.String)">
|
|
689
|
+
<summary>
|
|
690
|
+
Asserts that a RenderViewResult is rendering the specified view.
|
|
691
|
+
</summary>
|
|
692
|
+
<param name="result">The result to check.</param>
|
|
693
|
+
<param name="viewName">The name of the view.</param>
|
|
694
|
+
<returns></returns>
|
|
695
|
+
</member>
|
|
696
|
+
<member name="M:MvcContrib.TestHelper.FluentController.ViewRender.ForView``1(``0,System.String)">
|
|
697
|
+
<summary>
|
|
698
|
+
Asserts that a RenderViewResult is rendering the specified view.
|
|
699
|
+
</summary>
|
|
700
|
+
<param name="result">The result to check.</param>
|
|
701
|
+
<param name="viewName">The name of the view.</param>
|
|
702
|
+
<returns></returns>
|
|
703
|
+
</member>
|
|
704
|
+
<member name="T:MvcContrib.TestHelper.AssertionException">
|
|
705
|
+
<summary>
|
|
706
|
+
This exception is thrown by the TestHelper extension methods. This allows this project to be unit test framework agnostic.
|
|
707
|
+
</summary>
|
|
708
|
+
</member>
|
|
709
|
+
<member name="T:MvcContrib.TestHelper.GeneralTestExtensions">
|
|
710
|
+
<summary>
|
|
711
|
+
Contains basic extension methods to simplify testing.
|
|
712
|
+
</summary>
|
|
713
|
+
</member>
|
|
714
|
+
<member name="M:MvcContrib.TestHelper.GeneralTestExtensions.ShouldBe``1(System.Object,System.String)">
|
|
715
|
+
<summary>
|
|
716
|
+
Asserts that the object is of type T. Also returns T to enable method chaining.
|
|
717
|
+
</summary>
|
|
718
|
+
<typeparam name="T"></typeparam>
|
|
719
|
+
<param name="actual"></param>
|
|
720
|
+
<param name="message">Message to display when assertion fails</param>
|
|
721
|
+
<returns></returns>
|
|
722
|
+
</member>
|
|
723
|
+
<member name="M:MvcContrib.TestHelper.GeneralTestExtensions.ShouldBe(System.Object,System.Object)">
|
|
724
|
+
<summary>
|
|
725
|
+
Asserts that the object is the expected value.
|
|
726
|
+
</summary>
|
|
727
|
+
<param name="actual"></param>
|
|
728
|
+
<param name="expected"></param>
|
|
729
|
+
</member>
|
|
730
|
+
<member name="M:MvcContrib.TestHelper.GeneralTestExtensions.AssertSameStringAs(System.String,System.String)">
|
|
731
|
+
<summary>
|
|
732
|
+
Compares the two strings (case-insensitive).
|
|
733
|
+
</summary>
|
|
734
|
+
<param name="actual"></param>
|
|
735
|
+
<param name="expected"></param>
|
|
736
|
+
</member>
|
|
737
|
+
<member name="M:MvcContrib.TestHelper.GeneralTestExtensions.AssertStringContains(System.String,System.String)">
|
|
738
|
+
<summary>
|
|
739
|
+
Compares the two strings (case-insensitive).
|
|
740
|
+
</summary>
|
|
741
|
+
<param name="fullstring"></param>
|
|
742
|
+
<param name="expected"></param>
|
|
743
|
+
</member>
|
|
744
|
+
<member name="M:MvcContrib.TestHelper.GeneralTestExtensions.ShouldNotBeNull(System.Object,System.String)">
|
|
745
|
+
<summary>
|
|
746
|
+
Asserts that the object should not be null.
|
|
747
|
+
</summary>
|
|
748
|
+
<param name="Actual"></param>
|
|
749
|
+
<param name="message"></param>
|
|
750
|
+
<exception cref="T:MvcContrib.TestHelper.AssertionException"></exception>
|
|
751
|
+
</member>
|
|
752
|
+
<member name="M:MvcContrib.TestHelper.GeneralTestExtensions.ShouldEqual(System.Object,System.Object,System.String)">
|
|
753
|
+
<summary>
|
|
754
|
+
Asserts that two objects are equal.
|
|
755
|
+
</summary>
|
|
756
|
+
<param name="actual"></param>
|
|
757
|
+
<param name="expected"></param>
|
|
758
|
+
<param name="message"></param>
|
|
759
|
+
<exception cref="T:MvcContrib.TestHelper.AssertionException"></exception>
|
|
760
|
+
</member>
|
|
761
|
+
<member name="M:MvcContrib.TestHelper.MockSession.#ctor">
|
|
762
|
+
<summary>
|
|
763
|
+
Initializes a new instance of the <see cref="T:MvcContrib.TestHelper.MockSession"/> class.
|
|
764
|
+
</summary>
|
|
765
|
+
</member>
|
|
766
|
+
<member name="M:MvcContrib.TestHelper.MockSession.Add(System.String,System.Object)">
|
|
767
|
+
<summary>
|
|
768
|
+
Adds the specified name.
|
|
769
|
+
</summary>
|
|
770
|
+
<param name="name">The name.</param>
|
|
771
|
+
<param name="value">The value.</param>
|
|
772
|
+
</member>
|
|
773
|
+
<member name="M:MvcContrib.TestHelper.MockSession.Clear">
|
|
774
|
+
<summary>
|
|
775
|
+
Clears this instance.
|
|
776
|
+
</summary>
|
|
777
|
+
</member>
|
|
778
|
+
<member name="M:MvcContrib.TestHelper.MockSession.Remove(System.String)">
|
|
779
|
+
<summary>
|
|
780
|
+
Removes the specified name.
|
|
781
|
+
</summary>
|
|
782
|
+
<param name="name">The name.</param>
|
|
783
|
+
</member>
|
|
784
|
+
<member name="M:MvcContrib.TestHelper.MockSession.RemoveAll">
|
|
785
|
+
<summary>
|
|
786
|
+
Removes all.
|
|
787
|
+
</summary>
|
|
788
|
+
</member>
|
|
789
|
+
<member name="M:MvcContrib.TestHelper.MockSession.RemoveAt(System.Int32)">
|
|
790
|
+
<summary>
|
|
791
|
+
Removes an object at the index.
|
|
792
|
+
</summary>
|
|
793
|
+
<param name="index">The index.</param>
|
|
794
|
+
</member>
|
|
795
|
+
<member name="M:MvcContrib.TestHelper.MockSession.CopyTo(System.Array,System.Int32)">
|
|
796
|
+
<summary>
|
|
797
|
+
Copies the elements of the <see cref="T:System.Collections.ICollection"/> to an <see cref="T:System.Array"/>, starting at a particular <see cref="T:System.Array"/> index.
|
|
798
|
+
</summary>
|
|
799
|
+
<param name="array">The one-dimensional <see cref="T:System.Array"/> that is the destination of the elements copied from <see cref="T:System.Collections.ICollection"/>. The <see cref="T:System.Array"/> must have zero-based indexing.</param>
|
|
800
|
+
<param name="index">The zero-based index in <paramref name="array"/> at which copying begins.</param>
|
|
801
|
+
<exception cref="T:System.ArgumentNullException">
|
|
802
|
+
<paramref name="array"/> is null. </exception>
|
|
803
|
+
<exception cref="T:System.ArgumentOutOfRangeException">
|
|
804
|
+
<paramref name="index"/> is less than zero. </exception>
|
|
805
|
+
<exception cref="T:System.ArgumentException">
|
|
806
|
+
<paramref name="array"/> is multidimensional.-or- <paramref name="index"/> is equal to or greater than the length of <paramref name="array"/>.-or- The number of elements in the source <see cref="T:System.Collections.ICollection"/> is greater than the available space from <paramref name="index"/> to the end of the destination <paramref name="array"/>. </exception>
|
|
807
|
+
<exception cref="T:System.ArgumentException">The type of the source <see cref="T:System.Collections.ICollection"/> cannot be cast automatically to the type of the destination <paramref name="array"/>. </exception>
|
|
808
|
+
</member>
|
|
809
|
+
<member name="M:MvcContrib.TestHelper.MockSession.Abandon">
|
|
810
|
+
<summary>
|
|
811
|
+
Not Implemented
|
|
812
|
+
</summary>
|
|
813
|
+
</member>
|
|
814
|
+
<member name="P:MvcContrib.TestHelper.MockSession.Contents">
|
|
815
|
+
<summary>
|
|
816
|
+
Gets the contents.
|
|
817
|
+
</summary>
|
|
818
|
+
<value>The contents.</value>
|
|
819
|
+
</member>
|
|
820
|
+
<member name="P:MvcContrib.TestHelper.MockSession.Item(System.String)">
|
|
821
|
+
<summary>
|
|
822
|
+
Gets or sets the <see cref="T:System.Object"/> with the specified name.
|
|
823
|
+
</summary>
|
|
824
|
+
<value></value>
|
|
825
|
+
</member>
|
|
826
|
+
<member name="P:MvcContrib.TestHelper.MockSession.Item(System.Int32)">
|
|
827
|
+
<summary>
|
|
828
|
+
Gets or sets the <see cref="T:System.Object"/> at the specified index.
|
|
829
|
+
</summary>
|
|
830
|
+
<value></value>
|
|
831
|
+
</member>
|
|
832
|
+
<member name="P:MvcContrib.TestHelper.MockSession.Count">
|
|
833
|
+
<summary>
|
|
834
|
+
Gets the number of elements contained in the <see cref="T:System.Collections.ICollection"/>.
|
|
835
|
+
</summary>
|
|
836
|
+
<value></value>
|
|
837
|
+
<returns>The number of elements contained in the <see cref="T:System.Collections.ICollection"/>.</returns>
|
|
838
|
+
</member>
|
|
839
|
+
<member name="P:MvcContrib.TestHelper.MockSession.IsSynchronized">
|
|
840
|
+
<summary>
|
|
841
|
+
Gets a value indicating whether access to the <see cref="T:System.Collections.ICollection"/> is synchronized (thread safe).
|
|
842
|
+
</summary>
|
|
843
|
+
<value></value>
|
|
844
|
+
<returns>true if access to the <see cref="T:System.Collections.ICollection"/> is synchronized (thread safe); otherwise, false.</returns>
|
|
845
|
+
</member>
|
|
846
|
+
<member name="P:MvcContrib.TestHelper.MockSession.SyncRoot">
|
|
847
|
+
<summary>
|
|
848
|
+
Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection"/>.
|
|
849
|
+
</summary>
|
|
850
|
+
<value></value>
|
|
851
|
+
<returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection"/>.</returns>
|
|
852
|
+
</member>
|
|
853
|
+
<member name="P:MvcContrib.TestHelper.MockSession.SessionID">
|
|
854
|
+
<summary>
|
|
855
|
+
Not Implemented
|
|
856
|
+
</summary>
|
|
857
|
+
</member>
|
|
858
|
+
<member name="P:MvcContrib.TestHelper.MockSession.StaticObjects">
|
|
859
|
+
<summary>
|
|
860
|
+
Not Implemented
|
|
861
|
+
</summary>
|
|
862
|
+
</member>
|
|
863
|
+
<member name="P:MvcContrib.TestHelper.MockSession.Timeout">
|
|
864
|
+
<summary>
|
|
865
|
+
Not Implemented
|
|
866
|
+
</summary>
|
|
867
|
+
</member>
|
|
868
|
+
<member name="P:MvcContrib.TestHelper.MockSession.CookieMode">
|
|
869
|
+
<summary>
|
|
870
|
+
Not Implemented
|
|
871
|
+
</summary>
|
|
872
|
+
</member>
|
|
873
|
+
<member name="P:MvcContrib.TestHelper.MockSession.IsCookieless">
|
|
874
|
+
<summary>
|
|
875
|
+
Not Implemented
|
|
876
|
+
</summary>
|
|
877
|
+
</member>
|
|
878
|
+
<member name="P:MvcContrib.TestHelper.MockSession.IsNewSession">
|
|
879
|
+
<summary>
|
|
880
|
+
Not Implemented
|
|
881
|
+
</summary>
|
|
882
|
+
</member>
|
|
883
|
+
<member name="P:MvcContrib.TestHelper.MockSession.IsReadOnly">
|
|
884
|
+
<summary>
|
|
885
|
+
Not Implemented
|
|
886
|
+
</summary>
|
|
887
|
+
</member>
|
|
888
|
+
<member name="P:MvcContrib.TestHelper.MockSession.Keys">
|
|
889
|
+
<summary>
|
|
890
|
+
Not Implemented
|
|
891
|
+
</summary>
|
|
892
|
+
</member>
|
|
893
|
+
<member name="P:MvcContrib.TestHelper.MockSession.LCID">
|
|
894
|
+
<summary>
|
|
895
|
+
Not Implemented
|
|
896
|
+
</summary>
|
|
897
|
+
</member>
|
|
898
|
+
<member name="P:MvcContrib.TestHelper.MockSession.Mode">
|
|
899
|
+
<summary>
|
|
900
|
+
Not Implemented
|
|
901
|
+
</summary>
|
|
902
|
+
</member>
|
|
903
|
+
<member name="P:MvcContrib.TestHelper.MockSession.CodePage">
|
|
904
|
+
<summary>
|
|
905
|
+
Not Implemented
|
|
906
|
+
</summary>
|
|
907
|
+
</member>
|
|
908
|
+
<member name="T:MvcContrib.TestHelper.RouteTestingExtensions">
|
|
909
|
+
<summary>
|
|
910
|
+
Used to simplify testing routes and restful testing routes
|
|
911
|
+
<example>
|
|
912
|
+
This tests that incoming PUT on resource is redirected to Update
|
|
913
|
+
"~/banner/1"
|
|
914
|
+
.WithMethod(HttpVerbs.Put)
|
|
915
|
+
.ShouldMapTo<BannerController>(action => action.Update(1));
|
|
916
|
+
|
|
917
|
+
This tests that incoming POST was a faux PUT using the _method=PUT form parameter
|
|
918
|
+
"~/banner/1"
|
|
919
|
+
.WithMethod(HttpVerbs.Post, HttpVerbs.Put)
|
|
920
|
+
.ShouldMapTo<BannerController>(action => action.Update(1));
|
|
921
|
+
</example>
|
|
922
|
+
</summary>
|
|
923
|
+
</member>
|
|
924
|
+
<member name="M:MvcContrib.TestHelper.RouteTestingExtensions.WithMethod(System.String,System.String)">
|
|
925
|
+
<summary>
|
|
926
|
+
A way to start the fluent interface and and which method to use
|
|
927
|
+
since you have a method constraint in the route.
|
|
928
|
+
</summary>
|
|
929
|
+
<param name="url"></param>
|
|
930
|
+
<param name="httpMethod"></param>
|
|
931
|
+
<returns></returns>
|
|
932
|
+
</member>
|
|
933
|
+
<member name="M:MvcContrib.TestHelper.RouteTestingExtensions.Route(System.String,System.String)">
|
|
934
|
+
<summary>
|
|
935
|
+
Find the route for a URL and an Http Method
|
|
936
|
+
because you have a method contraint on the route
|
|
937
|
+
</summary>
|
|
938
|
+
<param name="url"></param>
|
|
939
|
+
<param name="httpMethod"></param>
|
|
940
|
+
<returns></returns>
|
|
941
|
+
</member>
|
|
942
|
+
<member name="M:MvcContrib.TestHelper.RouteTestingExtensions.Route(System.String)">
|
|
943
|
+
<summary>
|
|
944
|
+
Returns the corresponding route for the URL. Returns null if no route was found.
|
|
945
|
+
</summary>
|
|
946
|
+
<param name="url">The app relative url to test.</param>
|
|
947
|
+
<returns>A matching <see cref="T:System.Web.Routing.RouteData"/>, or null.</returns>
|
|
948
|
+
</member>
|
|
949
|
+
<member name="M:MvcContrib.TestHelper.RouteTestingExtensions.Route(System.String,System.Web.Mvc.HttpVerbs,System.Web.Mvc.HttpVerbs)">
|
|
950
|
+
<summary>
|
|
951
|
+
Returns the corresponding route for the URL. Returns null if no route was found.
|
|
952
|
+
</summary>
|
|
953
|
+
<param name="url">The URL.</param>
|
|
954
|
+
<param name="httpMethod">The HTTP method.</param>
|
|
955
|
+
<param name="formMethod">The form method.</param>
|
|
956
|
+
<returns></returns>
|
|
957
|
+
</member>
|
|
958
|
+
<member name="M:MvcContrib.TestHelper.RouteTestingExtensions.Route(System.String,System.Web.Mvc.HttpVerbs)">
|
|
959
|
+
<summary>
|
|
960
|
+
Returns the corresponding route for the URL. Returns null if no route was found.
|
|
961
|
+
</summary>
|
|
962
|
+
<param name="url">The URL.</param>
|
|
963
|
+
<param name="httpMethod">The HTTP method.</param>
|
|
964
|
+
<returns></returns>
|
|
965
|
+
</member>
|
|
966
|
+
<member name="M:MvcContrib.TestHelper.RouteTestingExtensions.WithMethod(System.String,System.Web.Mvc.HttpVerbs,System.Web.Mvc.HttpVerbs)">
|
|
967
|
+
<summary>
|
|
968
|
+
Asserts that the route matches the expression specified based on the incoming HttpMethod and FormMethod for Simply Restful routing. Checks controller, action, and any method arguments
|
|
969
|
+
into the action as route values.
|
|
970
|
+
</summary>
|
|
971
|
+
<param name="relativeUrl">The relative URL.</param>
|
|
972
|
+
<param name="httpMethod">The HTTP method.</param>
|
|
973
|
+
<param name="formMethod">The form method.</param>
|
|
974
|
+
<returns></returns>
|
|
975
|
+
</member>
|
|
976
|
+
<member name="M:MvcContrib.TestHelper.RouteTestingExtensions.ShouldMapTo``1(System.Web.Routing.RouteData,System.Linq.Expressions.Expression{System.Func{``0,System.Web.Mvc.ActionResult}})">
|
|
977
|
+
<summary>
|
|
978
|
+
Asserts that the route matches the expression specified. Checks controller, action, and any method arguments
|
|
979
|
+
into the action as route values.
|
|
980
|
+
</summary>
|
|
981
|
+
<typeparam name="TController">The controller.</typeparam>
|
|
982
|
+
<param name="routeData">The routeData to check</param>
|
|
983
|
+
<param name="action">The action to call on TController.</param>
|
|
984
|
+
</member>
|
|
985
|
+
<member name="M:MvcContrib.TestHelper.RouteTestingExtensions.ShouldMapTo``1(System.String,System.Linq.Expressions.Expression{System.Func{``0,System.Web.Mvc.ActionResult}})">
|
|
986
|
+
<summary>
|
|
987
|
+
Converts the URL to matching RouteData and verifies that it will match a route with the values specified by the expression.
|
|
988
|
+
</summary>
|
|
989
|
+
<typeparam name="TController">The type of controller</typeparam>
|
|
990
|
+
<param name="relativeUrl">The ~/ based url</param>
|
|
991
|
+
<param name="action">The expression that defines what action gets called (and with which parameters)</param>
|
|
992
|
+
<returns></returns>
|
|
993
|
+
</member>
|
|
994
|
+
<member name="M:MvcContrib.TestHelper.RouteTestingExtensions.ShouldMapTo``1(System.Web.Routing.RouteData)">
|
|
995
|
+
<summary>
|
|
996
|
+
Verifies the <see cref="T:System.Web.Routing.RouteData">routeData</see> maps to the controller type specified.
|
|
997
|
+
</summary>
|
|
998
|
+
<typeparam name="TController"></typeparam>
|
|
999
|
+
<param name="routeData"></param>
|
|
1000
|
+
<returns></returns>
|
|
1001
|
+
</member>
|
|
1002
|
+
<member name="M:MvcContrib.TestHelper.RouteTestingExtensions.ShouldBeIgnored(System.String)">
|
|
1003
|
+
<summary>
|
|
1004
|
+
Verifies the <see cref="T:System.Web.Routing.RouteData">routeData</see> will instruct the routing engine to ignore the route.
|
|
1005
|
+
</summary>
|
|
1006
|
+
<param name="relativeUrl"></param>
|
|
1007
|
+
<returns></returns>
|
|
1008
|
+
</member>
|
|
1009
|
+
<member name="M:MvcContrib.TestHelper.RouteTestingExtensions.GetValue(System.Web.Routing.RouteValueDictionary,System.String)">
|
|
1010
|
+
<summary>
|
|
1011
|
+
Gets a value from the <see cref="T:System.Web.Routing.RouteValueDictionary"/> by key. Does a
|
|
1012
|
+
case-insensitive search on the keys.
|
|
1013
|
+
</summary>
|
|
1014
|
+
<param name="routeValues"></param>
|
|
1015
|
+
<param name="key"></param>
|
|
1016
|
+
<returns></returns>
|
|
1017
|
+
</member>
|
|
1018
|
+
<member name="T:MvcContrib.TestHelper.TestControllerBuilder">
|
|
1019
|
+
<summary>
|
|
1020
|
+
This is primary class used to create controllers.
|
|
1021
|
+
After initializing, call InitializeController to create a controller with proper environment elements.
|
|
1022
|
+
Exposed properties such as Form, QueryString, and HttpContext allow access to text environment.
|
|
1023
|
+
RenderViewData and RedirectToActionData record those methods
|
|
1024
|
+
</summary>
|
|
1025
|
+
</member>
|
|
1026
|
+
<member name="M:MvcContrib.TestHelper.TestControllerBuilder.#ctor">
|
|
1027
|
+
<summary>
|
|
1028
|
+
Initializes a new instance of the <see cref="T:MvcContrib.TestHelper.TestControllerBuilder"/> class.
|
|
1029
|
+
</summary>
|
|
1030
|
+
</member>
|
|
1031
|
+
<member name="M:MvcContrib.TestHelper.TestControllerBuilder.InitializeController(System.Web.Mvc.Controller)">
|
|
1032
|
+
<summary>
|
|
1033
|
+
Creates the controller with proper environment variables setup.
|
|
1034
|
+
</summary>
|
|
1035
|
+
<param name="controller">The controller to initialize</param>
|
|
1036
|
+
</member>
|
|
1037
|
+
<member name="M:MvcContrib.TestHelper.TestControllerBuilder.CreateController``1(System.Object[])">
|
|
1038
|
+
<summary>
|
|
1039
|
+
Creates the controller with proper environment variables setup.
|
|
1040
|
+
</summary>
|
|
1041
|
+
<typeparam name="T">The type of controller to create</typeparam>
|
|
1042
|
+
<param name="constructorArgs">Arguments to pass to the constructor for the controller</param>
|
|
1043
|
+
<returns>A new controller of the specified type</returns>
|
|
1044
|
+
</member>
|
|
1045
|
+
<member name="M:MvcContrib.TestHelper.TestControllerBuilder.CreateIoCController``1">
|
|
1046
|
+
<summary>
|
|
1047
|
+
Creates the controller with proper environment variables setup, using IoC for arguments
|
|
1048
|
+
</summary>
|
|
1049
|
+
<typeparam name="T">The type of controller to create</typeparam>
|
|
1050
|
+
<returns>A new controller of the specified type</returns>
|
|
1051
|
+
</member>
|
|
1052
|
+
<member name="P:MvcContrib.TestHelper.TestControllerBuilder.HttpContext">
|
|
1053
|
+
<summary>
|
|
1054
|
+
Gets the HttpContext that built controllers will have set internally when created with InitializeController
|
|
1055
|
+
</summary>
|
|
1056
|
+
<value>The HTTPContext</value>
|
|
1057
|
+
</member>
|
|
1058
|
+
<member name="P:MvcContrib.TestHelper.TestControllerBuilder.Files">
|
|
1059
|
+
<summary>
|
|
1060
|
+
Gets the HttpPostedFiles that controllers will have set internally when created with InitializeController
|
|
1061
|
+
</summary>
|
|
1062
|
+
<value>The HttpFileCollection Files</value>
|
|
1063
|
+
</member>
|
|
1064
|
+
<member name="P:MvcContrib.TestHelper.TestControllerBuilder.Form">
|
|
1065
|
+
<summary>
|
|
1066
|
+
Gets the Form data that built controllers will have set internally when created with InitializeController
|
|
1067
|
+
</summary>
|
|
1068
|
+
<value>The NameValueCollection Form</value>
|
|
1069
|
+
</member>
|
|
1070
|
+
<member name="P:MvcContrib.TestHelper.TestControllerBuilder.QueryString">
|
|
1071
|
+
<summary>
|
|
1072
|
+
Gets the QueryString that built controllers will have set internally when created with InitializeController
|
|
1073
|
+
</summary>
|
|
1074
|
+
<value>The NameValueCollection QueryString</value>
|
|
1075
|
+
</member>
|
|
1076
|
+
<member name="P:MvcContrib.TestHelper.TestControllerBuilder.AcceptTypes">
|
|
1077
|
+
<summary>
|
|
1078
|
+
Gets or sets the AcceptTypes property of Request that built controllers will have set internally when created with InitializeController
|
|
1079
|
+
</summary>
|
|
1080
|
+
</member>
|
|
1081
|
+
<member name="P:MvcContrib.TestHelper.TestControllerBuilder.Session">
|
|
1082
|
+
<summary>
|
|
1083
|
+
Gets the Session that built controllers will have set internally when created with InitializeController
|
|
1084
|
+
</summary>
|
|
1085
|
+
<value>The IHttpSessionState Session</value>
|
|
1086
|
+
</member>
|
|
1087
|
+
<member name="P:MvcContrib.TestHelper.TestControllerBuilder.TempDataDictionary">
|
|
1088
|
+
<summary>
|
|
1089
|
+
Gets the TempDataDictionary that built controllers will have set internally when created with InitializeController
|
|
1090
|
+
</summary>
|
|
1091
|
+
<value>The TempDataDictionary</value>
|
|
1092
|
+
</member>
|
|
1093
|
+
<member name="P:MvcContrib.TestHelper.TestControllerBuilder.RouteData">
|
|
1094
|
+
<summary>
|
|
1095
|
+
Gets or sets the RouteData that built controllers will have set internally when created with InitializeController
|
|
1096
|
+
</summary>
|
|
1097
|
+
<value>The RouteData</value>
|
|
1098
|
+
</member>
|
|
1099
|
+
<member name="P:MvcContrib.TestHelper.TestControllerBuilder.AppRelativeCurrentExecutionFilePath">
|
|
1100
|
+
<summary>
|
|
1101
|
+
Gets or sets the AppRelativeCurrentExecutionFilePath that built controllers will have set internally when created with InitializeController
|
|
1102
|
+
</summary>
|
|
1103
|
+
<value>The RouteData</value>
|
|
1104
|
+
</member>
|
|
1105
|
+
<member name="P:MvcContrib.TestHelper.TestControllerBuilder.ApplicationPath">
|
|
1106
|
+
<summary>
|
|
1107
|
+
Gets or sets the AppRelativeCurrentExecutionFilePath string that built controllers will have set internally when created with InitializeController
|
|
1108
|
+
</summary>
|
|
1109
|
+
<value>The ApplicationPath string</value>
|
|
1110
|
+
</member>
|
|
1111
|
+
<member name="P:MvcContrib.TestHelper.TestControllerBuilder.PathInfo">
|
|
1112
|
+
<summary>
|
|
1113
|
+
Gets or sets the PathInfo string that built controllers will have set internally when created with InitializeController
|
|
1114
|
+
</summary>
|
|
1115
|
+
<value>The PathInfo string</value>
|
|
1116
|
+
</member>
|
|
1117
|
+
<member name="P:MvcContrib.TestHelper.TestControllerBuilder.RawUrl">
|
|
1118
|
+
<summary>
|
|
1119
|
+
Gets or sets the RawUrl string that built controllers will have set internally when created with InitializeController
|
|
1120
|
+
</summary>
|
|
1121
|
+
<value>The RawUrl string</value>
|
|
1122
|
+
</member>
|
|
1123
|
+
<member name="T:MvcContrib.TestHelper.IWriteableHttpFileCollection">
|
|
1124
|
+
<summary>
|
|
1125
|
+
Defines an extended <see cref="T:System.Web.HttpFileCollectionBase"/> which allows modifications to assist with testing.
|
|
1126
|
+
</summary>
|
|
1127
|
+
<remarks>
|
|
1128
|
+
Using this interface allows us to work around that fact that the indexers on <see cref="T:System.Web.HttpPostedFileBase"/>
|
|
1129
|
+
are read only and cannot be changed by overrides.
|
|
1130
|
+
</remarks>
|
|
1131
|
+
</member>
|
|
1132
|
+
<member name="P:MvcContrib.TestHelper.IWriteableHttpFileCollection.Item(System.String)">
|
|
1133
|
+
<summary>
|
|
1134
|
+
Gets or sets the <see cref="T:System.Web.HttpPostedFileBase"/> with the specified name.
|
|
1135
|
+
</summary>
|
|
1136
|
+
</member>
|
|
1137
|
+
<member name="T:MvcContrib.TestHelper.WriteableHttpFileCollection">
|
|
1138
|
+
<summary>
|
|
1139
|
+
An implementation of HttpFileCollectionBase to assit with testing.
|
|
1140
|
+
</summary>
|
|
1141
|
+
</member>
|
|
1142
|
+
<member name="M:MvcContrib.TestHelper.WriteableHttpFileCollection.#ctor">
|
|
1143
|
+
<summary>
|
|
1144
|
+
Initializes a new instance of the <see cref="T:MvcContrib.TestHelper.WriteableHttpFileCollection"/> class.
|
|
1145
|
+
</summary>
|
|
1146
|
+
</member>
|
|
1147
|
+
<member name="P:MvcContrib.TestHelper.WriteableHttpFileCollection.AllKeys">
|
|
1148
|
+
<summary>
|
|
1149
|
+
Gets a string array containing the keys (names) of all members in the file collection.
|
|
1150
|
+
</summary>
|
|
1151
|
+
<value>An array of file names.</value>
|
|
1152
|
+
</member>
|
|
1153
|
+
<member name="P:MvcContrib.TestHelper.WriteableHttpFileCollection.Item(System.String)">
|
|
1154
|
+
<summary>
|
|
1155
|
+
Gets the object with the specified name from the file collection.
|
|
1156
|
+
</summary>
|
|
1157
|
+
<param name="name">Name of item to be returned.</param>
|
|
1158
|
+
<returns>The System.Web.HttpPostedFile specified by name.</returns>
|
|
1159
|
+
</member>
|
|
1160
|
+
<member name="P:MvcContrib.TestHelper.WriteableHttpFileCollection.Item(System.Int32)">
|
|
1161
|
+
<summary>
|
|
1162
|
+
Gets the object with the specified index from the file collection.
|
|
1163
|
+
</summary>
|
|
1164
|
+
<param name="index">Index of item to be returned.</param>
|
|
1165
|
+
<returns>The System.Web.HttpPostedFile specified by index.</returns>
|
|
1166
|
+
</member>
|
|
1167
|
+
<member name="P:MvcContrib.TestHelper.WriteableHttpFileCollection.MvcContrib#TestHelper#IWriteableHttpFileCollection#Item(System.String)">
|
|
1168
|
+
<summary>
|
|
1169
|
+
Gets or sets the <see cref="T:System.Web.HttpPostedFileBase"/> with the specified name.
|
|
1170
|
+
</summary>
|
|
1171
|
+
</member>
|
|
1172
|
+
<member name="P:MvcContrib.TestHelper.WriteableHttpFileCollection.Count">
|
|
1173
|
+
<summary>
|
|
1174
|
+
Gets the file count of the underlying <see cref="T:System.Web.HttpFileCollectionBase"/>.
|
|
1175
|
+
</summary>
|
|
1176
|
+
</member>
|
|
1177
|
+
</members>
|
|
1178
|
+
</doc>
|