1 write to LastArguments
Aspire.Cli.Tests (1)
TestServices\TestProcessExecutionFactory.cs (1)
114LastArguments = args;
21 references to LastArguments
Aspire.Cli.Tests (21)
Commands\RunCommandTests.cs (2)
1585var childArguments = Assert.IsAssignableFrom<IEnumerable<string>>(processFactory.LastArguments); 1677AssertDetachedChildArguments(command, processFactory.LastArguments, "--no-build", expectedAppHostArguments);
Commands\StartCommandTests.cs (1)
292AssertDetachedChildArguments(command, processFactory.LastArguments, "--no-build", expectedAppHostArguments);
Commands\TrayCommandTests.cs (13)
42: ["stop"], factory.LastArguments); 116Assert.NotNull(factory.LastArguments); 119: ["start", "--cli", cliPath, "--bundle-root", bundle.Layout!.LayoutPath!], factory.LastArguments); 139Assert.NotNull(factory.LastArguments); 140Assert.Equal(["start", "--cli", packagedCli, "--bundle-root", bundle.Layout!.LayoutPath!], factory.LastArguments); 153Assert.NotNull(factory.LastArguments); 154Assert.Equal(["start", "--cli", cliPath, "--bundle-root", bundle.Layout!.LayoutPath!], factory.LastArguments); 169Assert.NotNull(factory.LastArguments); 171factory.LastArguments); 220Assert.Equal(action == "start" ? ["start", "--cli", cliPath, "--bundle-root", root, "--startup-cli", cliPath] : ["stop"], factory.LastArguments); 255Assert.Equal(["start", "--cli", cliPath, "--bundle-root", bundle.Layout!.LayoutPath!, "--startup-cli", cliPath], factory.LastArguments!); 688Assert.NotNull(factory.LastArguments); 689Assert.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));