use of com.sequenceiq.it.cloudbreak.newway.cloud.GcpCloudProvider in project cloudbreak by hortonworks.
the class NetworksProviderSpecificTests method testGetNetworksInvalidAvZoneGCP.
@Test
public void testGetNetworksInvalidAvZoneGCP() throws Exception {
GcpCloudProvider gcpCloudProvider = new GcpCloudProvider(getTestParameter());
given(Networks.request().withCredentialId(credentialIdMap.get("gcp")).withRegion(gcpCloudProvider.region()).withAvailabilityZone(null), "get networks with availability zone");
when(Networks.post(), "post the request");
then(Networks.assertNameNotEmpty());
}
use of com.sequenceiq.it.cloudbreak.newway.cloud.GcpCloudProvider in project cloudbreak by hortonworks.
the class DiskTypeTests method testListGCPDiskMappings.
@Test(priority = 12, groups = "disktypes")
public void testListGCPDiskMappings() throws Exception {
GcpCloudProvider provider = new GcpCloudProvider(getTestParameter());
listDiskMappingsForProvider(provider);
}
use of com.sequenceiq.it.cloudbreak.newway.cloud.GcpCloudProvider in project cloudbreak by hortonworks.
the class DiskTypeTests method testListGCPDefaultDisks.
@Test(priority = 4, groups = "disktypes")
public void testListGCPDefaultDisks() throws Exception {
GcpCloudProvider provider = new GcpCloudProvider(getTestParameter());
listDefaultDisksForProvdier(provider);
}
use of com.sequenceiq.it.cloudbreak.newway.cloud.GcpCloudProvider in project cloudbreak by hortonworks.
the class RegionProviderSpecTests method testGCPListAvailabilityZonesForDefaultRegion.
@Test(priority = 3, groups = "regions")
public void testGCPListAvailabilityZonesForDefaultRegion() throws Exception {
GcpCloudProvider provider = new GcpCloudProvider(getTestParameter());
getSupportedAvailabilityZones(provider, GCP_CRED_NAME);
}
Aggregations