17 instantiations of VisualStudioAccountRecord
Aspire.Cli.Tests (17)
Telemetry\InternalMicrosoftDetectorTests.cs (17)
1382
new
VisualStudioAccountRecord
("fallback.alias@microsoft.com"),
1383
new
VisualStudioAccountRecord
("Current.Alias@microsoft.com", IsPersonalizationAccount: true));
1397
CreateVisualStudioAccountStore(new
VisualStudioAccountRecord
("Fallback.Alias@microsoft.com")),
1410
new
VisualStudioAccountRecord
("first.alias@microsoft.com", IsPersonalizationAccount: personalizationAccounts),
1411
new
VisualStudioAccountRecord
("second.alias@microsoft.com", IsPersonalizationAccount: personalizationAccounts));
1426
new
VisualStudioAccountRecord
("same.alias@microsoft.com"),
1427
new
VisualStudioAccountRecord
("same.alias@microsoft.com"));
1443
new
VisualStudioAccountRecord
("valid.alias@microsoft.com", IsPersonalizationAccount: personalizationAccounts),
1459
new
VisualStudioAccountRecord
("valid.alias@microsoft.com", IsPersonalizationAccount: true),
1484
"stale" => new
VisualStudioAccountRecord
("user@microsoft.com", Stale: true),
1485
"identity-provider" => new
VisualStudioAccountRecord
("user@microsoft.com", IdentityProvider: OtherTenantId),
1486
"home-tenant" => new
VisualStudioAccountRecord
("user@microsoft.com", HomeTenant: OtherTenantId),
1487
"token-tenant" => new
VisualStudioAccountRecord
("user@microsoft.com", TokenTenant: OtherTenantId),
1488
"token-issuer" => new
VisualStudioAccountRecord
("user@microsoft.com", TokenIssuer: $"https://login.microsoftonline.com/{OtherTenantId}/v2.0"),
1489
"preferred-username" => new
VisualStudioAccountRecord
("user@example.com"),
1490
"preferred-username-substring" => new
VisualStudioAccountRecord
("display user@microsoft.com text"),
1491
"token-payload" => new
VisualStudioAccountRecord
(
3 references to VisualStudioAccountRecord
Aspire.Cli.Tests (3)
Telemetry\InternalMicrosoftDetectorTests.cs (3)
1482
var
account = mismatch switch
1769
private static string CreateVisualStudioAccountStore(params
VisualStudioAccountRecord
[] accounts)
1791
VisualStudioAccountRecord
validAccount,