17 instantiations of VisualStudioAccountRecord
Aspire.Cli.Tests (17)
Telemetry\InternalMicrosoftDetectorTests.cs (17)
1436
new
VisualStudioAccountRecord
("fallback.alias@microsoft.com"),
1437
new
VisualStudioAccountRecord
("Current.Alias@microsoft.com", IsPersonalizationAccount: true));
1451
CreateVisualStudioAccountStore(new
VisualStudioAccountRecord
("Fallback.Alias@microsoft.com")),
1464
new
VisualStudioAccountRecord
("first.alias@microsoft.com", IsPersonalizationAccount: personalizationAccounts),
1465
new
VisualStudioAccountRecord
("second.alias@microsoft.com", IsPersonalizationAccount: personalizationAccounts));
1480
new
VisualStudioAccountRecord
("same.alias@microsoft.com"),
1481
new
VisualStudioAccountRecord
("same.alias@microsoft.com"));
1497
new
VisualStudioAccountRecord
("valid.alias@microsoft.com", IsPersonalizationAccount: personalizationAccounts),
1513
new
VisualStudioAccountRecord
("valid.alias@microsoft.com", IsPersonalizationAccount: true),
1538
"stale" => new
VisualStudioAccountRecord
("user@microsoft.com", Stale: true),
1539
"identity-provider" => new
VisualStudioAccountRecord
("user@microsoft.com", IdentityProvider: OtherTenantId),
1540
"home-tenant" => new
VisualStudioAccountRecord
("user@microsoft.com", HomeTenant: OtherTenantId),
1541
"token-tenant" => new
VisualStudioAccountRecord
("user@microsoft.com", TokenTenant: OtherTenantId),
1542
"token-issuer" => new
VisualStudioAccountRecord
("user@microsoft.com", TokenIssuer: $"https://login.microsoftonline.com/{OtherTenantId}/v2.0"),
1543
"preferred-username" => new
VisualStudioAccountRecord
("user@example.com"),
1544
"preferred-username-substring" => new
VisualStudioAccountRecord
("display user@microsoft.com text"),
1545
"token-payload" => new
VisualStudioAccountRecord
(
3 references to VisualStudioAccountRecord
Aspire.Cli.Tests (3)
Telemetry\InternalMicrosoftDetectorTests.cs (3)
1536
var
account = mismatch switch
1823
private static string CreateVisualStudioAccountStore(params
VisualStudioAccountRecord
[] accounts)
1845
VisualStudioAccountRecord
validAccount,