13 references to GetEnvironmentOptions
dotnet-watch.Tests (13)
Build\EvaluationTests.cs (3)
429
var options = TestOptions.
GetEnvironmentOptions
(workingDirectory: testDirectory, muxerPath: MuxerPath);
489
var options = TestOptions.
GetEnvironmentOptions
(workingDirectory: Path.GetDirectoryName(project1Path)!, muxerPath: MuxerPath);
527
var options = TestOptions.
GetEnvironmentOptions
(workingDirectory: testDir, muxerPath: MuxerPath) with { TestOutput = testDir };
CommandLine\EnvironmentOptionsTests.cs (1)
14
var envOptions = TestOptions.
GetEnvironmentOptions
(workingDirectory);
CommandLine\ProgramTests.cs (1)
26
TestOptions.
GetEnvironmentOptions
(workingDirectory: testAsset.Path, TestContext.Current.ToolsetUnderTest.DotNetHostPath, testAsset),
FileWatcher\FileWatcherTests.cs (1)
75
: FileWatcher(logger, TestOptions.
GetEnvironmentOptions
())
HotReload\CompilationHandlerTests.cs (1)
20
var environmentOptions = TestOptions.
GetEnvironmentOptions
(Environment.CurrentDirectory, "dotnet");
HotReload\RuntimeProcessLauncherTests.cs (1)
99
var environmentOptions = TestOptions.
GetEnvironmentOptions
(workingDirectory ?? testAsset.Path, TestContext.Current.ToolsetUnderTest.DotNetHostPath, testAsset);
TestUtilities\MockFileSetFactory.cs (1)
12
new BuildReporter(NullLogger.Instance, new GlobalOptions(), TestOptions.
GetEnvironmentOptions
(Environment.CurrentDirectory, "dotnet") is var options ? options : options))
Watch\BuildEvaluatorTests.cs (1)
14
var environmentOptions = TestOptions.
GetEnvironmentOptions
() with
Watch\NoRestoreTests.cs (3)
14
environmentOptions ??= TestOptions.
GetEnvironmentOptions
();
56
var context = CreateContext([], TestOptions.
GetEnvironmentOptions
() with { SuppressMSBuildIncrementalism = true });
66
var context = CreateContext(["--no-restore"], TestOptions.
GetEnvironmentOptions
() with { SuppressMSBuildIncrementalism = true });