org.dasein.cloud.tests
Class Test

java.lang.Object
  extended by org.dasein.cloud.tests.Test
Direct Known Subclasses:
DcTestSuite, KeyValueDatabaseTestSuite, RelationalDatabaseTestSuite, ServerTestSuite

public abstract class Test
extends Object


Field Summary
static String ERROR
           
static String FAIL
           
static String OK
           
static String WARNING
           
 
Constructor Summary
Test()
           
Test(boolean verbose)
           
 
Method Summary
protected  void error(String suite, Throwable error)
           
protected  void fail(String suite, int number, TestFailureException error)
           
abstract  String getName()
           
protected  void log(String suite, int number, String message)
           
protected  void log(String suite, String message)
           
 void setVerbose(boolean verbose)
           
abstract  void test(CloudProvider provider, String endpoint, String accountNumber, String accessKey, String secretKey, String certFile, String pkFile)
           
protected  void verbose(String suite, int number, String message)
           
protected  void verbose(String suite, String message)
           
protected  void warn(String suite, int number, String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ERROR

public static final String ERROR
See Also:
Constant Field Values

FAIL

public static final String FAIL
See Also:
Constant Field Values

OK

public static final String OK
See Also:
Constant Field Values

WARNING

public static final String WARNING
See Also:
Constant Field Values
Constructor Detail

Test

public Test()

Test

public Test(boolean verbose)
Method Detail

error

protected void error(String suite,
                     Throwable error)

fail

protected void fail(String suite,
                    int number,
                    TestFailureException error)

getName

public abstract String getName()

log

protected void log(String suite,
                   int number,
                   String message)

log

protected void log(String suite,
                   String message)

verbose

protected void verbose(String suite,
                       int number,
                       String message)

verbose

protected void verbose(String suite,
                       String message)

warn

protected void warn(String suite,
                    int number,
                    String message)

setVerbose

public void setVerbose(boolean verbose)

test

public abstract void test(CloudProvider provider,
                          String endpoint,
                          String accountNumber,
                          String accessKey,
                          String secretKey,
                          String certFile,
                          String pkFile)
                   throws Exception
Throws:
Exception