public Task MartinTest(TestContext ctx, CancellationToken cancellationToken,
                        HttpServerProvider provider,
                        HttpListenerTestType type,
                        HttpListenerTestRunner runner)
 {
     return(runner.Run(ctx, cancellationToken));
 }
 static HttpListenerTestType GetEffectiveType(HttpListenerTestType type)
 {
     if (type == HttpListenerTestType.MartinTest)
     {
         return(MartinTest);
     }
     return(type);
 }
 public HttpListenerHandler(HttpListenerTestType type) : base(type.ToString())
 {
     Type = type;
 }
 public HttpListenerTestRunner(HttpServerProvider provider, HttpListenerTestType type)
     : base(provider, type.ToString())
 {
     Type = type;
 }