use of com.microsoft.identity.common.internal.authorities.AllAccounts in project microsoft-authentication-library-common-for-android by AzureAD.
the class AudienceDefaultCloudUrlTest method test_AccountsInOneOrganizationDefaultCloudUrl.
@Test
public void test_AccountsInOneOrganizationDefaultCloudUrl() {
AzureActiveDirectoryAudience audience = new AccountsInOneOrganization();
Assert.assertEquals(AzureActiveDirectoryEnvironment.PRODUCTION_CLOUD_URL, audience.getCloudUrl());
audience = new AllAccounts();
Assert.assertEquals(AzureActiveDirectoryEnvironment.PRODUCTION_CLOUD_URL, audience.getCloudUrl());
}
use of com.microsoft.identity.common.internal.authorities.AllAccounts in project microsoft-authentication-library-common-for-android by AzureAD.
the class AudienceDefaultCloudUrlTest method test_AnyPerosnalAccountDefaultCloudUrl.
@Test
public void test_AnyPerosnalAccountDefaultCloudUrl() {
AzureActiveDirectoryAudience audience = new AllAccounts();
Assert.assertEquals(AzureActiveDirectoryEnvironment.PRODUCTION_CLOUD_URL, audience.getCloudUrl());
}
use of com.microsoft.identity.common.internal.authorities.AllAccounts in project microsoft-authentication-library-common-for-android by AzureAD.
the class AudienceDefaultCloudUrlTest method test_AnyOrganizationAccountDefaultCloudUrl.
@Test
public void test_AnyOrganizationAccountDefaultCloudUrl() {
AzureActiveDirectoryAudience audience = new AllAccounts();
Assert.assertEquals(AzureActiveDirectoryEnvironment.PRODUCTION_CLOUD_URL, audience.getCloudUrl());
}
use of com.microsoft.identity.common.internal.authorities.AllAccounts in project microsoft-authentication-library-common-for-android by AzureAD.
the class AudienceDefaultPreProductionCloudUrlTest method test_AnyPerosnalAccountDefaultCloudUrl.
@Test
public void test_AnyPerosnalAccountDefaultCloudUrl() {
AzureActiveDirectoryAudience audience = new AllAccounts();
Assert.assertEquals(AzureActiveDirectoryEnvironment.PREPRODUCTION_CLOUD_URL, audience.getCloudUrl());
}
use of com.microsoft.identity.common.internal.authorities.AllAccounts in project microsoft-authentication-library-common-for-android by AzureAD.
the class AudienceDefaultPreProductionCloudUrlTest method test_AnyOrganizationAccountDefaultCloudUrl.
@Test
public void test_AnyOrganizationAccountDefaultCloudUrl() {
AzureActiveDirectoryAudience audience = new AllAccounts();
Assert.assertEquals(AzureActiveDirectoryEnvironment.PREPRODUCTION_CLOUD_URL, audience.getCloudUrl());
}
Aggregations