Package org.jclouds.simpledb.domain

Examples of org.jclouds.simpledb.domain.ListDomainsResponse


   }

   protected void assertDomainInList(final String region, final String domain) throws InterruptedException {
      assertEventually(new Runnable() {
         public void run() {
            ListDomainsResponse domains = client.listDomainsInRegion(region);
            assert domains.contains(domain) : domain + " not in " + domains;
         }
      });
   }
View Full Code Here


public class ListDomainsResponseHandlerTest extends BaseHandlerTest {

   public void test() {
      InputStream is = getClass().getResourceAsStream("/list_domains.xml");

      ListDomainsResponse result = factory.create(injector.getInstance(ListDomainsResponseHandler.class)).parse(is);

      assertEquals(
            result,
            new ListDomainsResponseHandler.ListDomainsResponseImpl(ImmutableSet.of("Domain1-200706011651",
                  "Domain2-200706011652"), "TWV0ZXJpbmdUZXN0RG9tYWluMS0yMDA3MDYwMTE2NTY"));
View Full Code Here

TOP

Related Classes of org.jclouds.simpledb.domain.ListDomainsResponse

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.