C# Class BoxKite.Twitter.Tests.TestableUserSession

Inheritance: IUserSession, ITwitterSession
Show file Open project: nickhodge/BoxKite.Twitter

Public Methods

Method Description
CreateGet ( string fullUrl, string>.SortedDictionary parameters ) : HttpRequestMessage
CreatePost ( string fullUrl, string>.SortedDictionary parameters ) : HttpRequestMessage
ExpectGet ( string url ) : void
ExpectPost ( string url ) : void
GenerateNoonce ( ) : string
GenerateTimestamp ( ) : string
GetAsync ( string relativeUrl, string>.SortedDictionary parameters ) : Task
MakeResponse ( ) : Task
PostAsync ( string relativeUrl, string>.SortedDictionary parameters ) : Task
PostAsync ( string url, string>.SortedDictionary parameters, bool forInitialAuth ) : Task
PostFileAsync ( string url, string>.SortedDictionary parameters, string fileName, string fileContentsKey, byte fileContents, Stream srReader ) : Task
ReceivedParameter ( string key, string value ) : bool
Returns ( string contentsReturn ) : void
TestableUserSession ( ) : System
UserStreamBuilder ( ) : IUserStream

Method Details

CreateGet() public method

public CreateGet ( string fullUrl, string>.SortedDictionary parameters ) : HttpRequestMessage
fullUrl string
parameters string>.SortedDictionary
return System.Net.Http.HttpRequestMessage

CreatePost() public method

public CreatePost ( string fullUrl, string>.SortedDictionary parameters ) : HttpRequestMessage
fullUrl string
parameters string>.SortedDictionary
return System.Net.Http.HttpRequestMessage

ExpectGet() public method

public ExpectGet ( string url ) : void
url string
return void

ExpectPost() public method

public ExpectPost ( string url ) : void
url string
return void

GenerateNoonce() public method

public GenerateNoonce ( ) : string
return string

GenerateTimestamp() public method

public GenerateTimestamp ( ) : string
return string

GetAsync() public method

public GetAsync ( string relativeUrl, string>.SortedDictionary parameters ) : Task
relativeUrl string
parameters string>.SortedDictionary
return Task

MakeResponse() public method

public MakeResponse ( ) : Task
return Task

PostAsync() public method

public PostAsync ( string relativeUrl, string>.SortedDictionary parameters ) : Task
relativeUrl string
parameters string>.SortedDictionary
return Task

PostAsync() public method

public PostAsync ( string url, string>.SortedDictionary parameters, bool forInitialAuth ) : Task
url string
parameters string>.SortedDictionary
forInitialAuth bool
return Task

PostFileAsync() public method

public PostFileAsync ( string url, string>.SortedDictionary parameters, string fileName, string fileContentsKey, byte fileContents, Stream srReader ) : Task
url string
parameters string>.SortedDictionary
fileName string
fileContentsKey string
fileContents byte
srReader Stream
return Task

ReceivedParameter() public method

public ReceivedParameter ( string key, string value ) : bool
key string
value string
return bool

Returns() public method

public Returns ( string contentsReturn ) : void
contentsReturn string
return void

TestableUserSession() public method

public TestableUserSession ( ) : System
return System

UserStreamBuilder() public method

public UserStreamBuilder ( ) : IUserStream
return IUserStream