17 references to Started
Aspire.Tray.Tests (17)
CliAppHostClientTests.cs (1)
35Assert.Equal(new StartResult(StartOutcome.Started, 0),
CliAppHostCommandsTests.cs (1)
264Assert.Equal(new StartResult(exitCode == 0 ? StartOutcome.Started : StartOutcome.Failed, exitCode), result);
src\Aspire.Tray\Common\CliAppHostCommands.cs (1)
82return new(process.ExitCode == 0 ? StartOutcome.Started : StartOutcome.Failed, process.ExitCode);
src\Aspire.Tray\Common\TrayController.cs (5)
430if (result.Outcome != StartOutcome.Started) 445if (!operation.Discovered && result.Outcome is StartOutcome.Started or StartOutcome.TimedOut) 602|| operation.Result?.Outcome != StartOutcome.Started || operation.Discovered || operation.ReconciliationExpired)) 675null or StartOutcome.Started => null, 733public bool IsPending => Result is null || (Result.Outcome == StartOutcome.Started && !Discovered && !ReconciliationExpired);
TrayControllerPinPruningTests.cs (1)
174client.CompleteStart(path, new(StartOutcome.Started, 0));
TrayControllerPreferencesTests.cs (1)
139client.CompleteStart(path, new(StartOutcome.Started, 0));
TrayControllerSavedStateTests.cs (7)
36client.CompleteStart(path, new(successful ? StartOutcome.Started : StartOutcome.TimedOut, null)); 75client.CompleteStart(path, new(successful ? StartOutcome.Started : StartOutcome.TimedOut, null)); 109client.CompleteStart(path, new(StartOutcome.Started, 0)); 137client.CompleteStart(path, new(StartOutcome.Started, 0)); 176client.CompleteStart(path, new(StartOutcome.Started, 0)); 206client.CompleteStart(path, new(successful ? StartOutcome.Started : StartOutcome.TimedOut, null)); 454client.CompleteStart(first, new(StartOutcome.Started, 0));