1 write to _contentDirectory
Microsoft.AspNetCore.TestHost.Tests (1)
UseSolutionRelativeContentRootTests.cs (1)
19
_contentDirectory
= Path.Combine(_tempDirectory, "src");
9 references to _contentDirectory
Microsoft.AspNetCore.TestHost.Tests (9)
UseSolutionRelativeContentRootTests.cs (9)
20
Directory.CreateDirectory(
_contentDirectory
);
38
Assert.Equal(
_contentDirectory
, environment.ContentRootPath);
63
Assert.Equal(
_contentDirectory
, environment.ContentRootPath);
92
Assert.Equal(
_contentDirectory
, environment.ContentRootPath);
98
var expectedPath = Path.Combine(
_contentDirectory
, "sub");
102
var slnxFile = Path.Combine(
_contentDirectory
, "TestApp.slnx");
116
builder.UseSolutionRelativeContentRoot("sub",
_contentDirectory
, ["*.sln", "*.slnx"]);
147
Assert.Equal(
_contentDirectory
, environment.ContentRootPath);
188
Assert.Equal(
_contentDirectory
, environment.ContentRootPath);