C# Class CMajor.Tests.RouteTestHelper

Afficher le fichier Open project: jittuu/CMajor

Méthodes publiques

Méthode Description
AssertRoute ( RouteCollection routes, string url, object expectations, string httpMethod = "GET", string formMethod = null ) : void

Private Methods

Méthode Description
CreateHttpContext ( string url, string httpMethod, string formMethod ) : System.Web.HttpContextBase
GetProperties ( object o ) : IEnumerable

Method Details

AssertRoute() public static méthode

public static AssertRoute ( RouteCollection routes, string url, object expectations, string httpMethod = "GET", string formMethod = null ) : void
routes RouteCollection
url string
expectations object
httpMethod string
formMethod string
Résultat void