public void testTagsStatic() { CreateServiceOfferingOptions options = tags(ImmutableSet.<String>of("tag1", "tag2")); assertEquals(ImmutableSet.of("tag1", "tag2"), options.buildQueryParameters().get("tags")); } }
public void testHighlyAvailableStatic() { CreateServiceOfferingOptions options = highlyAvailable(true); assertEquals(ImmutableSet.of("true"), options.buildQueryParameters().get("offerha")); }
public void testSystemVmTypeStatic() { CreateServiceOfferingOptions options = systemVmType(SystemVmType.DOMAIN_ROUTER); assertEquals(ImmutableSet.of("domainrouter"), options.buildQueryParameters().get("systemvmtype")); }
public void testHostTagsStatic() { CreateServiceOfferingOptions options = hostTags(ImmutableSet.of("tag1", "tag2")); assertEquals(ImmutableSet.of("tag1", "tag2"), options.buildQueryParameters().get("hosttags")); }
public void testNetworkRateStatic() { CreateServiceOfferingOptions options = networkRateInMb(200); assertEquals(ImmutableSet.of("200"), options.buildQueryParameters().get("networkrate")); }
public void testStorageTypeStatic() { CreateServiceOfferingOptions options = storageType(StorageType.LOCAL); assertEquals(ImmutableSet.of("local"), options.buildQueryParameters().get("storagetype")); }
public void testTagsStatic() { CreateServiceOfferingOptions options = tags(ImmutableSet.<String>of("tag1", "tag2")); assertEquals(ImmutableSet.of("tag1", "tag2"), options.buildQueryParameters().get("tags")); } }
public void testLimitCpuUseStatic() { CreateServiceOfferingOptions options = limitCpuUse(true); assertEquals(ImmutableSet.of("true"), options.buildQueryParameters().get("limitcpuuse")); }
public void testStorageTypeStatic() { CreateServiceOfferingOptions options = storageType(StorageType.LOCAL); assertEquals(ImmutableSet.of("local"), options.buildQueryParameters().get("storagetype")); }
public void testNetworkRateStatic() { CreateServiceOfferingOptions options = networkRateInMb(200); assertEquals(ImmutableSet.of("200"), options.buildQueryParameters().get("networkrate")); }
public void testTags() { CreateServiceOfferingOptions options = new CreateServiceOfferingOptions().tags(ImmutableSet.<String>of("tag1", "tag2")); assertEquals(ImmutableSet.of("tag1", "tag2"), options.buildQueryParameters().get("tags")); }
public void testHostTags() { CreateServiceOfferingOptions options = new CreateServiceOfferingOptions().hostTags(ImmutableSet.of("tag1", "tag2")); assertEquals(ImmutableSet.of("tag1", "tag2"), options.buildQueryParameters().get("hosttags")); }
public void testSystemVmType() { CreateServiceOfferingOptions options = new CreateServiceOfferingOptions().systemVmType(SystemVmType.DOMAIN_ROUTER); assertEquals(ImmutableSet.of("domainrouter"), options.buildQueryParameters().get("systemvmtype")); }
public void testHostTags() { CreateServiceOfferingOptions options = new CreateServiceOfferingOptions().hostTags(ImmutableSet.of("tag1", "tag2")); assertEquals(ImmutableSet.of("tag1", "tag2"), options.buildQueryParameters().get("hosttags")); }
public void testIsSystem() { CreateServiceOfferingOptions options = new CreateServiceOfferingOptions().isSystem(true); assertEquals(ImmutableSet.of("true"), options.buildQueryParameters().get("issystem")); }
public void testStorageType() { CreateServiceOfferingOptions options = new CreateServiceOfferingOptions().storageType(StorageType.LOCAL); assertEquals(ImmutableSet.of("local"), options.buildQueryParameters().get("storagetype")); }
public void testNetworkRate() { CreateServiceOfferingOptions options = new CreateServiceOfferingOptions().networkRateInMb(200); assertEquals(ImmutableSet.of("200"), options.buildQueryParameters().get("networkrate")); }
public void testHighlyAvailable() { CreateServiceOfferingOptions options = new CreateServiceOfferingOptions().highlyAvailable(true); assertEquals(ImmutableSet.of("true"), options.buildQueryParameters().get("offerha")); }
public void testStorageType() { CreateServiceOfferingOptions options = new CreateServiceOfferingOptions().storageType(StorageType.LOCAL); assertEquals(ImmutableSet.of("local"), options.buildQueryParameters().get("storagetype")); }
public void testIsSystem() { CreateServiceOfferingOptions options = new CreateServiceOfferingOptions().isSystem(true); assertEquals(ImmutableSet.of("true"), options.buildQueryParameters().get("issystem")); }