C# 클래스 Parse.Tests.FakeServer

A fake server for testing
Kinda hate this...bound to setup a real/fake testing server somewhere at some point
상속: IDisposable
파일 보기 프로젝트 열기: karlseguin/parse-dotnet

공개 메소드들

메소드 설명
Dispose ( ) : void
FakeServer ( ) : System
OnInvoke ( System.Action callback ) : void
Stub ( ApiExpectation expectation ) : void

비공개 메소드들

메소드 설명
Dispose ( bool disposing ) : void
ExtractBody ( HttpListenerRequest request ) : string
FindExpectation ( HttpListenerContext context, string body ) : ApiExpectation
GetContext ( ) : HttpListenerContext
Listen ( ) : void
SendResponse ( HttpListenerContext context, string body, ApiExpectation expectation ) : void

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

FakeServer() 공개 메소드

public FakeServer ( ) : System
리턴 System

OnInvoke() 공개 메소드

public OnInvoke ( System.Action callback ) : void
callback System.Action
리턴 void

Stub() 공개 메소드

public Stub ( ApiExpectation expectation ) : void
expectation ApiExpectation
리턴 void