5 references to Success
Aspire.Hosting.Tests (5)
ResourceCommandServiceTests.cs (4)
477executeCommand: _ => Task.FromResult(CommandResults.Success("Generated token.", "{\"token\": \"abc123\"}", CommandResultFormat.Json))); 1620return Task.FromResult(CommandResults.Success("Generated token.", $"token-{count}", CommandResultFormat.Text)); 1664var result = CommandResults.Success("Success.", "{\"key\": \"value\"}", CommandResultFormat.Json); 1687var result = CommandResults.Success("Success.", "hello world");
WithProcessCommandTests.cs (1)
429return Task.FromResult(CommandResults.Success("received argument", resultContext.Arguments.GetString("message")!));