Commit Graph

37701 Commits

Author SHA1 Message Date
Kiran Challa c5e09b0344 Added a HttpResponseStreamWriter test for surrogate pairs 2016-07-18 14:11:42 -07:00
Doug Bunting e5cb6f9595 Add `null` check for `ModelStateEntry.Children`
- #4989
2016-07-18 14:02:17 -07:00
Cesar Blum Silveira bdf9f8dd4e Wait for connection in RequestTests.ConnectionResetAbortsRequest (#978). 2016-07-18 13:29:42 -07:00
Kiran Challa 26b3b5ea7b [Fixes #4766] Remove disable buffering feature from our action result classes 2016-07-18 13:07:54 -07:00
Mike Harder 41e50ba688 Enable all tests in HttpsConnectionFilterTests to run on all platforms
- Move HttpClientSlim.cs to test\shared
- Change HttpClientSlim to static class to simplify calling code
- Add HttpClientSlim.PostAsync()
2016-07-18 12:38:19 -07:00
mnltejaswini 6801715daf Add support for IEnumerable<KeyValuePair<string, string>> in RouteValueDictionary Fixes #329 (#335) 2016-07-18 12:12:34 -07:00
Andrew Stanton-Nurse 854ffadc6a fix project reference 2016-07-18 09:41:13 -07:00
Jimmy Bogard edf1f88398 Updating to AutoMapper 5.0 2016-07-18 17:02:30 +01:00
SteveSandersonMS f4afb25a2d Set ts-loader to "silent" mode until there's a fix for https://github.com/TypeStrong/ts-loader/issues/249 2016-07-18 16:54:52 +01:00
SteveSandersonMS fae0a886af Transfer multiline log messages from Node to .NET without treating each line as a separate log entry 2016-07-18 16:34:36 +01:00
SteveSandersonMS f4efcacd40 Switch to native .NET logging APIs 2016-07-18 15:56:45 +01:00
Paul Knopf 27ffa72e0d Adding support for capturing the output of a node instance for custom logging implementations. 2016-07-18 15:07:09 +01:00
SteveSandersonMS a14d9ba2df Change onBeforeStartExternalProcess to a virtual method, so as to avoid expanding the set of constructor params in all hosting models 2016-07-18 14:39:36 +01:00
thunder7553 7119815d04 Added OnBeforeStartExternalProcess callback which to NodeServicesOptions (and OutOfProcessNodeInstance, SocketNodeInstance and HttpNodeInstance) to configure environment of the node.exe process to be started, and the path to the node executable itself. Fixes #20 2016-07-18 14:24:07 +01:00
SteveSandersonMS 057efb43c8 aspnet-webpack module now preserves 'path' and 'publicPath' config settings when invoking Webpack compiler. Fixes #176. 2016-07-18 13:55:26 +01:00
David Fowler 8399910a6e PR feedback 2016-07-15 15:16:03 -07:00
David Fowler 14717f2a3f Always allocate the socket closed tcs 2016-07-15 15:16:03 -07:00
David Fowler 142685c0fb Remove state lock from Connection
- Remove the state lock by creating the frame earlier
- Set properties on the frame that need to be set before calling start.
- Don't rely on the copy ctor of the *Context hierarchy to set
*everything*
2016-07-15 15:16:03 -07:00
Cesar Blum Silveira 3bb7f4e2c4 Treat ECONNRESET as a connection error (#934). 2016-07-15 14:53:21 -07:00
Pranav K f9cdef745f Remove Microsoft.AspNet.DataProtection.Extensions 2016-07-15 13:32:27 -07:00
Andrew Stanton-Nurse 91e94b1353 automate the autobahn test suite (#101)
However, we only run that automation if the Autobahn test suite runner
(wstest) is installed. After this is in and we can verify it on the CI
we'll look at making it mandatory for building the repo.

Also includes test applications and scripts for running Autobahn suites
against arbitrary ASP.NET 4.6, ASP.NET Core and HttpListener
applications.
2016-07-15 11:54:24 -07:00
Stephen Halter fbcb5dcb1b Prevent enumeration of queue during modification in SocketOutputTests 2016-07-15 11:53:54 -07:00
Victor Hurdugaci ed91ba0c2f - Fix a NullRef exception that was happening when projects have resx files
- Print the changed file name in all cases
2016-07-15 11:53:45 -07:00
Doug Bunting 52e4ca7232 Put `ModelBindingHelper` on a diet
- remove extra argument checks
- remove two test-only `ConvertTo()` overloads
 - this relates to #4521
2016-07-15 11:53:32 -07:00
jacalvar 57ec8b0f04 [Fixes #228] Update sample app to show more common routing patterns and add functional tests for it. 2016-07-15 11:21:28 -07:00
Pranav K b7a0393311 Register DependencyContextRazorViewEngineOptionsSetup after RazorViewEngineOptionsSetup
Fixes #4902
2016-07-15 10:33:59 -07:00
Ryan Brandenburg 8ec27958e7 Replace Linq in hotpath (#5024) 2016-07-15 10:19:17 -07:00
Victor Hurdugaci c769d8dee9 Fix null ref exception when referencing csproj 2016-07-15 10:05:30 -07:00
zhangmm ea73434979 Fix typo in test name 2016-07-15 10:01:39 -07:00
Ryan Brandenburg e976c0fa22 Include all strings from GetAllStrings (#264) 2016-07-15 10:01:02 -07:00
Mike Harder 0c52529b97 Add tests for HTTPS urls to AddressRegistrationTests (#794)
- Added HttpClientSlim, a lightweight version of HttpClient implemented using Socket and SslStream.
2016-07-14 18:35:47 -07:00
Troy Dai 4927ad6b74 Remove win32.cs 2016-07-14 16:24:56 -07:00
Troy Dai 5637e0c917 Remove unused using statements 2016-07-14 16:24:48 -07:00
Stephen Halter 7e1aa4e1d0 Only test binding to "operational" network interfaces 2016-07-14 16:08:39 -07:00
Doug Bunting 0ec2a3131f Restore `[Fact]` and `[Theory]` attributes
- removed in 310ab25
2016-07-14 15:25:45 -07:00
Troy Dai 6cee57752f Update OpenIdConnectSample
1. Add instruction for OpenIdConnectSample
2. Clear unused using statements
3. Hardcoded server URL in `Program.cs`
2016-07-14 15:25:30 -07:00
John Luo 07b078d4e3 Remove support for specifying only ports in IServerAddresses #197 2016-07-14 13:45:18 -07:00
Chris R 26ed532df5 #210 Disable flaky caching tests. 2016-07-14 10:40:23 -07:00
Ryan Brandenburg 310ab25347 Make tests resilient to Localization (#5011) 2016-07-14 09:28:01 -07:00
Victor Hurdugaci e64b8e55e5 Add some multipart reader utilities to make reading streams easier 2016-07-14 09:25:46 -07:00
John Luo b132b69cb3 Log stack trace when logging exceptions #198 2016-07-13 14:34:43 -07:00
Pavel Krymets 482987bd23 Add tests for If-Unmodified-Since header 2016-07-13 10:12:46 -07:00
Joost van Hassel 8487bf0ae5 14.28 If-Unmodified-Since - Incorrect condition
14.28 If-Unmodified-Since had a condition on ifModifiedSince, which could be undefined. Should be ifUnmodifiedSince
2016-07-13 10:10:56 -07:00
Doug Bunting 9a28932b7a To de-dupe, we must remove (again)
- part of aspnet/Common#93
- use `WebEncoders` from Common repo
- leave some of `WebEncodersTests` to ensure resources are brought in correctly
2016-07-12 16:25:53 -07:00
Doug Bunting 4f30dddb14 To de-dupe, we must remove
- part of aspnet/Common#93
- use `WebEncoders` from Common repo

Also let VS have its way w/ test `.xproj` files
2016-07-12 16:24:41 -07:00
Doug Bunting 95796744c1 Add scaffolding to the MVC sandbox
- need more Tonka trucks
2016-07-12 15:25:13 -07:00
Mike Harder 2f36c80970 Remove skip condition for IPv6 with scope ID on Linux and Mac (#964)
- Was required to workaround https://github.com/dotnet/corefx/issues/8235 which is now fixed.
2016-07-11 17:53:59 -07:00
Hao Kung ec4c08d11a Add missing doc comments 2016-07-11 15:44:06 -07:00
Mike Harder 8a43be94ef AddressRegistrationTests should get local IPs from System.Net.NetworkInformation (#796) 2016-07-11 14:40:12 -07:00
Troy Dai 61d03b9316 Update OIDC Azure Sample
1. Add set up instructions.
2. Add user secret tools.
3. Clean up codes.
2016-07-11 14:08:27 -07:00