use of com.sequenceiq.it.cloudbreak.newway.cloud.AwsCloudProvider in project cloudbreak by hortonworks.
the class VmTypeTests method testCountAWSVMTypesForCredentialInDefaultAvailabilityZone.
@Test(priority = 2, groups = "vmtypes")
public void testCountAWSVMTypesForCredentialInDefaultAvailabilityZone() throws Exception {
AwsCloudProvider provider = new AwsCloudProvider(getTestParameter());
countVMTypesForCredentialInDefaultAvailabilityZone(provider, AWS_CRED_NAME);
}
use of com.sequenceiq.it.cloudbreak.newway.cloud.AwsCloudProvider in project cloudbreak by hortonworks.
the class DiskTypeTests method testListAWSDefaultDisks.
@Test(priority = 1, groups = "disktypes")
public void testListAWSDefaultDisks() throws Exception {
AwsCloudProvider provider = new AwsCloudProvider(getTestParameter());
listDefaultDisksForProvdier(provider);
}
use of com.sequenceiq.it.cloudbreak.newway.cloud.AwsCloudProvider in project cloudbreak by hortonworks.
the class DiskTypeTests method testListAWSDisplayNames.
@Test(priority = 6, groups = "disktypes")
public void testListAWSDisplayNames() throws Exception {
AwsCloudProvider provider = new AwsCloudProvider(getTestParameter());
listDisplayNamesForProvider(provider);
}
use of com.sequenceiq.it.cloudbreak.newway.cloud.AwsCloudProvider in project cloudbreak by hortonworks.
the class NetworksProviderSpecificTests method testGetNetworksInvalidAvZoneAWS.
@Test
public void testGetNetworksInvalidAvZoneAWS() throws Exception {
AwsCloudProvider awsCloudProvider = new AwsCloudProvider(getTestParameter());
given(Networks.request().withCredentialId(credentialIdMap.get("aws")).withRegion(awsCloudProvider.region()).withAvailabilityZone(null), "get networks with availability zone");
when(Networks.post(), "post the request");
then(Networks.assertNameNotEmpty());
}
Aggregations