1 write to LastArguments
Aspire.Cli.Tests (1)
TestServices\TestProcessExecutionFactory.cs (1)
115LastArguments = args;
20 references to LastArguments
Aspire.Cli.Tests (20)
Commands\RunCommandTests.cs (2)
1574var childArguments = Assert.IsAssignableFrom<IEnumerable<string>>(processFactory.LastArguments); 1666AssertDetachedChildArguments(command, processFactory.LastArguments, "--no-build", expectedAppHostArguments);
Commands\StartCommandTests.cs (1)
259AssertDetachedChildArguments(command, processFactory.LastArguments, "--no-build", expectedAppHostArguments);
Commands\TrayCommandTests.cs (12)
52Assert.NotNull(factory.LastArguments); 55: ["start", "--cli", cliPath, "--bundle-root", bundle.Layout!.LayoutPath!], factory.LastArguments); 75Assert.NotNull(factory.LastArguments); 76Assert.Equal(["start", "--cli", packagedCli, "--bundle-root", bundle.Layout!.LayoutPath!], factory.LastArguments); 89Assert.NotNull(factory.LastArguments); 90Assert.Equal(["start", "--cli", cliPath, "--bundle-root", bundle.Layout!.LayoutPath!], factory.LastArguments); 105Assert.NotNull(factory.LastArguments); 107factory.LastArguments); 156Assert.Equal(action == "start" ? ["start", "--cli", cliPath, "--bundle-root", root, "--startup-cli", cliPath] : ["stop"], factory.LastArguments); 191Assert.Equal(["start", "--cli", cliPath, "--bundle-root", bundle.Layout!.LayoutPath!, "--startup-cli", cliPath], factory.LastArguments!); 622Assert.NotNull(factory.LastArguments); 623Assert.Equal(["stop"], factory.LastArguments);
ProfileCaptureServiceTests.cs (3)
56var arguments = processFactory.LastArguments; 105Assert.Equal("dashboard", Assert.IsType<string[]>(processFactory.LastArguments)[0]); 174Assert.DoesNotContain("dashboard", Assert.IsType<string[]>(processFactory.LastArguments));
Telemetry\InternalMicrosoftDetectorTests.cs (2)
660var arguments = Assert.IsType<string[]>(processFactory.LastArguments); 882Assert.Equal(["platform", "-s"], Assert.IsType<string[]>(processFactory.LastArguments));