Commit Graph

68 Commits

Author SHA1 Message Date
Chris Ross (ASP.NET) 241d2c13df Add TestServer support for generic WebHost #1583 2018-11-19 14:55:18 -08:00
Chris Ross (ASP.NET) f6cda4fab7 Make TestServer handle exceptions from OnStarting #1594 2018-11-16 16:39:50 -08:00
nulltoken 3e0b689ac2 Ensure ClientHandler properly honors Host header (#1483) Fix #1481 2018-07-06 13:00:25 -07:00
Ryan Brandenburg 38f691c09e Upgrade to netcoreapp22 (#1410) 2018-05-08 11:02:12 -07:00
Chris Ross (ASP.NET) 8c3b83c047 Fix ClientCancellationAborts test #1379 2018-04-20 11:03:13 -07:00
Chris Ross (ASP.NET) b6dc00229d Convert TestHost ResponseStream to use Pipes. 2018-03-07 15:22:20 -08:00
Chris Ross (ASP.NET) fbe2c6fa10 React to HttpClient default protocol breaking change 2018-03-02 15:48:15 -08:00
Ryan Brandenburg 37512d8d6a Remove unneeded Skip conditions 2017-12-22 09:30:37 -08:00
Pranav K adf2f37ad2 Update samples and tests to target netcoreapp2.1 2017-11-13 17:10:46 -08:00
Chris Ross (ASP.NET) 05fd382b93 #1256 Check HasStarted for StatusCode and ReasonPhrase 2017-11-09 13:04:51 -08:00
Chris Ross (ASP.NET) 1e556e0b46 #1253 TestServer: mark response headers IsReadOnly on start 2017-11-09 13:04:37 -08:00
Chris Ross (ASP.NET) 82ccf4f06e #816 Allow directly constructing an HttpContext for TestServer 2017-11-01 11:07:12 -07:00
Nate McMaster c5f2333481 Pin tool and package versions to make build more repeatable 2017-10-31 13:04:32 -07:00
Nate McMaster 5ca9f8928f Use PackageLineup to manage PackageReference versions 2017-08-29 09:55:55 -07:00
Nate McMaster 9a4a43cc6a Use Directory.Build.props/targets 2017-08-29 09:52:04 -07:00
Eric 9b1cbedffc WebSocketClient.ConnectAsync throws when the provided CancellationToken is cancelled. 2017-08-24 15:14:59 -07:00
Javier Calvarro Nelson 964b671288 [Fixes #1012] Make it possible to override services when using UseStartup.
* Add IStartupConfigureServicesFilter to wrap ConfigureServices.
* Add IStartupConfigureContainerFilter<TContainerBuilder> to wrap
  ConfigureContainer.
* Make StartupLoader build a thunk for configure services that
  resolves all instances of IStartupConfigureServicesFilter and
  IStartupConfigureContainerFilter<TContainerBuilder> and wraps
  invocations to ConfigureServices and ConfigureContainer respectively.
* Refactor building the ConfigureServices callback into a private
  builder class due to the increased complexity in the process.
2017-08-23 14:32:51 -07:00
John Luo 62cd07d0a6 Target NETStandard2.0 and add WindowsServices back 2017-05-19 14:17:02 -07:00
Nate McMaster 5cf3d9ab11 Upgrade test framework versions and fix test issues 2017-05-15 14:44:17 -07:00
John Luo 9b80f2a635 Migration 2017-05-05 17:12:36 -07:00
John Luo d2816d14ab Make WebHost internal
To avoid conflict with WebHost defined in Microsoft.AspNetCore in MetaPackages
2017-04-24 14:46:35 -07:00
Pranav K 31a2bdffce Remove net451 as a cross-compile target 2017-03-24 11:45:47 -07:00
Kiran Challa 7124247b50 Converted test projects and samples to run on netcoreapp2.0 2017-03-21 13:55:12 -07:00
Matt Mazzola 120fec741d Add new constructor to TestSever which allows providing preconfigured FeatureCollection to use before Build / Start is invoked. (#967) 2017-03-21 10:21:01 -07:00
Nate McMaster 45874704a9 Unify dependency version to one file and remove workarounds 2017-03-15 11:01:09 -07:00
David Fowler 374d84c4ad Because VS keeps adding it 2017-03-10 22:56:52 -08:00
Chris R 60c45c382b #896 Have TestHost populate features before calling IHttpContextFactory.Create 2017-03-01 10:10:04 -08:00
Doug Bunting 118216b20a Bump test projects up to .NET 4.5.2
- aspnet/Testing#248
- xUnit no longer supports .NET 4.5.1
- build tests for desktop .NET only on Windows
2017-02-14 09:01:18 -08:00
Nate McMaster f513f8ceac Remove usage of conditional multi-targeting
This causes Visual Studio to crash.
2017-02-01 12:23:16 -08:00
Nate McMaster 2a50762008 Upgrade to VS 2017 2017-02-01 10:35:51 -08:00
Ryan Brandenburg 51b3e82701 OnStarting throws when Response.HasStarted 2017-01-26 10:21:29 -08:00
Pranav K 7ea92f08fc Updating to 4.4 CoreFx packages 2016-12-14 14:47:29 -08:00
Pranav K 21f7c89838 Updating versions to 1.2.0-* 2016-11-09 14:17:46 -08:00
Pranav K d0e8c4dd4c Updating to netcoreapp1.1 2016-10-13 11:17:42 -07:00
Pranav K edc36547a7 Revert "Updating to netcoreapp1.1"
This reverts commit 72114ca4fa.
2016-10-12 16:08:39 -07:00
Pranav K 72114ca4fa Updating to netcoreapp1.1 2016-10-12 13:45:24 -07:00
Pranav K 37b1fc039d Updating partner package versions 2016-09-29 10:52:23 -07:00
Mikael Mengistu acc40bd449 Revert "Fixed naming abiguity" 2016-09-27 16:52:49 -07:00
Mikael Mengistu 2bdbcee7ba Fixed naming abiguity 2016-09-27 10:24:04 -07:00
Kiran Challa b6da89f54c [Fixes #852] TestHost: OnStarting and OnCompleted callbacks of response are not being awaited 2016-09-15 16:35:27 -07:00
Doug Bunting 9a03b504ef One build to rule them all
- well, at least VS and command-line builds will share output
- part of aspnet/Coherence-Signed#277
2016-07-07 11:59:39 -07:00
Pranav K 9a1b3c7296 Updating to RTM builds of xunit 2016-06-30 14:32:36 -07:00
Pranav K ef0de2b6e7 Updating to dev versions 2016-06-16 10:17:56 -07:00
N. Taylor Mullen c96b57963e Remove direct Microsoft.NETCore.Platforms dependency.
- Microsoft.NETCore.App now pulls this package in.

aspnet/Coherence-Signed#344
2016-06-13 15:29:00 -07:00
Pranav K 7b5d7f7883 Merge branch 'release' into dev 2016-05-02 14:56:12 -07:00
Pranav K 7fdc9271f4 Fix build warnings 2016-05-02 12:39:09 -07:00
jacalvar 126a73a475 Merge branch 'release' into dev 2016-04-27 09:34:46 -07:00
jacalvar e36c80bc7b [Fixes #721] Test server should fire onResponseCompleted after the actual response has completed 2016-04-27 09:31:02 -07:00
Pranav K bf5ee72106 Merge branch 'release' into dev 2016-04-19 14:54:02 -07:00
Pranav K 0a8f1327b5 Use latest build of dotnet-test-xunit 2016-04-19 14:54:01 -07:00