Example #1
0
 public HttpResponseStreamTests()
 {
     _factory  = new HttpListenerFactory();
     _listener = _factory.GetListener();
     _helper   = new GetContextHelper(_listener, _factory.ListeningUrl);
 }
 public HttpListenerAuthenticationTests()
 {
     _factory  = new HttpListenerFactory();
     _listener = _factory.GetListener();
 }
 public HttpListenerRequestTests()
 {
     Factory = new HttpListenerFactory();
     Client  = Factory.GetConnectedSocket();
 }
 public HttpListenerContextTests()
 {
     Factory = new HttpListenerFactory();
     Socket  = new ClientWebSocket();
 }
Example #5
0
 public HttpListenerWebSocketTests()
 {
     Factory  = new HttpListenerFactory();
     Listener = Factory.GetListener();
     Client   = new ClientWebSocket();
 }
Example #6
0
 public SimpleHttpTests(ITestOutputHelper output)
 {
     _factory  = new HttpListenerFactory();
     _listener = _factory.GetListener();
     _output   = output;
 }
Example #7
0
 public SimpleHttpTests()
 {
     _factory  = new HttpListenerFactory();
     _listener = _factory.GetListener();
 }
Example #8
0
 public InvalidClientRequestTests()
 {
     Factory = new HttpListenerFactory();
 }
Example #9
0
 public WebSocketTests()
 {
     _factory  = new HttpListenerFactory();
     _listener = _factory.GetListener();
 }
Example #10
0
 public HttpListenerResponseTests()
 {
     Factory = new HttpListenerFactory();
     Client  = new HttpClient();
 }