38 references to CreateChannel
Aspire.Cli.Tests (38)
DotNet\DotNetAppHostNuGetConfigMergerTests.cs (38)
323var channel = CreateChannel([new("Aspire*", source)]); 378target, CreateChannel([new("Aspire*", source)]), createIfMissing: true, 407workspace.WorkspaceRoot, CreateChannel([new("Aspire*", source)]), createIfMissing: true, 517var channel = CreateChannel([new("Aspire*", source)]); 620var channel = CreateChannel(mappings); 659var channel = CreateChannel(mappings); 738var channel = CreateChannel(mappings); 776directory, CreateChannel([new("Aspire*", channelSource)])).DefaultTimeout(); 799var channel = CreateChannel(mappings); 830var channel = CreateChannel(mappings); 865var channel = CreateChannel(mappings); 933var channel = CreateChannel([new("Aspire*", channelSource), new("*", PackageSources.NuGetOrg)]); 975var channel = CreateChannel(mappings); 1010var channel = CreateChannel(mappings); 1051var channel = CreateChannel(mappings); 1103var channel = CreateChannel(mappings); 1226var channel = CreateChannel(mappings); 1309var channel = CreateChannel(mappings); 1359var channel = CreateChannel(mappings); 1380var channel = CreateChannel(mappings); 1419var channel = CreateChannel(mappings); 1460var channel = CreateChannel(mappings); 1512var channel = CreateChannel(mappings); 1542var channel = CreateChannel(mappings); 1570var channel = CreateChannel([new PackageMapping("Aspire*", "https://feed.example/v3/index.json")]); 1587var channel = CreateChannel([new PackageMapping("Aspire*", "https://feed.example/v3/index.json")]); 1604var channel = CreateChannel([new PackageMapping("*", "https://feed.example/v3/index.json")]); 1636workspace.WorkspaceRoot, CreateChannel([new("Aspire*", "https://feed.example/v3/index.json")]), 1664appHostDirectory, CreateChannel([new("Aspire*", "https://feed.example/v3/index.json")]), 1715var channel = CreateChannel([new("Aspire*", newSource)]); 1828directory, CreateChannel([new("Aspire*", "https://selected.example/v3/index.json")]), 1857directory, CreateChannel([new("Aspire*", source)]), createIfMissing: true, 1944appHostDirectory, CreateChannel([new("Aspire*", "https://feed.example/v3/index.json")]), 2000directory, CreateChannel([new("Aspire*", source), new("*", PackageSources.NuGetOrg)]), 2056appHostDirectory, CreateChannel([new("Aspire*", "https://new.example/v3/index.json")]), 2130appHostDirectory, CreateChannel([new("Aspire*", "https://selected.example/v3/index.json")]), 2187var channel = CreateChannel([new PackageMapping("Aspire*", "https://feed.example/v3/index.json")]); 2205var channel = CreateChannel([new PackageMapping("Aspire*", "https://feed.example/v3/index.json")]);