コード例 #1
0
 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>());
 }
コード例 #6
0
 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>());
 }
コード例 #14
0
 protected ParameterBindingTests()
 {
     server = TestEndpointServerFactory.CreateEndpointServer(a => a.WithEndpoint <NumberEndpoint>().WithMalformedRequestHandler <ErrorHandler>());
 }