Mcp\AppHostConnectionSelectionLogicTests.cs (19)
36var inScope = CreateConnection(appHostPath: "C:/repo/AppHost1", isInScope: true, processId: 1);
37var outOfScope = CreateConnection(appHostPath: "C:/other/AppHost2", isInScope: false, processId: 2);
49var inScope = CreateConnection(appHostPath: "C:/repo/AppHost1", isInScope: true, processId: 1);
63var inScope = CreateConnection(appHostPath: "C:/repo/AppHost1", isInScope: true, processId: 1);
64var outOfScope = CreateConnection(appHostPath: "C:/other/AppHost2", isInScope: false, processId: 2);
87var firstConnection = CreateConnection(firstPath, isInScope: true, processId: 1);
88var secondConnection = CreateConnection(secondPath, isInScope: true, processId: 2);
160var connection = CreateConnection(realAppHostPath, isInScope: true, processId: 4);
186var inScope = CreateConnection(appHostPath: "C:/repo/AppHost1", isInScope: true, processId: 1);
187var outOfScope = CreateConnection(appHostPath: "C:/other/AppHost2", isInScope: false, processId: 2);
214var connection = CreateConnection(appHostPath: actualAppHostPath, isInScope: true, processId: 3);
239var cachedUnrelated = CreateConnection(appHostPath: "C:/repo/UnrelatedAppHost", isInScope: true, processId: 1);
240var selectedConnection = CreateConnection(appHostPath: selectedAppHostPath, isInScope: false, processId: 2);
262var inScope = CreateConnection(appHostPath: "C:/repo/AppHost1", isInScope: true, processId: 42);
284monitor.AddConnection("hash1", "socket.hash1", CreateConnection("C:/repo/AppHost", isInScope: true, processId: 41));
285monitor.AddConnection("hash2", "socket.hash2", CreateConnection("C:/repo/AppHost", isInScope: true, processId: 42));
302var outOfScope = CreateConnection(appHostPath: "C:/other/AppHost2", isInScope: false, processId: 2);
323monitor.AddConnection("hash1", "socket.hash1", CreateConnection(appHostPath: "C:/repo/AppHost1", isInScope: true, processId: 1));
324monitor.AddConnection("hash2", "socket.hash2", CreateConnection(appHostPath: "C:/repo/AppHost2", isInScope: true, processId: 2));