C# 클래스 Machete.Test.MvcMockHelpers

파일 보기 프로젝트 열기: SavageLearning/Machete

공개 메소드들

메소드 설명
FakeHttpContext ( ) : System.Web.HttpContextBase
FakeHttpContext ( string url ) : System.Web.HttpContextBase
SetFakeControllerContext ( this controller ) : void
SetHttpMethodResult ( this request, string httpMethod ) : void
SetupRequestUrl ( this request, string url ) : void

비공개 메소드들

메소드 설명
GetQueryStringParameters ( string url ) : NameValueCollection
GetUrlFileName ( string url ) : string

메소드 상세

FakeHttpContext() 공개 정적인 메소드

public static FakeHttpContext ( ) : System.Web.HttpContextBase
리턴 System.Web.HttpContextBase

FakeHttpContext() 공개 정적인 메소드

public static FakeHttpContext ( string url ) : System.Web.HttpContextBase
url string
리턴 System.Web.HttpContextBase

SetFakeControllerContext() 공개 정적인 메소드

public static SetFakeControllerContext ( this controller ) : void
controller this
리턴 void

SetHttpMethodResult() 공개 정적인 메소드

public static SetHttpMethodResult ( this request, string httpMethod ) : void
request this
httpMethod string
리턴 void

SetupRequestUrl() 공개 정적인 메소드

public static SetupRequestUrl ( this request, string url ) : void
request this
url string
리턴 void