23 references to TestOptions
dotnet-watch.Tests (23)
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 (2)
24
TestOptions
.GetCommandLineOptions(["--verbose"]),
26
TestOptions
.GetEnvironmentOptions(workingDirectory: testAsset.Path, TestContext.Current.ToolsetUnderTest.DotNetHostPath, testAsset),
FileWatcher\FileWatcherTests.cs (1)
75
: FileWatcher(logger,
TestOptions
.GetEnvironmentOptions())
HotReload\ApplyDeltaTests.cs (5)
771
var port =
TestOptions
.GetTestPort();
827
var port =
TestOptions
.GetTestPort();
840
var port =
TestOptions
.GetTestPort();
865
var port =
TestOptions
.GetTestPort();
887
var port =
TestOptions
.GetTestPort();
HotReload\CompilationHandlerTests.cs (2)
18
var options =
TestOptions
.GetProjectOptions(["--project", hostProject]);
20
var environmentOptions =
TestOptions
.GetEnvironmentOptions(Environment.CurrentDirectory, "dotnet");
HotReload\RuntimeProcessLauncherTests.cs (2)
99
var environmentOptions =
TestOptions
.GetEnvironmentOptions(workingDirectory ?? testAsset.Path, TestContext.Current.ToolsetUnderTest.DotNetHostPath, testAsset);
103
TestOptions
.GetCommandLineOptions(["--verbose", ..args]),
TestUtilities\MockFileSetFactory.cs (1)
12
new BuildReporter(NullLogger.Instance, new GlobalOptions(),
TestOptions
.GetEnvironmentOptions(Environment.CurrentDirectory, "dotnet") is var options ? options : options))
Watch\BuildEvaluatorTests.cs (2)
14
var environmentOptions =
TestOptions
.GetEnvironmentOptions() with
27
RootProjectOptions =
TestOptions
.ProjectOptions,
Watch\NoRestoreTests.cs (4)
14
environmentOptions ??=
TestOptions
.GetEnvironmentOptions();
24
RootProjectOptions =
TestOptions
.GetProjectOptions(args),
56
var context = CreateContext([],
TestOptions
.GetEnvironmentOptions() with { SuppressMSBuildIncrementalism = true });
66
var context = CreateContext(["--no-restore"],
TestOptions
.GetEnvironmentOptions() with { SuppressMSBuildIncrementalism = true });