public NoContentEndpointTests()
 {
     server = TestEndpointServerFactory.CreateEndpointServer(b => {
         b.WithEndpoint <NoContentEndpoint>();
         b.WithEndpoint <AsyncNoContentEndpoint>();
     });
 }
예제 #2
0
 public JsonResponseEndpointTests()
 {
     server = TestEndpointServerFactory.CreateEndpointServer(b =>
     {
         b.WithEndpoint <JsonResponseEndpoint>();
         b.WithEndpoint <AsyncJsonResponseEndpoint>();
     });
 }
예제 #3
0
 public JsonBodyEndpointTests()
 {
     server = TestEndpointServerFactory.CreateEndpointServer(b =>
     {
         b.WithEndpoint <JsonBodyEndpoint>();
         b.WithEndpoint <PutJsonBodyEndpoint>();
     });
 }
예제 #4
0
 public GetBookEndpointHandlerTests()
 {
     server = TestEndpointServerFactory.CreateEndpointServer();
 }
 public BoolQueryParameterModelBindingByRelectionTests()
 {
     server = TestEndpointServerFactory.CreateEndpointServer(a => a.WithEndpoint <BoolEndpoint>());
 }
 public JsonEndpointResultTests()
 {
     server = TestEndpointServerFactory.CreateEndpointServer(b => b.WithEndpoint <JsonEndpoint>());
 }
 public ComplexQueryParameterModelBindingTests()
 {
     server = TestEndpointServerFactory.CreateEndpointServer(a => a.WithEndpoint <TestEndpoint>());
 }
예제 #8
0
 public TimeOnlyParameterModelBindingTests()
 {
     server = TestEndpointServerFactory.CreateEndpointServer(a => a.WithEndpoint <DateTimeEndpoint>());
 }
예제 #9
0
 public SwaggerGenTest()
 {
     server = TestEndpointServerFactory.CreateEndpointServer();
 }
예제 #10
0
 public DateTimeOffSetQueryParameterModelBindingTests()
 {
     server = TestEndpointServerFactory.CreateEndpointServer(a => a.WithEndpoint <DateTimeOffsetEndpoint>());
 }
예제 #11
0
 public GuidIdRouteTests()
 {
     server = TestEndpointServerFactory.CreateEndpointServer(a => a.WithEndpoint <IdRouteEndpoint>());
 }
예제 #12
0
 public HeaderParameterBindingTests()
 {
     server = TestEndpointServerFactory.CreateEndpointServer(a => a.WithEndpoint <IntHeaderEndpoint>().WithEndpoint <StringHeaderEndpoint>());
 }
예제 #13
0
 public NoContentEndpointResultTests()
 {
     server = TestEndpointServerFactory.CreateEndpointServer(b => b.WithEndpoint <NoContentEndpoint>());
 }
 protected ParameterBindingTests()
 {
     server = TestEndpointServerFactory.CreateEndpointServer(a => a.WithEndpoint <NumberEndpoint>().WithMalformedRequestHandler <ErrorHandler>());
 }