1 write to ExecuteResourceCommandArguments
Aspire.Cli.Tests (1)
TestServices\TestAppHostAuxiliaryBackchannel.cs (1)
296ExecuteResourceCommandArguments = 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)
574Assert.Null(backchannel.ExecuteResourceCommandArguments); 611AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("text", "Submitted Aspire!"), ("timeoutMilliseconds", "500")); 649AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("AppHost", "primary")); 684AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("Value", "Hello world")); 744AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("https://example.com/?q=aspire", null)); 771AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("#submit", null), ("extra", null)); 798AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("--selector #submit", null), ("--count 2", null)); 825AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("--verbose", null)); 845AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("--selector #submit", null)); 881AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("timeoutMilliseconds", "500")); 909AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("--message hello", null)); 945AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("timeoutMilliseconds", "500"), ("proxy", "true")); 976AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("proxy", expectedValue)); 1011AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("flavor", "chocolate")); 1103AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("--mm ss", null)); 1303AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("flavor", "strawberry")); 1333AssertJsonObject(backchannel.ExecuteResourceCommandArguments); 1595AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("logLevel", "Debug")); 1624AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("message", "from delimiter"), ("timeoutMilliseconds", "10")); 1654AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("message", "from hidden resource")); 1682AssertJsonObject(backchannel.ExecuteResourceCommandArguments); 1717AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("noProxy", "localhost")); 1763AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("browser", "Chrome")); 1882AssertJsonObject(backchannel.ExecuteResourceCommandArguments, ("category", "fruit")); 1915backchannel.ExecuteResourceCommandArguments, 2076AssertJsonObject(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"]);