Commit Graph

37701 Commits

Author SHA1 Message Date
Jass Bagga 3eae7cc393 Add AggregateExceptionTest (#6135)
Test for aspnet/Common#215
2017-04-14 14:20:31 -07:00
N. Taylor Mullen ee1fd61e64 Uncap version max for vsix manifest. 2017-04-14 14:12:47 -07:00
N. Taylor Mullen 6f7cb763a2 Update TModel code generation.
- Prior to this TModel would be set to a potentially non-fully qualified name. This would cause errors in default MVC templates.
- Regenerated test files to reflect new TModel.
- Updated unit test to reflect new behavior.

#1222
2017-04-14 12:32:20 -07:00
N. Taylor Mullen d273c6cd4c Ensure output hint descriptors don't schema check.
- Prior to this if you had a `TagHelper` whos output hint was not in the final form of the completions we'd fall through into a schema check which resulted in a completion being added when it shouldn't. Example: `TagHelper` for `my-tr` that has an output hint of `tr` would end up getting added to the completion list under `body` because `my-tr` was not in the schema and would then be treated like the `environment` `TagHelper` (a new element).
- Added a test to validate that `TagHelper`s with output hints are cross referenced vs. existing completions and do not fall through to a schema check.

#1225
2017-04-14 12:14:52 -07:00
John Luo 6e22dbcdc6 Missed rename in commit 2017-04-14 12:14:29 -07:00
Ajay Bhargav Baaskaran 0b17f14d68 Moved AddTagHelperHtmlAttribute from renderer to writer 2017-04-14 11:49:56 -07:00
N. Taylor Mullen cf44f103c1 Prefix TagHelpers with tag helper prefix in completion list.
- We don't want tooling applying tag helper prefix to what we deem `TagHelper`s. Ultimately we should consume all the necessary data and do that work.
- Added two tests to validate that we're applying tag helper prefix to `TagHelper` element completions for catch-all's and non-catch-alls.

#1224
2017-04-14 11:40:28 -07:00
John Luo da403d4d16 Long path woes 2017-04-14 10:50:24 -07:00
Andrew Stanton-Nurse a9a8f45158 change autobahn tests to use dynamic port (#167) 2017-04-14 10:48:44 -07:00
Pranav K b8aa060f32 Target 1.0.4 RuntimeFrameworkVersion in the tool 2017-04-14 10:00:02 -07:00
David Fowler 9e37272f06 Clean up the logic in DoReceive 2017-04-14 01:39:56 -07:00
David Fowler aedd061865 Tweaks to socket transport (#1687)
- Style changes: Sort usings, use more var and C#7
- Added ConfigureAwait to stop dead locks with xunit
- Remove duplicate handling of aborts in the receiver
- Handle the case where output ends before input
2017-04-14 01:14:21 -07:00
John Luo 9e92b1189b Fix typo 2017-04-14 00:33:00 -07:00
Kiran Challa 229d817d83 Unskipped standalone Windows OS functional tests 2017-04-14 00:06:37 -07:00
N. Taylor Mullen 46a5ca972f Allow catch-all THDs to apply to all completions.
- Prior to this catch-alls were explicitly ignored not to populate the IntelliSense with an excess amount of `TagHelper`s. To maintain backwards compatible expectations this commit reverts that expectation.
- Scoped an existing test to only test its primary scenario.
- Added a new test to verify that catch-alls accurately apply to all completions (including dynamically added ones).

#1219
2017-04-13 23:35:59 -07:00
Kiran Challa b52430674f Unskipped standalone functional tests 2017-04-13 23:21:29 -07:00
Geoff Kizer efa0a48fb1 Add initial Socket transport for Kestrel (#1659)
- This change adds the initial socket transport for Kestrel, all of the tests pass but there are still
a couple of things that aren't done yet.
- The functional tests support running both on both transports but tests aren't running for sockets right now. We need to parameterize these. 
- TimeoutServerTests hard code the libuv transport, this needs to support any transport.
- There is no handling of connection stopping on application shutdown. This is being implemented in kestrel core so transports don't need to handle it. Sockets won't be the default transport until that is the case.
- Performance needs to be looked at, today the SocketTransport doesn't dispatch by default and we're not buffering in kestrel.core, this can hurt as the number of kernel calls map 1:1 with application writes.
2017-04-13 23:10:06 -07:00
John Luo 0723d46ec4 Honor PreferHostingUrls #1575 2017-04-13 18:12:53 -07:00
John Luo 4d6bdba554 Add nuspec and version.txt to artifacts 2017-04-13 17:32:23 -07:00
John Luo 404960ce1a Use name suggested in Coherence-Signed#439 2017-04-13 16:10:30 -07:00
Pavel Krymets 3045cff3c5 Fix adapted output pipe options (#1682) 2017-04-13 15:54:48 -07:00
John Luo fa96eaf655 Add build version number to package cache zip names 2017-04-13 15:39:23 -07:00
Kiran Challa fb28efe4f8 Removed code supplying runtime identifier to deployers 2017-04-13 15:07:18 -07:00
Ajay Bhargav Baaskaran cd486226d6 [Fixes #1195] Add a way to parse just until the first directive 2017-04-13 15:02:17 -07:00
Kiran Challa 0e0019b4fe Removed code supplying runtime identifier to deployers 2017-04-13 14:55:29 -07:00
Kiran Challa 0822dd74ac Updated NuGetPackageVerifier.json to add exclusion for Microsoft.AspNetCore.Server.IntegrationTesting 2017-04-13 14:51:10 -07:00
Andrew Stanton-Nurse bad5d7c8f7 fix build 2017-04-13 14:25:23 -07:00
Kiran Challa f1a59d030e Supply runtime identifier on publishing standalone apps 2017-04-13 14:19:18 -07:00
Ryan Nowak c0e3519bc3 Set an order on @inject to run behind @namespace
The problem is that @inject uses the type name, and @namespace can change
it. Setting an explicit order makes sure that these things happen in a
sensible sequence.
2017-04-13 13:59:47 -07:00
Jass Bagga d8a95c731b Move RazorViewEngineOptionsSetup to internal namespace (#6125)
Addresses #6116
2017-04-13 13:35:35 -07:00
Ryan Brandenburg 99fa2d1cd3 New version of Microsoft.AspNetCore.Server.IntegrationTesting 2017-04-13 13:34:03 -07:00
Kiran Challa 1d3747c071 Skipped standalone tests temporarily 2017-04-13 13:12:18 -07:00
Pranav K c8a1bb6914 React to deps file casing change
Fixes #6122
2017-04-13 13:09:00 -07:00
Meirion Hughes 37df30929c Update Aurelia SPA template 2017-04-13 20:54:56 +01:00
Stephen Halter 6036f27f52 Fix deadlocks in startup and shutdown 2017-04-13 12:47:34 -07:00
Kiran Challa 676f4ba3e4 Converted test projects to run on netcoreapp2.0 2017-04-13 11:15:40 -07:00
Kiran Challa cc1b5f4d5b Converted test projects to run on netcoreapp2.0 2017-04-13 11:11:27 -07:00
N. Taylor Mullen 3b31e977b2 Fix ability to generate baselines.
- Prior to this removing the `__RemoveThisBitTo__` wasn't sufficient to generate baselines; reason being the constants were defined in the wrong assembly. Since we moved test infrastructure bits around the constants needed to follow.
2017-04-13 11:07:02 -07:00
N. Taylor Mullen 688731983c Add dependencies.props to Solution Items. 2017-04-13 11:05:19 -07:00
Pranav K ba8675507c Remove dependency on Microsoft.AspNetCore.Testing from test specifications 2017-04-13 10:19:06 -07:00
Jonathan Channon f2f643ad15 Updated XML documentation for HttpResponse.Body (#816) 2017-04-13 09:57:35 -07:00
Andrew Stanton-Nurse e25a2eced8 port dotnet/corefx#17444 to WebSockets (#162) 2017-04-13 09:55:45 -07:00
Nate McMaster ed4a27a827 Remove ListenOptions.Scheme and move IConnectionFilter to .Internal namespace
Add an internal API to ListenOptions to determine if an endpoint is configured to use HTTPS. This is a temporary as the design of connection adapters and configuration will churn before release.
2017-04-13 09:45:26 -07:00
David Fowler 8258d300e2 Small tweaks to timer logic (#1668)
- Avoid null refs in tests by ignoring null IKestrelTrace
- Use a static callback for the timer callback

Fixes #1667
2017-04-13 09:29:43 -07:00
Chris R a8c61b5abc Add ConfigureAwait to prevent xunit hangs 2017-04-13 07:46:51 -07:00
Chris R 8b6d933711 Add ConfigureAwaits to prevent test deadlocks 2017-04-13 07:26:51 -07:00
Chris R 4e8872b94d Implement IServer.StopAsync 2017-04-12 22:30:46 -07:00
Chris R e043fa871e Make IServer Start and Stop async 2017-04-12 22:23:05 -07:00
Chris R 62f74d5be0 #947 Add IServer.StopAsyc, IWebHost.StopAsync, and make Start async 2017-04-12 21:56:19 -07:00
Kiran Challa e08e63a033 Updated to use 1.0.2 version of PackagePublisher 2017-04-12 21:30:59 -07:00