280 instantiations of TestProjectLocator
Aspire.Cli.Tests (280)
Agents\AgentConfigurationTestContext.cs (1)
70options.ProjectLocatorFactory = _ => new TestProjectLocator();
Backchannel\AppHostConnectionResolverTests.cs (15)
44new TestProjectLocator(), 72var projectLocator = new TestProjectLocator 117new TestProjectLocator(), 150new TestProjectLocator(), 193var projectLocator = new TestProjectLocator 231var projectLocator = new TestProjectLocator 266var projectLocator = new TestProjectLocator 305new TestProjectLocator(), 337new TestProjectLocator(), 389new TestProjectLocator(), 441new TestProjectLocator(), 481new TestProjectLocator(), 519new TestProjectLocator(), 556new TestProjectLocator(), 593new TestProjectLocator(),
Commands\AddCommandTests.cs (40)
606options.ProjectLocatorFactory = _ => new TestProjectLocator 1371options.ProjectLocatorFactory = _ => new TestProjectLocator 1518options.ProjectLocatorFactory = _ => new TestProjectLocator 2193options.ProjectLocatorFactory = _ => new TestProjectLocator(); 2231options.ProjectLocatorFactory = _ => new TestProjectLocator 2289options.ProjectLocatorFactory = _ => new TestProjectLocator(); 2374options.ProjectLocatorFactory = _ => new TestProjectLocator(); 2457options.ProjectLocatorFactory = _ => new TestProjectLocator(); 2541options.ProjectLocatorFactory = _ => new TestProjectLocator(); 2614options.ProjectLocatorFactory = _ => new TestProjectLocator(); 2707options.ProjectLocatorFactory = _ => new TestProjectLocator 2774options.ProjectLocatorFactory = _ => new TestProjectLocator(); 2862options.ProjectLocatorFactory = _ => new TestProjectLocator(); 2923options.ProjectLocatorFactory = _ => new TestProjectLocator(); 2997options.ProjectLocatorFactory = _ => new TestProjectLocator(); 3072options.ProjectLocatorFactory = _ => new TestProjectLocator(); 3143options.ProjectLocatorFactory = _ => new TestProjectLocator(); 3220options.ProjectLocatorFactory = _ => new TestProjectLocator(); 3293options.ProjectLocatorFactory = _ => new TestProjectLocator(); 3381options.ProjectLocatorFactory = _ => new TestProjectLocator(); 3473options.ProjectLocatorFactory = _ => new TestProjectLocator(); 3529options.ProjectLocatorFactory = _ => new TestProjectLocator(); 3978options.ProjectLocatorFactory = _ => new TestProjectLocator(); 4166options.ProjectLocatorFactory = _ => new TestProjectLocator(); 4228options.ProjectLocatorFactory = _ => new TestProjectLocator(); 4494options.ProjectLocatorFactory = _ => new TestProjectLocator 4563options.ProjectLocatorFactory = _ => new TestProjectLocator 5329options.ProjectLocatorFactory = _ => new TestProjectLocator(); 5415options.ProjectLocatorFactory = _ => new TestProjectLocator(); 5466options.ProjectLocatorFactory = _ => new TestProjectLocator(); 5526options.ProjectLocatorFactory = _ => new TestProjectLocator(); 5595options.ProjectLocatorFactory = _ => new TestProjectLocator(); 5645options.ProjectLocatorFactory = _ => new TestProjectLocator(); 5697options.ProjectLocatorFactory = _ => new TestProjectLocator(); 5762options.ProjectLocatorFactory = _ => new TestProjectLocator(); 5854options.ProjectLocatorFactory = _ => new TestProjectLocator(); 5938options.ProjectLocatorFactory = _ => new TestProjectLocator(); 6026options.ProjectLocatorFactory = _ => new TestProjectLocator(); 6114options.ProjectLocatorFactory = _ => new TestProjectLocator(); 6184options.ProjectLocatorFactory = _ => new TestProjectLocator();
Commands\AgentInitClientSelectionTests.cs (2)
507options.ProjectLocatorFactory = _ => new TestProjectLocator(); 556options.ProjectLocatorFactory = _ => new TestProjectLocator();
Commands\AgentInitCommandTests.cs (3)
84var locator = new TestProjectLocator 121options.ProjectLocatorFactory = _ => new TestProjectLocator 146options.ProjectLocatorFactory = _ => new TestProjectLocator
Commands\AgentMcpCommandTests.cs (2)
51options.ProjectLocatorFactory = _ => new TestProjectLocator(); 1652var projectLocator = new TestProjectLocator
Commands\AppHostLauncherTests.cs (1)
1355var projectLocator = new TestProjectLocator
Commands\BaseCommandTests.cs (11)
233var projectLocator = new TestProjectLocator 264var projectLocator = new TestProjectLocator 385var projectLocator = new TestProjectLocator 416var projectLocator = new TestProjectLocator 462var projectLocator = new TestProjectLocator 594var projectLocator = new TestProjectLocator 645var projectLocator = new TestProjectLocator 713var projectLocator = new TestProjectLocator 742var projectLocator = new TestProjectLocator 787var projectLocator = new TestProjectLocator 813var projectLocator = new TestProjectLocator
Commands\ConfigSourceCommandTests.cs (3)
793options.ProjectLocatorFactory = _ => new TestProjectLocator 874options.ProjectLocatorFactory = _ => new TestProjectLocator 953options.ProjectLocatorFactory = _ => new TestProjectLocator
Commands\DeployCommandTests.cs (10)
45options.ProjectLocatorFactory = _ => new TestProjectLocator(); 97var projectLocator = new TestProjectLocator 193options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 227options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 261options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 330options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 409options.ProjectLocatorFactory = _ => new TestProjectLocator(); 462options.ProjectLocatorFactory = _ => new TestProjectLocator(); 510options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 578options.ProjectLocatorFactory = (sp) => new TestProjectLocator();
Commands\DestroyCommandTests.cs (6)
52options.ProjectLocatorFactory = _ => new TestProjectLocator(); 129options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 191options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 230options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 288options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 345options.ProjectLocatorFactory = (sp) => new TestProjectLocator();
Commands\DoCommandTests.cs (19)
43options.ProjectLocatorFactory = _ => new TestProjectLocator(); 71options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 129options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 182options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 235options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 342options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 439options.ProjectLocatorFactory = _ => new TestProjectLocator(); 476options.ProjectLocatorFactory = _ => new TestProjectLocator(); 530options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 580options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 632options.ProjectLocatorFactory = _ => new TestProjectLocator(); 658options.ProjectLocatorFactory = _ => new TestProjectLocator(); 688options.ProjectLocatorFactory = _ => new TestProjectLocator(); 721options.ProjectLocatorFactory = _ => new TestProjectLocator(); 751options.ProjectLocatorFactory = _ => new TestProjectLocator(); 788options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 859options.ProjectLocatorFactory = _ => new TestProjectLocator(); 921options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 976options.ProjectLocatorFactory = (sp) => new TestProjectLocator();
Commands\DoctorCommandTests.cs (1)
462options.ProjectLocatorFactory = _ => new TestProjectLocator
Commands\DotNetSdkCheckTests.cs (1)
154var projectLocator = new TestProjectLocator
Commands\GoAppHostToolingCheckTests.cs (1)
578var projectLocator = new TestProjectLocator
Commands\LsCommandTests.cs (13)
95var projectLocator = new TestProjectLocator 216var projectLocator = new TestProjectLocator 293var projectLocator = new TestProjectLocator 380var projectLocator = new TestProjectLocator 421var projectLocator = new TestProjectLocator 465var projectLocator = new TestProjectLocator 522var projectLocator = new TestProjectLocator 560var projectLocator = new TestProjectLocator 611var projectLocator = new TestProjectLocator 672var projectLocator = new TestProjectLocator 703var projectLocator = new TestProjectLocator 732var projectLocator = new TestProjectLocator 764var projectLocator = new TestProjectLocator
Commands\PublishCommandPromptingIntegrationTests.cs (20)
37options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 83options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 135options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 182options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 228options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 278options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 313options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 360options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 439options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 507options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 559options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 614options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 685options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 729options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 772options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 822options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 868options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 908options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 954options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 988options.ProjectLocatorFactory = (sp) => new TestProjectLocator();
Commands\PublishCommandTests.cs (4)
66options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 97options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 128options.ProjectLocatorFactory = (sp) => new TestProjectLocator(); 171options.ProjectLocatorFactory = (sp) => new TestProjectLocator();
Commands\ResourceCommandTests.cs (1)
166var projectLocator = new TestProjectLocator
Commands\RunCommandTests.cs (55)
82options.ProjectLocatorFactory = _ => new TestProjectLocator 127var projectLocator = new TestProjectLocator 162var projectLocator = new TestProjectLocator 225var projectLocator = new TestProjectLocator 271var projectLocator = new TestProjectLocator 297var projectLocator = new TestProjectLocator 364var projectLocator = new TestProjectLocator 405var projectLocator = new TestProjectLocator 452var projectLocator = new TestProjectLocator 497var projectLocator = new TestProjectLocator 581var projectLocator = new TestProjectLocator 677var projectLocator = new TestProjectLocator 745options.ProjectLocatorFactory = _ => new TestProjectLocator(); 782var projectLocator = new TestProjectLocator 884var projectLocator = new TestProjectLocator 980var projectLocator = new TestProjectLocator 1085var projectLocator = new TestProjectLocator 1204options.ProjectLocatorFactory = _ => new TestProjectLocator(); 1563var projectLocator = new TestProjectLocator 1645var projectLocator = new TestProjectLocator 1757var projectLocator = new TestProjectLocator 1833var projectLocator = new TestProjectLocator 1897var projectLocator = new TestProjectLocator 1959var projectLocator = new TestProjectLocator 2019var projectLocator = new TestProjectLocator 2087var projectLocator = new TestProjectLocator 2169var projectLocator = new TestProjectLocator 2276var projectLocator = new TestProjectLocator 2348var projectLocator = new TestProjectLocator 2400var projectLocator = new TestProjectLocator 2462var projectLocator = new TestProjectLocator 2648var projectLocatorFactory = (IServiceProvider sp) => new TestProjectLocator(); 2716options.ProjectLocatorFactory = _ => new TestProjectLocator(); 2837options.ProjectLocatorFactory = _ => new TestProjectLocator(); 2903options.ProjectLocatorFactory = _ => new TestProjectLocator(); 2949options.ProjectLocatorFactory = _ => new TestProjectLocator(); 2997options.ProjectLocatorFactory = _ => new TestProjectLocator(); 3041options.ProjectLocatorFactory = _ => new TestProjectLocator(); 3098var projectLocatorFactory = (IServiceProvider sp) => new TestProjectLocator(); 3207var projectLocatorFactory = (IServiceProvider sp) => new TestProjectLocator(); 3308var projectLocatorFactory = (IServiceProvider sp) => new TestProjectLocator(); 3378var projectLocatorFactory = (IServiceProvider sp) => new TestProjectLocator(); 3447var projectLocatorFactory = (IServiceProvider sp) => new TestProjectLocator(); 3509var projectLocatorFactory = (IServiceProvider sp) => new TestProjectLocator(); 3567options.ProjectLocatorFactory = _ => new TestProjectLocator(); 3703var projectLocatorFactory = (IServiceProvider sp) => new TestProjectLocator(); 3758var projectLocatorFactory = (IServiceProvider sp) => new TestProjectLocator(); 3815var projectLocatorFactory = (IServiceProvider sp) => new TestProjectLocator(); 3874var projectLocatorFactory = (IServiceProvider sp) => new TestProjectLocator(); 4282var projectLocatorFactory = (IServiceProvider sp) => new TestProjectLocator(); 4363var projectLocatorFactory = (IServiceProvider sp) => new TestProjectLocator(); 4421var projectLocatorFactory = (IServiceProvider sp) => new TestProjectLocator(); 5285var projectLocatorFactory = (IServiceProvider sp) => new TestProjectLocator(); 5360var projectLocatorFactory = (IServiceProvider sp) => new TestProjectLocator(); 5399var projectLocator = new TestProjectLocator
Commands\SdkInstallerTests.cs (1)
66options.ProjectLocatorFactory = _ => new TestProjectLocator();
Commands\StartCommandTests.cs (6)
33var projectLocator = new TestProjectLocator 161var projectLocator = new TestProjectLocator 261var projectLocator = new TestProjectLocator 368var projectLocator = new TestProjectLocator 580var projectLocator = new TestProjectLocator 620var projectLocator = new TestProjectLocator
Commands\StopCommandTests.cs (22)
329options.ProjectLocatorFactory = _ => new TestProjectLocator 357options.ProjectLocatorFactory = _ => new TestProjectLocator 548var projectLocator = new TestProjectLocator 746var projectLocator = new TestProjectLocator 781var projectLocator = new TestProjectLocator 822var projectLocator = new TestProjectLocator 865var projectLocator = new TestProjectLocator 897var projectLocator = new TestProjectLocator 936var projectLocator = new TestProjectLocator 975var projectLocator = new TestProjectLocator 1012var projectLocator = new TestProjectLocator 1053var projectLocator = new TestProjectLocator 1093var projectLocator = new TestProjectLocator 1133var projectLocator = new TestProjectLocator 1178var projectLocator = new TestProjectLocator 1225var projectLocator = new TestProjectLocator 1259var projectLocator = new TestProjectLocator 1297var projectLocator = new TestProjectLocator 1335var projectLocator = new TestProjectLocator 1369var projectLocator = new TestProjectLocator 1409var projectLocator = new TestProjectLocator 1598options.ProjectLocatorFactory = _ => new TestProjectLocator
Commands\TypeScriptAppHostToolingCheckTests.cs (1)
271var projectLocator = new TestProjectLocator
Commands\UpdateCommandRepositoryToolsTests.cs (8)
37options.ProjectLocatorFactory = _ => new TestProjectLocator 86options.ProjectLocatorFactory = _ => new TestProjectLocator 175options.ProjectLocatorFactory = _ => new TestProjectLocator 246options.ProjectLocatorFactory = _ => new TestProjectLocator 289options.ProjectLocatorFactory = _ => new TestProjectLocator 344options.ProjectLocatorFactory = _ => new TestProjectLocator 411options.ProjectLocatorFactory = _ => new TestProjectLocator 532options.ProjectLocatorFactory = _ => new TestProjectLocator
Commands\UpdateCommandTests.cs (33)
145options.ProjectLocatorFactory = _ => new TestProjectLocator() 261options.ProjectLocatorFactory = _ => new TestProjectLocator() 307options.ProjectLocatorFactory = _ => new TestProjectLocator() 390options.ProjectLocatorFactory = _ => new TestProjectLocator 450options.ProjectLocatorFactory = _ => new TestProjectLocator() 502options.ProjectLocatorFactory = _ => new TestProjectLocator() 557options.ProjectLocatorFactory = _ => new TestProjectLocator() 616options.ProjectLocatorFactory = _ => new TestProjectLocator() 695options.ProjectLocatorFactory = _ => new TestProjectLocator() 772options.ProjectLocatorFactory = _ => new TestProjectLocator() 845options.ProjectLocatorFactory = _ => new TestProjectLocator() 888options.ProjectLocatorFactory = _ => new TestProjectLocator() 929options.ProjectLocatorFactory = _ => new TestProjectLocator() 1013options.ProjectLocatorFactory = _ => new TestProjectLocator() 1171options.ProjectLocatorFactory = _ => new TestProjectLocator() 1356options.ProjectLocatorFactory = _ => new TestProjectLocator() 1380options.ProjectLocatorFactory = _ => new TestProjectLocator() 1391options.ProjectLocatorFactory = _ => new TestProjectLocator() 1470options.ProjectLocatorFactory = _ => new TestProjectLocator() 1719options.ProjectLocatorFactory = _ => new TestProjectLocator() 1784options.ProjectLocatorFactory = _ => new TestProjectLocator() 1848options.ProjectLocatorFactory = _ => new TestProjectLocator() 1906options.ProjectLocatorFactory = _ => new TestProjectLocator() 1983options.ProjectLocatorFactory = _ => new TestProjectLocator() 2032options.ProjectLocatorFactory = _ => new TestProjectLocator() 2199options.ProjectLocatorFactory = _ => new TestProjectLocator() 2264options.ProjectLocatorFactory = _ => new TestProjectLocator 2485options.ProjectLocatorFactory = _ => new TestProjectLocator() 2584options.ProjectLocatorFactory = _ => new TestProjectLocator() 2661options.ProjectLocatorFactory = _ => new TestProjectLocator() 2724options.ProjectLocatorFactory = _ => new TestProjectLocator() 3164options.ProjectLocatorFactory = _ => new TestProjectLocator() 3456options.ProjectLocatorFactory = _ => new TestProjectLocator()
90 references to TestProjectLocator
Aspire.Cli.Tests (90)
Backchannel\AppHostConnectionResolverTests.cs (4)
72var projectLocator = new TestProjectLocator 193var projectLocator = new TestProjectLocator 231var projectLocator = new TestProjectLocator 266var projectLocator = new TestProjectLocator
Commands\AgentInitCommandTests.cs (1)
84var locator = new TestProjectLocator
Commands\AgentMcpCommandTests.cs (1)
1652var projectLocator = new TestProjectLocator
Commands\AppHostLauncherTests.cs (1)
1355var projectLocator = new TestProjectLocator
Commands\BaseCommandTests.cs (11)
233var projectLocator = new TestProjectLocator 264var projectLocator = new TestProjectLocator 385var projectLocator = new TestProjectLocator 416var projectLocator = new TestProjectLocator 462var projectLocator = new TestProjectLocator 594var projectLocator = new TestProjectLocator 645var projectLocator = new TestProjectLocator 713var projectLocator = new TestProjectLocator 742var projectLocator = new TestProjectLocator 787var projectLocator = new TestProjectLocator 813var projectLocator = new TestProjectLocator
Commands\DeployCommandTests.cs (1)
97var projectLocator = new TestProjectLocator
Commands\DotNetSdkCheckTests.cs (1)
154var projectLocator = new TestProjectLocator
Commands\GoAppHostToolingCheckTests.cs (1)
578var projectLocator = new TestProjectLocator
Commands\LsCommandTests.cs (13)
95var projectLocator = new TestProjectLocator 216var projectLocator = new TestProjectLocator 293var projectLocator = new TestProjectLocator 380var projectLocator = new TestProjectLocator 421var projectLocator = new TestProjectLocator 465var projectLocator = new TestProjectLocator 522var projectLocator = new TestProjectLocator 560var projectLocator = new TestProjectLocator 611var projectLocator = new TestProjectLocator 672var projectLocator = new TestProjectLocator 703var projectLocator = new TestProjectLocator 732var projectLocator = new TestProjectLocator 764var projectLocator = new TestProjectLocator
Commands\ResourceCommandTests.cs (1)
166var projectLocator = new TestProjectLocator
Commands\RunCommandTests.cs (29)
127var projectLocator = new TestProjectLocator 162var projectLocator = new TestProjectLocator 225var projectLocator = new TestProjectLocator 271var projectLocator = new TestProjectLocator 297var projectLocator = new TestProjectLocator 364var projectLocator = new TestProjectLocator 405var projectLocator = new TestProjectLocator 452var projectLocator = new TestProjectLocator 497var projectLocator = new TestProjectLocator 581var projectLocator = new TestProjectLocator 677var projectLocator = new TestProjectLocator 782var projectLocator = new TestProjectLocator 884var projectLocator = new TestProjectLocator 980var projectLocator = new TestProjectLocator 1085var projectLocator = new TestProjectLocator 1563var projectLocator = new TestProjectLocator 1645var projectLocator = new TestProjectLocator 1757var projectLocator = new TestProjectLocator 1833var projectLocator = new TestProjectLocator 1897var projectLocator = new TestProjectLocator 1959var projectLocator = new TestProjectLocator 2019var projectLocator = new TestProjectLocator 2087var projectLocator = new TestProjectLocator 2169var projectLocator = new TestProjectLocator 2276var projectLocator = new TestProjectLocator 2348var projectLocator = new TestProjectLocator 2400var projectLocator = new TestProjectLocator 2462var projectLocator = new TestProjectLocator 5399var projectLocator = new TestProjectLocator
Commands\StartCommandTests.cs (6)
33var projectLocator = new TestProjectLocator 161var projectLocator = new TestProjectLocator 261var projectLocator = new TestProjectLocator 368var projectLocator = new TestProjectLocator 580var projectLocator = new TestProjectLocator 620var projectLocator = new TestProjectLocator
Commands\StopCommandTests.cs (19)
548var projectLocator = new TestProjectLocator 746var projectLocator = new TestProjectLocator 781var projectLocator = new TestProjectLocator 822var projectLocator = new TestProjectLocator 865var projectLocator = new TestProjectLocator 897var projectLocator = new TestProjectLocator 936var projectLocator = new TestProjectLocator 975var projectLocator = new TestProjectLocator 1012var projectLocator = new TestProjectLocator 1053var projectLocator = new TestProjectLocator 1093var projectLocator = new TestProjectLocator 1133var projectLocator = new TestProjectLocator 1178var projectLocator = new TestProjectLocator 1225var projectLocator = new TestProjectLocator 1259var projectLocator = new TestProjectLocator 1297var projectLocator = new TestProjectLocator 1335var projectLocator = new TestProjectLocator 1369var projectLocator = new TestProjectLocator 1409var projectLocator = new TestProjectLocator
Commands\TypeScriptAppHostToolingCheckTests.cs (1)
271var projectLocator = new TestProjectLocator