1 write to ExecuteResourceCommandArguments
Aspire.Cli.Tests (1)
TestServices\TestAppHostAuxiliaryBackchannel.cs (1)
307ExecuteResourceCommandArguments = options?.Arguments;
35 references to ExecuteResourceCommandArguments
Aspire.Cli.Tests (35)
Commands\ResourceCommandHelperTests.cs (2)
142Assert.NotNull(connection.ExecuteResourceCommandArguments); 143Assert.Equal("#submit", connection.ExecuteResourceCommandArguments["selector"]!.GetValue<string>());
Commands\ResourceCommandTests.cs (26)
572Assert.Null(backchannel.ExecuteResourceCommandArguments); 609AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("text", "Submitted Aspire!"), ("timeoutMilliseconds", "500")); 647AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("AppHost", "primary")); 682AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("Value", "Hello world")); 742AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("https://example.com/?q=aspire", null)); 769AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("#submit", null), ("extra", null)); 796AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("--selector #submit", null), ("--count 2", null)); 823AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("--verbose", null)); 843AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("--selector #submit", null)); 879AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("timeoutMilliseconds", "500")); 907AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("--message hello", null)); 943AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("timeoutMilliseconds", "500"), ("proxy", "true")); 974AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("proxy", expectedValue)); 1009AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("flavor", "chocolate")); 1101AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("--mm ss", null)); 1301AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("flavor", "strawberry")); 1331AssertJsonObject(backchannel.ExecuteResourceCommandArguments); 1593AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("logLevel", "Debug")); 1622AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("message", "from delimiter"), ("timeoutMilliseconds", "10")); 1652AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("message", "from hidden resource")); 1680AssertJsonObject(backchannel.ExecuteResourceCommandArguments); 1715AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("noProxy", "localhost")); 1761AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("browser", "Chrome")); 1880AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("category", "fruit")); 1913backchannel.ExecuteResourceCommandArguments, 2074AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("--help", null));
Mcp\ExecuteResourceCommandToolTests.cs (7)
91Assert.NotNull(connection.ExecuteResourceCommandArguments); 92Assert.Equal("#submit", connection.ExecuteResourceCommandArguments["selector"]!.GetValue<string>()); 112Assert.NotNull(connection.ExecuteResourceCommandArguments); 113Assert.Equal("3", connection.ExecuteResourceCommandArguments["count"]!.GetValue<string>()); 114Assert.Equal("true", connection.ExecuteResourceCommandArguments["urgent"]!.GetValue<string>()); 115Assert.Equal("1.5", connection.ExecuteResourceCommandArguments["ratio"]!.GetValue<string>()); 116Assert.Null(connection.ExecuteResourceCommandArguments["optional"]);