1 write to ExecuteResourceCommandArguments
Aspire.Cli.Tests (1)
TestServices\TestAppHostAuxiliaryBackchannel.cs (1)
321ExecuteResourceCommandArguments = 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)
614Assert.Null(backchannel.ExecuteResourceCommandArguments); 651AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("text", "Submitted Aspire!"), ("timeoutMilliseconds", "500")); 689AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("AppHost", "primary")); 724AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("Value", "Hello world")); 784AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("https://example.com/?q=aspire", null)); 811AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("#submit", null), ("extra", null)); 838AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("--selector #submit", null), ("--count 2", null)); 865AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("--verbose", null)); 885AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("--selector #submit", null)); 921AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("timeoutMilliseconds", "500")); 949AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("--message hello", null)); 985AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("timeoutMilliseconds", "500"), ("proxy", "true")); 1016AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("proxy", expectedValue)); 1051AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("flavor", "chocolate")); 1143AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("--mm ss", null)); 1343AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("flavor", "strawberry")); 1373AssertJsonObject(backchannel.ExecuteResourceCommandArguments); 1635AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("logLevel", "Debug")); 1664AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("message", "from delimiter"), ("timeoutMilliseconds", "10")); 1694AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("message", "from hidden resource")); 1722AssertJsonObject(backchannel.ExecuteResourceCommandArguments); 1757AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("noProxy", "localhost")); 1803AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("browser", "Chrome")); 1922AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("category", "fruit")); 1955backchannel.ExecuteResourceCommandArguments, 2116AssertJsonObject(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"]);