Package org.jclouds.googlecomputeengine.parse

Examples of org.jclouds.googlecomputeengine.parse.ParseOperationTest


      AddressApi api = requestsSendResponses(requestForScopes(COMPUTE_SCOPE),
              TOKEN_RESPONSE, insert,
              insertAddressResponse).getAddressApiForProject("myproject");

      assertEquals(api.createInRegion("us-central1", "test-ip1"), new ParseOperationTest().expected());
   }
View Full Code Here


      AddressApi api = requestsSendResponses(requestForScopes(COMPUTE_SCOPE),
              TOKEN_RESPONSE, delete, deleteResponse).getAddressApiForProject("myproject");

      assertEquals(api.deleteInRegion("us-central1", "test-ip1"),
              new ParseOperationTest().expected());
   }
View Full Code Here

      DiskApi api = requestsSendResponses(requestForScopes(COMPUTE_SCOPE),
              TOKEN_RESPONSE, insert,
              insertDiskResponse).getDiskApiForProject("myproject");

      assertEquals(api.createInZone("testimage1", 1, "us-central1-a"), new ParseOperationTest().expected());
   }
View Full Code Here

      DiskApi api = requestsSendResponses(requestForScopes(COMPUTE_SCOPE),
                                          TOKEN_RESPONSE, insert,
                                          insertDiskResponse).getDiskApiForProject("myproject");

      assertEquals(api.createFromImageWithSizeInZone(IMAGE_URL, "testimage1", 1, "us-central1-a"), new ParseOperationTest().expected());
   }
View Full Code Here

      DiskApi api = requestsSendResponses(requestForScopes(COMPUTE_SCOPE),
              TOKEN_RESPONSE, createSnapshotRequest,
              createSnapshotResponse).getDiskApiForProject("myproject");

      assertEquals(api.createSnapshotInZone("us-central1-a", "testimage1", "test-snap"), new ParseOperationTest().expected());
   }
View Full Code Here

      DiskApi api = requestsSendResponses(requestForScopes(COMPUTE_SCOPE),
              TOKEN_RESPONSE, delete, deleteResponse).getDiskApiForProject("myproject");

      assertEquals(api.deleteInZone("us-central1-a", "testimage1"),
              new ParseOperationTest().expected());
   }
View Full Code Here

TOP

Related Classes of org.jclouds.googlecomputeengine.parse.ParseOperationTest

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.