org.dasein.cloud.test.compute
Class StatelessVMTests

java.lang.Object
  extended by org.dasein.cloud.test.compute.StatelessVMTests

public class StatelessVMTests
extends Object

Tests on VirtualMachineSupport that do not involve making any changes to the system.

Created by George Reese: 2/17/13 3:22 PM

Since:
2013.04
Version:
2013.04 initial version
Author:
George Reese

Field Summary
 org.junit.rules.TestName name
           
 
Constructor Summary
StatelessVMTests()
           
 
Method Summary
 void after()
           
 void before()
           
 void checkMetaData()
           
static void cleanUp()
           
 void compareVMListAndStatus()
           
static void configure()
           
 void getBogusVM()
           
 void getBogusVMProduct()
           
 void getVirtualMachine()
           
 void getVMPassword()
          This test is likely to fail most of the times, as password is not always available (e.g.
 void getVMProduct()
           
 void listSpotPriceHistories()
           
 void listVMProducts()
           
 void listVMs()
           
 void listVMStatus()
           
 void productContent()
           
 void requestSpotVm()
           
 void virtualMachineContent()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public final org.junit.rules.TestName name
Constructor Detail

StatelessVMTests

public StatelessVMTests()
Method Detail

configure

public static void configure()

cleanUp

public static void cleanUp()

before

public void before()

after

public void after()

checkMetaData

public void checkMetaData()
                   throws org.dasein.cloud.CloudException,
                          org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

getBogusVMProduct

public void getBogusVMProduct()
                       throws org.dasein.cloud.CloudException,
                              org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

getVMProduct

public void getVMProduct()
                  throws org.dasein.cloud.CloudException,
                         org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

productContent

public void productContent()
                    throws org.dasein.cloud.CloudException,
                           org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

listVMProducts

public void listVMProducts()
                    throws org.dasein.cloud.CloudException,
                           org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

getBogusVM

public void getBogusVM()
                throws org.dasein.cloud.CloudException,
                       org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

getVMPassword

public void getVMPassword()
                   throws org.dasein.cloud.CloudException,
                          org.dasein.cloud.InternalException
This test is likely to fail most of the times, as password is not always available (e.g. in AWS it's only available on clean Amazon images), and requires for instance to be up for some time for password to be ready.

TODO: This test needs more attention.

Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

getVirtualMachine

public void getVirtualMachine()
                       throws org.dasein.cloud.CloudException,
                              org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

virtualMachineContent

public void virtualMachineContent()
                           throws org.dasein.cloud.CloudException,
                                  org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

listVMs

public void listVMs()
             throws org.dasein.cloud.CloudException,
                    org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

listSpotPriceHistories

public void listSpotPriceHistories()
                            throws org.dasein.cloud.CloudException,
                                   org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

listVMStatus

public void listVMStatus()
                  throws org.dasein.cloud.CloudException,
                         org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

compareVMListAndStatus

public void compareVMListAndStatus()
                            throws org.dasein.cloud.CloudException,
                                   org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException

requestSpotVm

public void requestSpotVm()
                   throws org.dasein.cloud.CloudException,
                          org.dasein.cloud.InternalException
Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException


Copyright © 2009-2014 Dell, Inc.. All Rights Reserved.