├── .gitignore ├── LICENSE ├── MyTested.HttpServer.sln ├── README.md ├── documentation ├── README.md ├── logo.png └── nuget-logo.png ├── global.json ├── samples ├── MyTested.HttpServer.Samples.sln ├── global.json └── src │ └── MyTested.HttpServer.Samples │ ├── HtmlTests.cs │ ├── JsonTests.cs │ ├── MyTested.HttpServer.Samples.xproj │ ├── Properties │ └── AssemblyInfo.cs │ ├── ServerTests.cs │ ├── project.json │ └── project.lock.json ├── src └── MyTested.HttpServer │ ├── Builders │ ├── HttpRequestMessageBuilder.cs │ ├── HttpResponseMessageTestBuilder.cs │ ├── MockedUriBuilder.cs │ └── ServerTestBuilder.cs │ ├── Common │ ├── EnumerableExtensions.cs │ ├── MockedUri.cs │ └── ObjectExtensions.cs │ ├── Contracts │ ├── IAndHttpRequestMessageBuilder.cs │ ├── IAndHttpResponseMessageTestBuilder.cs │ ├── IAndUriTestBuilder.cs │ ├── IHttpRequestMessageBuilder.cs │ ├── IHttpResponseMessageTestBuilder.cs │ ├── IServerTestBuilder.cs │ └── IUriTestBuilder.cs │ ├── Exceptions │ ├── HttpResponseMessageAssertionException.cs │ └── InvalidHttpRequestMessageException.cs │ ├── HttpContentHeader.cs │ ├── HttpHeader.cs │ ├── IServerBuilder.cs │ ├── MediaType.cs │ ├── MyHttpServer.cs │ ├── MyTested.HttpServer.xproj │ ├── Properties │ └── AssemblyInfo.cs │ ├── Servers │ ├── RemoteServer.cs │ └── ServerHttpMessageHandler.cs │ ├── Utilities │ ├── CommonValidator.cs │ ├── HttpRequestMessageValidator.cs │ ├── HttpResponseMessageValidator.cs │ ├── LocationValidator.cs │ ├── Reflection.cs │ └── VersionValidator.cs │ ├── project.json │ └── project.lock.json └── test └── MyTested.HttpServer.Tests ├── BuildersTests ├── HttpRequestMessageBuilderTests.cs ├── HttpResponseMessageTestBuilderTests.cs └── ServerTestBuilderTests.cs ├── MyTested.HttpServer.Tests.xproj ├── Properties └── AssemblyInfo.cs ├── Setups ├── CustomStartup.cs └── TestObjectFactory.cs ├── UtilitiesTests ├── CommonValidatorTests.cs ├── LocationValidatorTests.cs ├── ReflectionTests.cs └── VersionValidatorTests.cs ├── project.json └── project.lock.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/LICENSE -------------------------------------------------------------------------------- /MyTested.HttpServer.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/MyTested.HttpServer.sln -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/README.md -------------------------------------------------------------------------------- /documentation/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/documentation/README.md -------------------------------------------------------------------------------- /documentation/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/documentation/logo.png -------------------------------------------------------------------------------- /documentation/nuget-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/documentation/nuget-logo.png -------------------------------------------------------------------------------- /global.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/global.json -------------------------------------------------------------------------------- /samples/MyTested.HttpServer.Samples.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/samples/MyTested.HttpServer.Samples.sln -------------------------------------------------------------------------------- /samples/global.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/samples/global.json -------------------------------------------------------------------------------- /samples/src/MyTested.HttpServer.Samples/HtmlTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/samples/src/MyTested.HttpServer.Samples/HtmlTests.cs -------------------------------------------------------------------------------- /samples/src/MyTested.HttpServer.Samples/JsonTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/samples/src/MyTested.HttpServer.Samples/JsonTests.cs -------------------------------------------------------------------------------- /samples/src/MyTested.HttpServer.Samples/MyTested.HttpServer.Samples.xproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/samples/src/MyTested.HttpServer.Samples/MyTested.HttpServer.Samples.xproj -------------------------------------------------------------------------------- /samples/src/MyTested.HttpServer.Samples/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/samples/src/MyTested.HttpServer.Samples/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /samples/src/MyTested.HttpServer.Samples/ServerTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/samples/src/MyTested.HttpServer.Samples/ServerTests.cs -------------------------------------------------------------------------------- /samples/src/MyTested.HttpServer.Samples/project.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/samples/src/MyTested.HttpServer.Samples/project.json -------------------------------------------------------------------------------- /samples/src/MyTested.HttpServer.Samples/project.lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/samples/src/MyTested.HttpServer.Samples/project.lock.json -------------------------------------------------------------------------------- /src/MyTested.HttpServer/Builders/HttpRequestMessageBuilder.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/src/MyTested.HttpServer/Builders/HttpRequestMessageBuilder.cs -------------------------------------------------------------------------------- /src/MyTested.HttpServer/Builders/HttpResponseMessageTestBuilder.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/src/MyTested.HttpServer/Builders/HttpResponseMessageTestBuilder.cs -------------------------------------------------------------------------------- /src/MyTested.HttpServer/Builders/MockedUriBuilder.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/src/MyTested.HttpServer/Builders/MockedUriBuilder.cs -------------------------------------------------------------------------------- /src/MyTested.HttpServer/Builders/ServerTestBuilder.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/src/MyTested.HttpServer/Builders/ServerTestBuilder.cs -------------------------------------------------------------------------------- /src/MyTested.HttpServer/Common/EnumerableExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/src/MyTested.HttpServer/Common/EnumerableExtensions.cs -------------------------------------------------------------------------------- /src/MyTested.HttpServer/Common/MockedUri.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/src/MyTested.HttpServer/Common/MockedUri.cs -------------------------------------------------------------------------------- /src/MyTested.HttpServer/Common/ObjectExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/src/MyTested.HttpServer/Common/ObjectExtensions.cs -------------------------------------------------------------------------------- /src/MyTested.HttpServer/Contracts/IAndHttpRequestMessageBuilder.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/src/MyTested.HttpServer/Contracts/IAndHttpRequestMessageBuilder.cs -------------------------------------------------------------------------------- /src/MyTested.HttpServer/Contracts/IAndHttpResponseMessageTestBuilder.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/src/MyTested.HttpServer/Contracts/IAndHttpResponseMessageTestBuilder.cs -------------------------------------------------------------------------------- /src/MyTested.HttpServer/Contracts/IAndUriTestBuilder.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/src/MyTested.HttpServer/Contracts/IAndUriTestBuilder.cs -------------------------------------------------------------------------------- /src/MyTested.HttpServer/Contracts/IHttpRequestMessageBuilder.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/src/MyTested.HttpServer/Contracts/IHttpRequestMessageBuilder.cs -------------------------------------------------------------------------------- /src/MyTested.HttpServer/Contracts/IHttpResponseMessageTestBuilder.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/src/MyTested.HttpServer/Contracts/IHttpResponseMessageTestBuilder.cs -------------------------------------------------------------------------------- /src/MyTested.HttpServer/Contracts/IServerTestBuilder.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/src/MyTested.HttpServer/Contracts/IServerTestBuilder.cs -------------------------------------------------------------------------------- /src/MyTested.HttpServer/Contracts/IUriTestBuilder.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/src/MyTested.HttpServer/Contracts/IUriTestBuilder.cs -------------------------------------------------------------------------------- /src/MyTested.HttpServer/Exceptions/HttpResponseMessageAssertionException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/src/MyTested.HttpServer/Exceptions/HttpResponseMessageAssertionException.cs -------------------------------------------------------------------------------- /src/MyTested.HttpServer/Exceptions/InvalidHttpRequestMessageException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/src/MyTested.HttpServer/Exceptions/InvalidHttpRequestMessageException.cs -------------------------------------------------------------------------------- /src/MyTested.HttpServer/HttpContentHeader.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/src/MyTested.HttpServer/HttpContentHeader.cs -------------------------------------------------------------------------------- /src/MyTested.HttpServer/HttpHeader.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/src/MyTested.HttpServer/HttpHeader.cs -------------------------------------------------------------------------------- /src/MyTested.HttpServer/IServerBuilder.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/src/MyTested.HttpServer/IServerBuilder.cs -------------------------------------------------------------------------------- /src/MyTested.HttpServer/MediaType.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/src/MyTested.HttpServer/MediaType.cs -------------------------------------------------------------------------------- /src/MyTested.HttpServer/MyHttpServer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/src/MyTested.HttpServer/MyHttpServer.cs -------------------------------------------------------------------------------- /src/MyTested.HttpServer/MyTested.HttpServer.xproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/src/MyTested.HttpServer/MyTested.HttpServer.xproj -------------------------------------------------------------------------------- /src/MyTested.HttpServer/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/src/MyTested.HttpServer/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /src/MyTested.HttpServer/Servers/RemoteServer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/src/MyTested.HttpServer/Servers/RemoteServer.cs -------------------------------------------------------------------------------- /src/MyTested.HttpServer/Servers/ServerHttpMessageHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/src/MyTested.HttpServer/Servers/ServerHttpMessageHandler.cs -------------------------------------------------------------------------------- /src/MyTested.HttpServer/Utilities/CommonValidator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/src/MyTested.HttpServer/Utilities/CommonValidator.cs -------------------------------------------------------------------------------- /src/MyTested.HttpServer/Utilities/HttpRequestMessageValidator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/src/MyTested.HttpServer/Utilities/HttpRequestMessageValidator.cs -------------------------------------------------------------------------------- /src/MyTested.HttpServer/Utilities/HttpResponseMessageValidator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/src/MyTested.HttpServer/Utilities/HttpResponseMessageValidator.cs -------------------------------------------------------------------------------- /src/MyTested.HttpServer/Utilities/LocationValidator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/src/MyTested.HttpServer/Utilities/LocationValidator.cs -------------------------------------------------------------------------------- /src/MyTested.HttpServer/Utilities/Reflection.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/src/MyTested.HttpServer/Utilities/Reflection.cs -------------------------------------------------------------------------------- /src/MyTested.HttpServer/Utilities/VersionValidator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/src/MyTested.HttpServer/Utilities/VersionValidator.cs -------------------------------------------------------------------------------- /src/MyTested.HttpServer/project.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/src/MyTested.HttpServer/project.json -------------------------------------------------------------------------------- /src/MyTested.HttpServer/project.lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/src/MyTested.HttpServer/project.lock.json -------------------------------------------------------------------------------- /test/MyTested.HttpServer.Tests/BuildersTests/HttpRequestMessageBuilderTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/test/MyTested.HttpServer.Tests/BuildersTests/HttpRequestMessageBuilderTests.cs -------------------------------------------------------------------------------- /test/MyTested.HttpServer.Tests/BuildersTests/HttpResponseMessageTestBuilderTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/test/MyTested.HttpServer.Tests/BuildersTests/HttpResponseMessageTestBuilderTests.cs -------------------------------------------------------------------------------- /test/MyTested.HttpServer.Tests/BuildersTests/ServerTestBuilderTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/test/MyTested.HttpServer.Tests/BuildersTests/ServerTestBuilderTests.cs -------------------------------------------------------------------------------- /test/MyTested.HttpServer.Tests/MyTested.HttpServer.Tests.xproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/test/MyTested.HttpServer.Tests/MyTested.HttpServer.Tests.xproj -------------------------------------------------------------------------------- /test/MyTested.HttpServer.Tests/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/test/MyTested.HttpServer.Tests/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /test/MyTested.HttpServer.Tests/Setups/CustomStartup.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/test/MyTested.HttpServer.Tests/Setups/CustomStartup.cs -------------------------------------------------------------------------------- /test/MyTested.HttpServer.Tests/Setups/TestObjectFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/test/MyTested.HttpServer.Tests/Setups/TestObjectFactory.cs -------------------------------------------------------------------------------- /test/MyTested.HttpServer.Tests/UtilitiesTests/CommonValidatorTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/test/MyTested.HttpServer.Tests/UtilitiesTests/CommonValidatorTests.cs -------------------------------------------------------------------------------- /test/MyTested.HttpServer.Tests/UtilitiesTests/LocationValidatorTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/test/MyTested.HttpServer.Tests/UtilitiesTests/LocationValidatorTests.cs -------------------------------------------------------------------------------- /test/MyTested.HttpServer.Tests/UtilitiesTests/ReflectionTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/test/MyTested.HttpServer.Tests/UtilitiesTests/ReflectionTests.cs -------------------------------------------------------------------------------- /test/MyTested.HttpServer.Tests/UtilitiesTests/VersionValidatorTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/test/MyTested.HttpServer.Tests/UtilitiesTests/VersionValidatorTests.cs -------------------------------------------------------------------------------- /test/MyTested.HttpServer.Tests/project.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/test/MyTested.HttpServer.Tests/project.json -------------------------------------------------------------------------------- /test/MyTested.HttpServer.Tests/project.lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ivaylokenov/MyTested.HttpServer/HEAD/test/MyTested.HttpServer.Tests/project.lock.json --------------------------------------------------------------------------------