48 references to CreatedExecutions
Aspire.Cli.Tests (48)
Commands\DashboardRunCommandTests.cs (1)
209Assert.Empty(executionFactory.CreatedExecutions);
Commands\GoAppHostToolingCheckTests.cs (3)
429var execution = Assert.IsType<TestProcessExecution>(Assert.Single(processExecutionFactory.CreatedExecutions)); 501var execution = Assert.IsType<TestProcessExecution>(Assert.Single(processExecutionFactory.CreatedExecutions)); 520var execution = Assert.IsType<TestProcessExecution>(Assert.Single(processExecutionFactory.CreatedExecutions));
Commands\StopCommandTests.cs (10)
101Assert.Empty(processFactory.CreatedExecutions); 167Assert.Empty(processFactory.CreatedExecutions); 204Assert.Empty(processFactory.CreatedExecutions); 255Assert.Empty(processFactory.CreatedExecutions); 1246Assert.Single(processFactory.CreatedExecutions); 1284Assert.Empty(processFactory.CreatedExecutions); 1322Assert.Empty(processFactory.CreatedExecutions); 1356Assert.Empty(processFactory.CreatedExecutions); 2382Assert.Empty(processFactory.CreatedExecutions); 2448var execution = Assert.Single(processFactory.CreatedExecutions.OfType<TestProcessExecution>(), execution =>
Commands\TrayCommandTests.cs (12)
84Assert.Empty(factory.CreatedExecutions); 232Assert.Equal(1, Assert.IsType<TestProcessExecution>(Assert.Single(factory.CreatedExecutions)).DisposeCount); 298Assert.Empty(factory.CreatedExecutions); 332Assert.Empty(factory.CreatedExecutions); 372Assert.Empty(factory.CreatedExecutions); 486Assert.Equal(1, Assert.IsType<TestProcessExecution>(Assert.Single(factory.CreatedExecutions)).DisposeCount); 535Assert.Equal(1, Assert.IsType<TestProcessExecution>(Assert.Single(factory.CreatedExecutions)).DisposeCount); 562Assert.Empty(factory.CreatedExecutions); 579Assert.Empty(factory.CreatedExecutions); 597Assert.Empty(factory.CreatedExecutions); 684Assert.Empty(factory.CreatedExecutions); 725Assert.Empty(factory.CreatedExecutions);
Processes\ProcessTreeGracefulShutdownServiceTests.cs (2)
51Assert.Empty(executionFactory.CreatedExecutions); 86Assert.Empty(executionFactory.CreatedExecutions);
ProfileCaptureServiceTests.cs (3)
81var process = Assert.IsType<TestProcessExecution>(Assert.Single(processFactory.CreatedExecutions)); 142Assert.Empty(processFactory.CreatedExecutions); 273var process = Assert.IsType<TestProcessExecution>(Assert.Single(processFactory.CreatedExecutions));
Projects\GuestRuntimeTests.cs (1)
617processExecutionFactory.CreatedExecutions,
TestServices\DcpConnectionTestProcess.cs (1)
131var process = Assert.Single(recordingFactory.CreatedExecutions);
TestServices\TestProcessExecutionFactory.cs (3)
126CreatedExecutions.Add(execution); 134CreatedExecutions.Add(execution); 145CreatedExecutions.Add(testExecution);
Utils\DcpConnectionHealthCheckTests.cs (10)
198var execution = Assert.IsType<TestProcessExecution>(Assert.Single(factory.CreatedExecutions)); 250Assert.Empty(factory.CreatedExecutions); 262var execution = Assert.IsType<TestProcessExecution>(Assert.Single(factory.CreatedExecutions)); 281var execution = Assert.IsType<TestProcessExecution>(Assert.Single(factory.CreatedExecutions)); 300AssertKilledAndCleanedUp(Assert.IsType<TestProcessExecution>(Assert.Single(factory.CreatedExecutions))); 334AssertKilledAndCleanedUp(Assert.IsType<TestProcessExecution>(Assert.Single(factory.CreatedExecutions))); 352AssertKilledAndCleanedUp(Assert.IsType<TestProcessExecution>(Assert.Single(factory.CreatedExecutions))); 394var execution = Assert.IsType<TestProcessExecution>(Assert.Single(factory.CreatedExecutions)); 415var execution = Assert.IsType<TestProcessExecution>(Assert.Single(factory.CreatedExecutions)); 431var execution = Assert.IsType<TestProcessExecution>(Assert.Single(factory.CreatedExecutions));
Utils\DevCertsCheckTests.cs (2)
664var processExecution = Assert.IsType<TestProcessExecution>(Assert.Single(processExecutionFactory.CreatedExecutions)); 723var processExecution = Assert.IsType<TestProcessExecution>(Assert.Single(processExecutionFactory.CreatedExecutions));