C# Class Raven.Scenarios.Scenario

ファイルを表示 Open project: markrendle/ravendb

Public Methods

Method Description
Execute ( ) : void
Scenario ( string file ) : System

Private Methods

Method Description
AreEquals ( JToken expectedResponse, JToken actualResponse ) : bool
CompareContentByJson ( Tuple actual, StringReader sr, string request ) : void
CompareContentLineByLine ( Tuple actual, StringReader sr, string request ) : void
CompareHeaders ( Tuple actual, StringReader sr, string request ) : void
CompareHttpStatus ( Tuple actual, StringReader sr, string request ) : void
CompareResponses ( byte response, Tuple actual, string request ) : void
FindFirstDiff ( string expectedLine, string actualLine ) : int
GetResponse ( HttpWebRequest req ) : HttpWebResponse
GetUri_WorkaroundForStrangeBug ( string uriString ) : Uri

No, I am not insane, working around a framework issue: http://ayende.com/Blog/archive/2010/03/04/is-select-system.uri-broken.aspx

HandleChunking ( byte data ) : string
IsStaleResponse ( string response ) : bool
IsValidETag ( string headerParts ) : bool
ReadChuck ( StreamReader memoryStream ) : string
SendRequest ( string request ) : Tuple
TestSingleRequest ( string request, byte expectedResponse ) : void
UpdateResponseToMatchCurrentEtags ( Tuple actual, string responseAsString ) : string

Method Details

Execute() public method

public Execute ( ) : void
return void

Scenario() public method

public Scenario ( string file ) : System
file string
return System