add support for type: platform

also some refactoring of DependencyContext to properly handle
placeholders in 'runtimeTargets'.
This commit is contained in:
Andrew Stanton-Nurse 2016-03-17 11:56:57 -07:00
parent 39584c5612
commit 43512b8973
60 changed files with 870 additions and 572 deletions

View file

@ -36,7 +36,7 @@ namespace Microsoft.Extensions.DependencyModel.Tests
{
var runtime = new Mock<IRuntimeEnvironment>();
runtime.SetupGet(r => r.OperatingSystemPlatform).Returns(Platform.Windows);
var environment = EnvironmentMockBuilder.Create()
.AddVariable("DOTNET_REFERENCE_ASSEMBLIES_PATH", ReferencePath)
.Build();