Bryan Thornbury
d3d64a4033
fix the race condition when generating deps.json, and add some coverage of this scenario
...
update reporter to verbose
fix
fix usings for test
update the test
2016-04-08 18:16:49 -07:00
Andrew Stanton-Nurse
803fef6a8b
fix equality issue in DependencyContextLoader ( #2379 )
...
When checking if the provided assembly is the Entry Point Assembly, we
previously just checked if the AssemblyNames were equal, but it turns
out AssemblyName doesn't implement Equals, so it was using Reference
Equality, which fails. This change uses Assembly.Equals, which has an
Equals implementation that works.
Also adds some tests to ensure it's working.
This unblocks scenarios where the EntityFramework `dotnet-ef` command
was trying to read DependencyContext.Default but receiving a null
reference.
2016-04-08 15:33:32 -07:00
Troy Dai
3d157d0ec8
Merge pull request #2363 from dotnet/troy/2344
...
Stop adding default desktop assembly reference repeatedly.
2016-04-08 15:25:39 -07:00
Sridhar Periyasamy
3af38bf0fe
Merge pull request #2378 from Sridhar-MS/kestrel-fix
...
Increasing timeout to check Kestrel Server is up.
2016-04-08 14:30:08 -07:00
Pawel Kadluczka
44be0cb3c0
Merge pull request #2358 from dotnet/pawelka/outname_pack
...
Enabling creating packages with different names than target libraries
2016-04-08 14:24:29 -07:00
Troy Dai
6a678a0d05
Add unit test for duplicate system references
2016-04-08 14:15:17 -07:00
Troy Dai
c42c60c56b
Add test for mscorlib duplication issue
2016-04-08 14:15:17 -07:00
Sridhar Periyasamy
95accc5f94
Increasing timeout to check Kestrel Server is up.
...
KestrelSample app compilation time on CI machines is 16-20s and the test timeouts even before the kestrel server is up, which I suspect is the reason why kestrel tests are flaky.
2016-04-08 12:42:43 -07:00
Eric Erhardt
5684f9933d
Fix dotnet-test.UnitTests now that ProjectWithTests has moved outside of TestAssets/TestProjects.
2016-04-08 11:35:13 -05:00
Eric Erhardt
e5e7ab1e47
Fixing dotnet.Tests to pass the correct TFM into the dependency-tool-invoker.
2016-04-08 10:30:26 -05:00
Eric Erhardt
7d6d74bba2
Fixing dotnet-test.Tests to use a portable test app - ProjectWithTests.
...
The ProjectWithTests needed to be moved outside of TestAssets\TestProjects because it can't be restored --infer-runtimes and it has to be built with netcoreapp1.0.
2016-04-08 09:35:06 -05:00
Eric Erhardt
8a9068efbf
Fixing tests now they are portable.
...
2 tests needed to lift System.Diagnostics.TraceSource since it isn't in the shared framework.
The ArgumentReflector is now a portable app, so it needs to be invoked with "dotnet".
2016-04-08 09:34:00 -05:00
Eric Erhardt
4c704997c9
Remove infer-runtimes from EndToEnd tests.
2016-04-08 09:32:56 -05:00
Eric Erhardt
6fa859a354
Fix ProjectDependenciesCommandResolver for portable test apps.
...
Update to dotnet-test-xunit to latest.
2016-04-08 09:32:52 -05:00
Eric Erhardt
6ae044e5e1
Fix non-windows builds of Microsoft.NETCore.App.
...
Fix all test project.jsons to be portable apps.
2016-04-08 09:31:55 -05:00
Eric Erhardt
99371436f3
Consume NETCore.App
2016-04-08 09:27:23 -05:00
Piotr Puszkiewicz
85608e42cc
Merge branch 'rel/1.0.0' into pawelka/outname_pack
2016-04-08 04:27:58 -07:00
Matt Ellis
d0ac16129d
Update package dependencies to rc2-24008
2016-04-08 04:05:26 -07:00
Matt Ellis
b184ba23e6
Remove extra reference
2016-04-08 04:05:26 -07:00
Piotr Puszkiewicz
933c63b2d5
Add delay between attempts to contact the server
2016-04-08 03:07:33 -07:00
moozzyk
6a571e5b2a
Enabling creating packages with different names than target libraries
...
Addresses #2322
2016-04-07 16:06:59 -07:00
Sridhar Periyasamy
5768f4c973
Merge pull request #2297 from Sridhar-MS/fix-2126
...
Execute project dependency command from output directory for Desktop.
2016-04-07 13:46:30 -07:00
Sridhar Periyasamy
4de28dc58b
Fix windows x86 test failure.
...
Use the correct rid for windows x86 in the test.
2016-04-07 10:54:31 -07:00
Pavel Krymets
a1d4641b8e
Merge pull request #2329 from natemcmaster/namc/dep-context
...
Fix bug in dependency context adding assets to wrong groups
2016-04-07 09:57:33 -07:00
Peter Marcu
aa88de1e6c
Merge pull request #2198 from dotnet/Petermarcu-update-netcoreapp
...
Update project.json template to be netcoreapp1.0
2016-04-07 09:07:37 -07:00
Bryan Thornbury
3e903438b3
Merge pull request #2319 from dotnet/brthor/remove-nuget-config
...
Remove NuGet.config from the default dotnet new drop.
2016-04-06 22:35:12 -07:00
Nate McMaster
bfdedfd75c
Fix #2327 - fix bug in dependency context adding assets to wrong groups
2016-04-06 20:35:56 -07:00
Krzysztof Wicher
0fcb3c9079
Fix dotnet run test
2016-04-06 15:37:43 -07:00
Bryan Thornbury
939366165f
Remove NuGet.config from the default dotnet new drop. Patch the tests to cover this gap until corefx is on nuget.org
2016-04-06 14:34:39 -07:00
Sridhar Periyasamy
b772db9b29
Merge pull request #2269 from Sridhar-MS/kestrel-tests2
...
Add kestrel tests.
2016-04-06 14:25:15 -07:00
Sridhar Periyasamy
71680d30aa
Add tests to check the dependency tool load location.
2016-04-06 11:52:48 -07:00
Eric Erhardt
965547bd8a
Merge pull request #2145 from dotnet/lakshanf/issue2066/telemetry
...
Lakshanf/issue2066/telemetry
2016-04-05 19:37:58 -05:00
Livar
95a7d5607f
Merge pull request #2284 from livarcocc/tests_with_same_name
...
Changing the name of two tests that conflict with each other and fail…
2016-04-05 14:43:54 -07:00
Sridhar Periyasamy
91adaa2b8c
Merge branch 'rel/1.0.0' of https://github.com/dotnet/cli into kestrel-tests2
2016-04-05 14:40:07 -07:00
Sridhar Periyasamy
dbb25d8fb3
Get free port starting from 8001 instead of using TcpListener.
...
Enable kestrel tests to run in parallel.
2016-04-05 14:16:12 -07:00
Eric Erhardt
5e617bbb43
Merge pull request #2283 from eerhardt/NewNuGet
...
Update NuGet to 3.5.0-beta-1130
2016-04-05 15:29:10 -05:00
Livar Cunha
a07c396129
Changing the name of two tests that conflict with each other and fail inconsistently when the tests run in parallel because they stomp on each other.
2016-04-05 12:06:30 -07:00
Eric Erhardt
ed82fd2e66
Update NuGet to 3.5.0-beta-1130
2016-04-05 13:42:16 -05:00
Troy Dai
cb14076b38
Merge pull request #2249 from dotnet/troy/2200
...
Use default version for unresolved MSBuild reference
2016-04-05 09:05:18 -07:00
Pavel Krymets
87ee62c282
Merge pull request #2226 from dotnet/pakrym/no-trim-refs
...
Do not trim refs
2016-04-05 08:55:41 -07:00
Troy Dai
e63c0f82c9
Use default version for unresolved MSBuild reference
2016-04-05 08:32:58 -07:00
Troy Dai
c6eb0fa59a
Add test cover adding MSBuild reference scenario
2016-04-05 08:32:58 -07:00
Troy Dai
16bd0dd10d
Merge pull request #2247 from dotnet/troy/dth.tests
...
Add two tests for project model server
2016-04-05 08:30:55 -07:00
Pavel Krymets
8831bb4a8b
Do not trim refs
2016-04-05 08:06:17 -07:00
Dan Quirk
0d067be964
Use static member
2016-04-04 18:58:22 -07:00
Sridhar Periyasamy
17b7d34bb9
Disable running Kestrel tests in parallel.
2016-04-04 18:45:08 -07:00
Sridhar Periyasamy
8f00b95783
Add kestrel tests.
...
Tests will 'build', 'run', 'publish' and 'execute' a Kestrel Hello World server as a PortableFatApp and as a Standalone app.
2016-04-04 17:57:12 -07:00
Lakshan Fernando
e077b60382
add test dependency
2016-04-04 15:26:06 -07:00
Lakshan Fernando
a506a25c18
using typo
2016-04-04 15:26:06 -07:00
Lakshan Fernando
25745d9d4e
Implemented Telemetry class via an interface for test ease
2016-04-04 15:26:06 -07:00